Skip to content
  • Announcements regarding our smart home community

    8 Topics
    9 Posts
    A

    Mios dashboard isn't displaying anything. Anyone know what is going on?

  • A place to talk about whatever you want

    167 Topics
    2k Posts
    G

    @Adrian_B "a device" - so you're gonna leave us all hanging?

  • A place to put some How-To documentations

    22 Topics
    55 Posts
    therealdbT

    Build 24343 has fully HTTP actions, so cool things could be created (see docs). I've recently changed a couple of cams because better definition and I've found tha Reolink has a couple of cams that have spotlights. While the spotlights are driven by motion (so the cam could record in color), I wanted to drive them directly, so in case of any "security" event, like alarm on, door open, etc, I could use the lights to have a better video and make - you know - light.

    So, if you want to use HTTP actions in VirtualController, just go to config, entities under your VirtualEntityController section in reactor.yaml, and add this:

    - id: cams_retro_spotlights name: "Retro Cam - Spotlights" template: Binary Switch # update the status at interval http_request: interval: 900 # 15m url: "http://192.168.1.31/cgi-bin/api.cgi?user=foo&password=foo" method: "POST" force_json: true headers: "Content-Type": "application/json" "Accept": "application/json" body: '[{"cmd": "GetWhiteLed", "action": 0 , "param": { "channel": 0 }}]' capabilities: power_switch: attributes: state: expr: "isnull( response ) ? null : response[0]?.value?.WhiteLed?.state == 1" default: false actions: "on": http_request: url: "http://192.168.1.31/cgi-bin/api.cgi?user=foo&password=foo" method: "POST" force_json: true headers: "Content-Type": "application/json" "Accept": "application/json" body: '[{"cmd": "SetWhiteLed", "param": { "WhiteLed": {"bright" : 100, "channel": 0, "mode": 1, "state": 1}}}]' target: state expr: "isnull( response ) ? null: response[0]?.value?.rspCode == '200'" "off": http_request: url: "http://192.168.1.31/cgi-bin/api.cgi?user=foo&password=foo" method: "POST" force_json: true headers: "Content-Type": "application/json" "Accept": "application/json" body: '[{"cmd": "SetWhiteLed", "param": { "WhiteLed": {"bright" : 100, "channel": 0, "mode": 1, "state": 0}}}]' target: state expr: "isnull( response ) ? null : response[0]?.value?.rspCode == '200' ? false : null"

    Reolink has API where you have to post a JSON and the response will give you a JSON (in theory). It's not really JSON, so force_json: true will do the trick for you. I'm lefting this as an example of cool things you could do with the new capabilites added/documented in 24343. HTH.

  • Share and discuss your lua creations here

    39 Topics
    230 Posts
    akbooerA

    Why use any individual scene code at all? Per the reference docs you cited, if you define a scene_prolog global (presumably with the exact same code as your existing executeSceneNumber) that should work directly.

  • Hardware related - Small board computer to IP Camera and technologies like Zigbee or Zwave!

    183 Topics
    2k Posts
    G

    To manage high temperatures (600°C) with Zigbee and Sonoff iHost, you can use a high-temperature thermocouple (like a K-type) with a MAX31855 or MAX6675 converter. Then, connect it to an ESP8266/ESP32 microcontroller with a Zigbee module (like Sonoff Zigbee). This way, you can read the temperature and integrate it into your automation stack via MQTT or HTTP.

  • 843 Topics
    8k Posts
    toggledbitsT

    @tunnus said in Reactor-Editor / Reactor-ui-Status Errors:

    Just got a runtime error in UI (build 24343) when I deleted a newly created rule. Before deleting this rule, I copied reactions to it from another rule. It also contained local variables (if that matters).

    I need a detail of every single step taken up the error popping up. Click by click, key by key. Also need to know what conditions were in the rule, and what actions were in the reactions.

  • The goodness of vera without the bad. Discuss installation problems and improvements.

    186 Topics
    3k Posts
    A

    "AK: Your best bet would surely be to register a callback handler to listen for messages on a specific address?"

    Yep - that seems the most obvious method - just wanted to make sure I hadn't missed some other turn of events. With your own callback handler, you can clearly sort out any email encodings, etc.

    On the Doco - Goggle doesn't seem to index github io pages. Seems to me you need to have some sort of URL redirect, that looks like say https://smarthome.community/openluup, that would get indexed? ie via the web server set up or similar.

  • Got a question, a comment about the community or the forum? Ask away!

    13 Topics
    145 Posts
    toggledbitsT

    That's the beauty of community support!

  • Blog posts from individual members. Feel free to talk about your project, your smart home setup!

    12 Topics
    280 Posts
    G

    The locksmith is trying to persuade me to purchase the BE-TECH K35 touchscreen lock with both Wi-Fi and Bluetooth, claiming it's better than the Yale Assure Lock 2. What are your thoughts on this? Which one would you recommend?

    Here is the link to the Chinese brand BE-TECH: BE-TECH Smart Deadbolt K3S.

    The other smart lock I am considering is the Schlage Encode Plus.

    Thank you!

Recent Topics