Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.
ElcidE

Elcid

@Elcid
Gradually turn on lights.
Tom_DT
I have several lights that I would like to turn on very gradually over 15 or 20 seconds. from 0 to .25 in .01 increments. I have tried a few things that came nowhere near working, so here I am.
Multi-System Reactor
Error After Upgrade
T
Topic thumbnail image
Multi-System Reactor
Reset attribute value of entity in event handler
R
Topic thumbnail image
Multi-System Reactor
Need help figuring out how to delay a reset on reaction
T
Topic thumbnail image
Multi-System Reactor
Way to search for rules (rule state) in other rules
T
@toggledbits, not sure if this is a feature request or I'm using the search tool wrong. You have a "Search for rule" in the Rules Set tab in MSR. It works nicely to find a rule and bring up said rule, but can it/could it be used for as a "where used?" global search? For instance, I have a fairly large set of rules, divided up into 10 different rulesets. There's easily a hundred individual rules, and many of the rules have Rule State triggers, which of course refer to other rules. Amongst my troubleshooting today, I came across what may have been a duplicate or troubleshooting attempt, but I can't tell if it's actually used as a Rule State in another rule without opening each rule that I suspect it may be a part of. Thanks.
Multi-System Reactor
Links to MSR from HA
Tom_DT
I am using Home Assistant a lot recently. On a dashboard showing the devices, I would like to show a link to the MSR rule that controls the devices. Is there a way to link directly into MSR?
Multi-System Reactor
Set Reaction > Script Action
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Wiring Samotech SM308-S into light fitting
F
Hi Smart Home Community. I have used a Sonos inline WiFi switch to make one of my light fittings smart, but it requires a hard reset for WiFi changes, plus it isn't zigbee compatible, which means I can't use the Hue app to control it with the rest of the lights. To that end I bought a Samotech SM308-S as it is recommended as the better than the Sonos equivalent. I am however not exactly sure how to wire it in. The manual is available here Can anyone help me by clarifying which ports I need to use, and whether I should be using the live or switched live line for live etc. I will be keeping using standard switches for a while, although hope to upgrade to tap dials once I have all the fittings upgraded. Thanks
Hardware
Errors after updating to MQTTController build 25139
tunnusT
I'm running MSR build 25139 on Docker, using MQTT controller 24293, and everything working as expected. But if I try to upgrade to MQTTController build 25139, I'm getting the following errors on MSR UI: An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.god Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.green Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.red Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto run" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.pump Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa watchdog" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.status Last 11:20:37 My MQTT configuration (local_mqtt_devices.yaml) for the related entity is: layzspa_message: type: ValueSensor capabilities: ["temperature_sensor", "value_sensor", "power_sensor"] primary_attribute: power_sensor.value events: "layzspa/message": "power_sensor.value": json_payload: true if_expr: '! isnull( payload?.PWR )' expr: "float(payload.PWR)" "value_sensor.air": json_payload: true if_expr: '! isnull( payload?.AIR )' expr: "float(payload.AIR)" "value_sensor.pump": json_payload: true if_expr: '! isnull( payload?.FLT )' expr: "float(payload.FLT)" "value_sensor.god": json_payload: true if_expr: '! isnull( payload?.GOD )' expr: "float(payload.GOD)" "value_sensor.lock": json_payload: true if_expr: '! isnull( payload?.LCK )' expr: "float(payload.LCK)" "value_sensor.unit": json_payload: true if_expr: '! isnull( payload?.UNT )' expr: "float(payload.UNT)" "value_sensor.error": json_payload: true if_expr: '! isnull( payload?.ERR )' expr: "float(payload.ERR)" "temperature_sensor.green": json_payload: true if_expr: '! isnull( payload?.GRN )' expr: "float(payload.GRN)" "temperature_sensor.red": json_payload: true if_expr: '! isnull( payload?.RED )' expr: "float(payload.RED)" "temperature_sensor.target": json_payload: true if_expr: '! isnull( payload?.TGT )' expr: "float(payload.TGT)" "temperature_sensor.value": json_payload: true if_expr: '! isnull( payload?.TMP )' expr: "float(payload.TMP)" "temperature_sensor.virtual": json_payload: true if_expr: '! isnull( payload?.VTM )' expr: "round(float(payload.VTM), 1)" "temperature_sensor.ambient": json_payload: true if_expr: '! isnull( payload?.AMB )' expr: "float(payload.AMB)" "layzspa/Status": "value_sensor.status": if_expr: '! isnull( payload )' expr: "payload" "layzspa/button": "value_sensor.button": if_expr: '! isnull( payload )' expr: "payload" and in reactor.yaml I have: "layzspa_states": name: "Lay-Z-Spa States" friendly_name: 'Lay-Z-Spa States' include: layzspa_message I realize my MQTT configuration might be a bit unorthodox, but could there still be something unintentional in the latest MQTTController build? If needed, I can provide detailed logs.
Multi-System Reactor
🎉 My very first MSR controller: OpenSprinkler
therealdbT
Since today is my birthday - and I still pretend to be unconventional - I'm giving away a present to this wonderful community and I'm releasing my first OpenSprinkler controller for MSR. It was real fun to code it - and while it's still WIP, it seems to work OK for me. It's polling-based at the moment, but I'll add support for updates via MQTT very soon (it's already partially coded). Get it at (install is similar to MQTTController and such): https://github.com/dbochicchio/reactor-opensprinkler Feel free to try it. It's beta software, but it's stable. I'll update it weekly until all the tasks from my todo list are empty. Since I've learnt a lot from this controller, I'll explore new controllers soon.
Multi-System Reactor
Advice reqeusted to migrate MSR from Bare Metal to Container
T
Good day all, I'm in the process of trying to shut down my 10 year old Linux home server that served many purposes, but primarily it's what I used for my NAS/Plex Media server. I migrated the NAS aspect of the server in November of last year to a true NAS solution (Ubiquti UNAS Pro), which is rack mount and much more efficient than my old tower, which it's only side benefit was heating my home office during the winter. Unfortunately it also means heating my home office during the summer, which were about to be in full swing. I have two things running on this 10 year old server at this point. MSR and pi-hole. I'm running Plex Media Server on Fedora Workstation in Podman on mini PC, which is much more energy efficient than my old tower. My next step is to migrate MSR. I know there are images of MSR out there, and creating it is well documented. I'm going to be using Podman instead of Docker for various reasons, but they work very similar. What I don't know, is what I need to do to migrate my existing Bare Metal installation over to a container. Has anyone done this? Any advice?
Multi-System Reactor
Reactor (Multi-System/Multi-Hub) Announcements
toggledbitsT
Build 21228 has been released. Docker images available from DockerHub as usual, and bare-metal packages here. Home Assistant up to version 2021.8.6 supported; the online version of the manual will now state the current supported versions; Fix an error in OWMWeatherController that could cause it to stop updating; Unify the approach to entity filtering on all hub interface classes (controllers); this works for device entities only; it may be extended to other entities later; Improve error detail in messages for EzloController during auth phase; Add isRuleSet() and isRuleEnabled() functions to expressions extensions; Implement set action for lock and passage capabilities (makes them more easily scriptable in some cases); Fix a place in the UI where 24-hour time was not being displayed.
Multi-System Reactor
Z-Wave Future....
DesTD
https://forum.z-wave.me/viewtopic.php?f=3417&t=36140 That's not a good thing I think Time to switch again?
Z-Wave.me
Can´t restart or upgrade/deploy MSR
F
Topic thumbnail image
Multi-System Reactor
[Solved] Limit HA Entity in MSR
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Disaster recovery and virtualisation
CatmanV2C
Following on from my last thread, some progress has been made over the weekend. With 18G of spanky RAM in my Synology DS224+. I've jumped into the murky world of virtualisation and already eliminated the need for two Raspberry Pi's from my system. Home Assistant: In theory they provide an OVA file which is supported by the Synology. I couldn't get it to work, however, so grabbed a copy of the .img file they supply, renamed it .iso and imported it as a VM. Restored from my full back up and that all seems fantastic. Minidnla Music server: Trivial. Grabbed a Debian .iso for Bookworm and copied that onto the NAS. Created a new machine which mirrored the specs of the Raspberry Pi, booted from the ISO then did an expert install. Once that was all stable with a basic core of stuff and networking, I've made a copy of that as a good base system. Then fired up minidnla on it, mounted my media and that's also woking. Not bad for a short weekend's work. Still not sure about the main NUC though. I'm thinking of buying a new USB stick so I can mess around getting it working on the Synology before I do anything drastic. Once that hurdle is sorted I'm torn between: Using a brand new install of Bookworm, re-installing Z-way server, OpenLuup, AltUI, MSR and HA bridge, then restoring across or Making an ISO of the current system, importing that and upgrading in place (which will be pretty risk free since I can snapshot everything before I make any changes.) Decisions, decisions. C
General Discussion
Remote access of Zwave stick from Z-wave server
CatmanV2C
Topic thumbnail image
Software
Organizing/ structuring rule sets and rules
R
Hi guys, Just wondering how you guys organize your rule sets and rules. I wish I had an extra layer to have some more granularity, but my feature request was not popular. Maybe there are better ways to organize my rule sets. I use the rule sets now primarily for rooms. So a rule set per room. But maybe grouping by functionality works better. Any examples/ suggestions would be appreciated.
Multi-System Reactor
Moving MSR from a QNAP container to RP 5 - some issues
Tom_DT
Topic thumbnail image
Multi-System Reactor
Widget deletion does not work and landing page (status) is empy
M
Topic thumbnail image
Multi-System Reactor
About
Posts
251
Topics
20
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Not so quiet around here :)
    ElcidE Elcid

    @cw-kid I have not been able to login since the 28/03.
    As to rebel, just a little more blunt than you. As I see it someone was on a purge.
    Shame they are purging people that help others, specially vera support, still plenty of support here though.

    General Discussion

  • My Wandering
    ElcidE Elcid

    I am a Electrician. I installed hundreds of smart devices for others prior to having my own home automation. In 2013 I bought a new house and decided to make it smart. I did some homework and settled on Z-wave and VeraPlus.
    My installation comprises of
    25 Z-wave dimmer/switch inserts
    3 Z-wave door sensors
    10 sonoff devices(basics,TH16 and Mini) ,
    4 Tuya(lamps and RGB strips) ,
    6 shellys(connected to motion sensors and 2 controlling dead DIY bolts )
    3 Amazon Dots(gen2)
    2 Broadlink (RMPro's)
    4 DIY RF Venetian Blinds
    2 Multi button DIY remotes
    1 NVR
    1 Network drive/Media server/ftp server.
    1 smart thermostat heating and hot water
    4 wired 240v/battery Aico smoke and heat detectors (connect to zwave via Relays)
    1 robot hover.
    1 Siren
    Node-red server running on android.
    Testing openluup on android.
    Automate App running on andorid Boxes/phones.
    All tv's are connected to android boxes.
    No windows PC.
    Debian running on android box.
    Plugins Reactor, AlexaTTS, Switchboard and Virtual HTTP Switch.

    I can control all of my devices from anyone of these platforms Vera/OpenLuup, Node-red, Automate(phone/tv box) or Alexa.
    All devices have a standard/manual switch for anyone to control, and can be controlled even if my VeraPlus stopped working or internet out. My system is stable and may get a luup reload every couple of weeks.

    None of my sonoff's or tuya have been flashed. I found Shelly very late into game and will be using these more now i found them, as they offer local control.

    I have some coding knowledge from the 90's, but have never worked in the industry.

    Blogs

  • Alarm Clock
    ElcidE Elcid

    I now have node-red setting a silent switching of a v device, by saying "wake me up at [any time and/or day]". also depending which echo i use i can set a different v device, so different morning routines for each bedroom.

    @catman you can also do all your H A Bridge devices in node red to, as it has the local hue lights bridge to. So you could replace H A Bridge with node-red. It would not be difficult to set a http request to set your virtual alarm.

    Plugins

  • First post to say hello
    ElcidE Elcid

    Hi to all, Thought i would join as not to miss out on anygood information that you developers may share here.

    note- The input box for text does not display to well.I can not see what i am typing.
    Android 8 full sreen on tv box using firefox mobile view.
    If i use desktop view everything is ok.

    General Discussion

  • This is me
    ElcidE Elcid

    @CatmanV2 said in This is me:

    Well, if I see further, it's because I stand of the shoulders of giants. I've got where I got because of the experts here.

    Well said.

    Blogs

  • Not so quiet around here :)
    ElcidE Elcid

    @cw-kid

    Yes i am here, as always I will help anyone who asks.

    Just for info - I have no idea what the reason for my suspension, I have contacted CS but they seem to be just ignoring my request for a clear reason.

    As to GDPR if they run servers in europe then we are covered by GDPR, even if they move the servers to the US, as I think there is a privacy agreement with the US.

    aleksandr

    Is there GDPR in the US? - GDPR USA - Cookiebot™

    Is there GDPR in the US? - GDPR USA - Cookiebot™

    Is there GDPR in the US? Let Cookiebot explain GDPR in the USA to make sure you fully understand regulations and how to comply.

    General Discussion

  • Setting RGB colour values
    ElcidE Elcid

    0.5019607843137255, 0, 0.5019607843137255 You may want to round them. LOL

    Multi-System Reactor

  • Removing Orange Notification
    ElcidE Elcid

    Yes thanks for your efforts @DesT

    Comments & Feedback

  • Lua example http post request with json body
    ElcidE Elcid
    -- https request  json body
    -- Enable potentially unsafe lua code in,  user account - security
    local https = require "ssl.https"
    local http = require "socket.http"
    local ltn12 = require "ltn12"
    local json = require "dkjson"
    local payload = {{"test", "test", null, 0}}  --payload to be sent
    
    local request_body = { secret = "1.KAddd87s8s8FasL7-ze4KG_p5hrVg4Kee1-t3vnwGFhI=", to = "test@gmail.com", device = null, priority = "high", payload = payload } --the json body
    local response_body = {}
    request_body = json.encode(request_body)
    
    local r, c, h, s = https.request {
      url = 'https://llamalab.com/automate/cloud/message',
      method = 'POST',
      headers = {
        ["Content-Type"] = "application/json",
        ["Content-Length"] = string.len(request_body)
      },
      source = ltn12.source.string(request_body),
      sink = ltn12.sink.table(response_body)
    }
    
    
    Code/Snippet library

  • Expressions and LuaXP Functions
    ElcidE Elcid

    isNaN([1,2,3]) and isNaN("ten"/2) and isNaN("ten" + "eight") are all true

    Multi-System Reactor

  • Video Doorbells
    ElcidE Elcid

    My door is covered by a hidden microwave sensor. when triggered reactor sends a http request to my phone or tv box, depending on home or away. My phone/box uses Automate to receive the http request, Automate then opens the camera app and displays the camera. I can talk and listen though the camera app. Normally takes 5-10 seconds to complete. If i am home vera sends a TTS to alexa, informing me there is some one at the door.

    IPCam

  • node-red Alexa OpenLuup/Vera voice integration
    ElcidE Elcid

    Here is a simple integration of OpenLuup/vera device to Alexa via Node-red.

    Node-red-Vera/veraalexavoiceintegration.flow at main · E1cid/Node-red-Vera

    Node-red-Vera/veraalexavoiceintegration.flow at main · E1cid/Node-red-Vera

    Node-red flows for Vera. Contribute to E1cid/Node-red-Vera development by creating an account on GitHub.

    The speed is fast sub 1 second responses.

    Requirements -
    node-red.
    alexa.
    node-red-contrib-amazon-echo(local Hue devices).
    openluup or Vera (or any controller via http requests).

    Capabilities-
    Binary switch.
    dimming switch.
    rgb switch.
    Run scenes.

    Each alexa device node is configured in the topic of the amazon-echo device node -
    (device number#type of switch)
    bnary - 123#binary.
    dimming - 123#dimming.
    rgb - 123#colour (W/D is default 310 to adjust colour temp add value to end e.g. 123#colour#300
    scene - 123#scene#124 (123 on 124 off. 124 can be omitted).

    Enter the ip of your controller in the http request block.
    Just copy code and import into Node-red

    [
        {
            "id": "de7838ac.ebead",
            "type": "amazon-echo-hub",
            "z": "8659fc6b.981b4",
            "port": "8980",
            "processinput": "0",
            "discovery": true,
            "x": 150,
            "y": 840,
            "wires": [
                [
                    "cd0ae070.e98378",
                    "a605448.899d8b8",
                    "21ca89ff.b0f6ce"
                ]
            ]
        },
        {
            "id": "a605448.899d8b8",
            "type": "amazon-echo-device",
            "z": "8659fc6b.981b4",
            "name": "bedroom four",
            "topic": "199#colour",
            "x": 410,
            "y": 860,
            "wires": [
                [
                    "688830f.c57775"
                ]
            ]
        },
        {
            "id": "21ca89ff.b0f6ce",
            "type": "amazon-echo-device",
            "z": "8659fc6b.981b4",
            "name": "app safe",
            "topic": "164#binary",
            "x": 390,
            "y": 900,
            "wires": [
                [
                    "688830f.c57775"
                ]
            ]
        },
        {
            "id": "cd0ae070.e98378",
            "type": "amazon-echo-device",
            "z": "8659fc6b.981b4",
            "name": "lounge 1",
            "topic": "8#dimming",
            "x": 390,
            "y": 940,
            "wires": [
                [
                    "688830f.c57775"
                ]
            ]
        },
        {
            "id": "688830f.c57775",
            "type": "function",
            "z": "8659fc6b.981b4",
            "name": "",
            "func": "let types = {\n    \"dimming\":[\"urn:upnp-org:serviceId:Dimming1\",\"SetLoadLevelTarget\",\"newLoadlevelTarget\"],\n    \"binary\":[\"urn:upnp-org:serviceId:SwitchPower1\",\"SetTarget\",\"newTargetValue\"],\n    \"scene\":[\"urn:micasaverde-com:serviceId:HomeAutomationGateway1\",\"RunScene\",\"SceneNum\"],\n    \"colour\":[\"urn:micasaverde-com:serviceId:Color1\",{\"tt\":\"SetColor\",\"hs\":\"SetColorRGB\",\"ct\":\"SetColorTemp\"},{\"tt\":\"newColorTarget\",\"hs\":\"newColorRGBTarget\",\"ct\":\"newColorTempTarget\"}] \t\n}\nfunction binaryPayload(device, type, turnOn, payload) {\n    payload.id = \"action\";\n    payload.serviceId = type[0];\n    payload.DeviceNum = device;\n    payload.action = type[1];\n    payload[type[2]] = (turnOn === true ? 1 : 0);\n    payload.message = payload[type[2]];\nreturn payload;\n}\n\nfunction dimmingPayload(device, type, level, payload) {\n    payload.id = \"action\";\n    payload.serviceId = type[0];\n    payload.DeviceNum = device;\n    payload.action = type[1];\n    payload[type[2]] = level;\n    payload.message = level;\nreturn payload;\n}\nfunction scenePayload(device, type, turnOn, payload) {\n    payload.id = \"action\";\n    payload.serviceId = type[0];\n    payload.action = type[1];\n    payload[type[2]] = (turnOn === true ? device[0] : (device[2] || device[0]));\n    payload.message =\"Run Scene \" + payload[type[2]];\nreturn payload;\n}\n\nfunction rgbPayload(device, types, msg, payload) { \n    if(msg.on === true && msg.meta.changes.on === false && msg.meta[\"input\"].on === true){\n        payload =  binaryPayload(device[0], types[\"binary\"], msg.on, {});\n    }else if (msg.meta.changes.percentage && msg.on === true){\n        payload = dimmingPayload(device[0], types[\"dimming\"], msg.percentage, {});\n    }else if (msg.on === true && msg.colormode === \"hs\"){\n        payload.id = \"action\";\n        payload.serviceId = types[\"colour\"][0];\n        payload.DeviceNum = device[0];\n        payload.action = types[\"colour\"][1][\"hs\"];\n        payload[types[\"colour\"][2][\"hs\"]] =  msg.rgb.join(\",\");\n        payload.message = msg.rgb.join(\",\");\n    }else if (msg.on === true && msg.colormode === \"ct\"){\n        let diff = msg.ct - (Number(device[2]) || 310);\n        msg.ct = (diff < 0) ? \"D\" + Math.min(Math.abs(diff * 1.7),255).toFixed() : \"W\" + Math.abs(Math.min((diff * 1.7),255) - 255).toFixed();\n        payload.id = \"action\";\n        payload.serviceId = types[\"colour\"][0];\n        payload.DeviceNum = device[0];\n        payload.action = types[\"colour\"][1][\"ct\"];\n        payload[types[\"colour\"][2][\"ct\"]] = msg.ct;\n        payload.message = msg.ct;\n    }\nreturn payload;\n}\n\nmsg.topic = msg.topic.split(\"#\").map(Function.prototype.call, String.prototype.trim);\nmsg.hold = msg.payload;\nmsg.payload = {};\nlet type = msg.topic[1] || \"binary\";\nif(msg.topic[1] === \"scene\"){\n    msg.payload = scenePayload(msg.topic, types[\"scene\"], msg.on, {});\n}else if (msg.topic[1] === \"binary\" || msg.percentage === 0 || msg.on === false){\n    msg.payload =  binaryPayload(msg.topic[0], types[\"binary\"], msg.on, {});\n}else if(msg.topic[1] ===\"dimming\"){\n    msg.payload = dimmingPayload(msg.topic[0], types[\"dimming\"], msg.percentage, {});\n}else if (msg.topic[1] === \"colour\"){\n    msg.payload = rgbPayload(msg.topic, types, msg, {});\n}\nlet  error = [\"green\", msg.topic[1] + \" | \" + msg.topic[0], msg.payload.message];\ndelete msg.payload.message;\nif (Object.keys(msg.payload).length < 1){\n    error[0] =\"red\";\n    error[2] =\"failed to create payload\";\n}\nnode.status({\"fill\": error[0],\"shape\":\"ring\",\"text\": error[1] + \" | \" + error[2]});\n\nreturn msg;\n",
            "outputs": 1,
            "noerr": 0,
            "initialize": "",
            "finalize": "",
            "x": 590,
            "y": 940,
            "wires": [
                [
                    "680d28ae.8a163"
                ]
            ]
        },
        {
            "id": "680d28ae.8a163",
            "type": "http request",
            "z": "8659fc6b.981b4",
            "name": "Get request",
            "method": "GET",
            "ret": "txt",
            "paytoqs": "query",
            "url": "http://192.168.1.11:3480/data_request",
            "tls": "",
            "persist": false,
            "proxy": "",
            "authType": "",
            "x": 760,
            "y": 1000,
            "wires": [
                [
                    "cb471442.5d60c8"
                ]
            ]
        }
    ]
    
    Code/Snippet library

  • Expression to randomly run Global Reactions ?
    ElcidE Elcid

    @cw-kid said in Expression to randomly run Global Reactions ?:

    Ideally I'd like for a different colour each time to be selected, but I guess the expression for the random numbers could select the same number again and therefore the colour would not change for that cycle.

    I use this to generate a random number that has not been used last time. In the reaction use express variable randomVal, once the reaction is over set randomVal to
    ${{int(split(join(split("1234567", randomVal || 0),""),"")[floor(random()*6)])}}
    Then every time you get a different number.

    Multi-System Reactor

  • Expression to randomly run Global Reactions ?
    ElcidE Elcid

    @cw-kid This is probably more efficient

    ${{int(substr(replace("1234567", randomVal || 0,""),floor(random()*6),1))}}
    

    Then I looked at moving this to MSR as I have it in Reactor, . I found the remove function and this is now easily expanded to larger number and you can easily set a range

    ${{remove( 1..7, randomVal - 1)[floor(random()*6)]}}
    

    @toggledbits , possible bug
    list(1..7]) gives [[1,2,3,4,5,6,7]] a nested array.
    Is that expected.

    Multi-System Reactor

  • Vera account suspended for a 1000 years
    ElcidE Elcid

    Stange, That post is still up. If that was the cause i would have thought it would have been removed to. If they keep up this tyrannical behaviour the forum will die a death of a thousand cuts.

    Vera

  • Video Doorbells
    ElcidE Elcid

    @sender
    Be careful with the placement as these sensors can see through doors and thin walls, You can block the sensor with thin metal to stop false trips.
    I mounted my sensor in meter cupboard and place a section of angle iron at bottom to stop trips from cats etc. The white box at bottom contains the sensor and Shelly
    20200430_095307.jpg

    IPCam

  • Interfacing Alexa with Reactor via Routines and Dimmer VS
    ElcidE Elcid

    I use an expression set to 0, I update the variable using node-red local alexa(similar to HA Bridge) In reactor I have several RS's that monitor this expression variable for different values, if the reaction is triggered one of the actions will be to set the variable back to 0. You must have no actions in the false reaction, as when expression is reset to 0 the true action will stop as reactor would want to run the false actions. So far no issues. i have 4 RS's monitoring this variable for different values, but it is unlimited.

    Home Assistant

  • Why is this Green and ticked when its not true ? And how to do OR
    ElcidE Elcid

    Yes will fire/go true, if one or more windows,

    You can also add time condition, say you wanted to wait 60 seconds just in case some one just opened window for a few seconds.
    click 3 dots for other options on trigger/condition

    Multi-System Reactor

  • Vera Alexa Plugin 7.32
    ElcidE Elcid

    @librasun Have you tried to install JQuery on the vera, it's is now available with 7.32

    Vera

  • Video Doorbells
    ElcidE Elcid

    I use a
    https://www.ebay.co.uk/itm/AC-110-220V-Microwave-Radar-Sensor-Switch-Body-Motion-Detector-for-LED-Light/274176461640?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649
    connected to a Shelly 1, which is integrated with @therealdb Virtul HTTP Switch as a sensor.

    IPCam
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved