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.
A

apocalypsehobby

@apocalypsehobby
Home Assistant Connect ZWA-2 & ZBT-2
therealdbT
Topic thumbnail image
Hardware
Date/time condition
tunnusT
Topic thumbnail image
Multi-System Reactor
Is there a way to turn this section (image in post) off?
toggledbitsT
Topic thumbnail image
Comments & Feedback
Device log?
G
@toggledbits is there a log that will show me what rule is turning on a specific device? I've got a switch that has been kicking on at 2200 ET for several nights now and the reactor.log doesn't have a thing in it that I can see on a device level (it being more rules-based).
Multi-System Reactor
Midnight crossing not working in date/time condition (build 25325)
tunnusT
Topic thumbnail image
Multi-System Reactor
Error: Command timeout
G
at _ClientAPI._commandTimeout (http://192.168.1.100:8111/client/ClientAPI.js:807:179 Seeing this randomly when returning to open browser tab after being away awhile. Once, maybe twice a day. "What did you do to trigger it?" Literally nothing, just walked away and returned and there it was. Actions taken in reasonably close proximity to this particular instance of it popping up: I'd restarted the MSR container in Portainer. I'll try to grab some logs here shortly.
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
[Solved] Local expression in Rule does not evaluate as they used to do
CrilleC
Topic thumbnail image
Multi-System Reactor
Home Assistant 2025.11.2 and latest-25315
CrilleC
Topic thumbnail image
Multi-System Reactor
Notice to Docker + ARM Users (RPi 3/4/5 and others)
toggledbitsT
This post does not apply to users of Intel/AMD-based systems. If you are using a Reactor image tagged latest-amd64 or stable-amd64, then this post does not apply to you. It also does not apply to bare-metal installs; it's for users of docker images on ARM-based systems only (principally Raspberry Pi hosts, but could be others). After January 15, 2026, I will no longer produce the aarch64-tagged docker image for Reactor. The ARM images will be arm64 for 64-bit operating systems, and armv7l for 32-bit operating systems. For those of you running a container from the aarch64 image today, this will be a relatively simple change: you just need to switch the image used for your docker container to a differently-tagged image. If you are using docker-compose, then this is a relatively simple matter of changing the image line in your docker-compose.yaml file and then stopping (docker-compose down) and restarting (docker-compose up -d) your Reactor daemon. But there's a catch... not all of you can safely just switch from the aarch64 image to the arm64 image. And, you can't just trust the output of uname -m, for example, because this exposes the CPU architecture, but not the word size of the OS running on that CPU. For Raspberry Pi systems, the transition to 64-bit operating systems was long (starting in 2016) and not always obvious — although there was a first "official" 64-bit OS for RPis in 2020, it did not become a default recommendation in the Raspberry Pi Imager until 2021, and then that was only the default for Pi 3/4 systems with >4GB RAM; it was 2022 before it was universally recommended for all 64-bit CPUs regardless of RAM size. Depending on when you first imaged your RPi system and what default you may have been offered/chosen, you could today easily have a 64-bit CPU Raspberry Pi running a 32-bit version of the operating system. Upgrades along the way would not change this; changing it to fully 64-bit requires a full reimage of the system. To establish if your OS is 64- or 32-bit, log in to your Pi and run: sudo dpkg-architecture -q DEB_HOST_ARCH. If the response is arm64 or aarch64, then you are running a 64-bit OS and you should use the arm64-tagged image. If it's anything else, you are running a 32-bit OS, and you should use the armv7l-tagged image. pi@rpi4-1:~ $ sudo dpkg-architecture -q DEB_HOST_ARCH armhf pi@rpi4-1:~ $ uname -m aarch64 pi@rpi4-1:~ $ In the example above, the uname command reports that the CPU is 64-bit architecture (aarch64), which is true for the host on which I ran these commands, but the DEB_HOST_ARCH value is armhf, indicating a 32-bit operating system. This system has to use the armv7l-tagged image. Other systems will have their own ways of determining the word size of the running OS. Since the majority of Reactor users running ARM systems are on Raspberry Pis, I am able to supply the above instructions, but if you happen to have a different ARM system, you'll need to do some web searching to figure out how to expose that information. Or, you can just try the arm64 image, and if it doesn't start up, try the armv7l image. Remember to always back up your system before making any changes. For everyone, please make this change as soon as possible, and if you have any trouble finding a working image, please (1) go back to the current aarch64 image; and (2) let me know in this thread along with as much detail about your host system as you can offer (including the output of the dpkg-architecture command mentioned above).
Multi-System Reactor
Requesting a proper ARM64/aarch64 Docker image (Pi 5 support)
M
Hi, I'm in the process of migrating from a Raspberry Pi 4 (ARMv7) to a Raspberry Pi 5 (ARMv8/aarch64), but I’ve run into an issue: there is no proper ARMv8/aarch64 image available. None of the existing images run on the Pi 5 - they all exit immediately with code 139 (segmentation fault), which typically indicates that the binaries inside the image are not compatible with the ARM64/aarch64 architecture used by the Pi 5. Would it be possible to publish a correct ARMv8/aarch64 (linux/arm64) image? Building one should be relatively straightforward using docker buildx with multi-arch support. For example, my own Node.js images are built this way: docker buildx build --push \ -t <localrepo>/<project>:<tag> \ --platform=linux/arm64,linux/amd64 \ --file ./apps/<project>/Dockerfile . This produces both the AMD64 and ARM64/v8 variants automatically. Also, as a side note, it may be best to avoid using Alpine as the base image for the ARM64 build, since musl-based builds often cause compatibility issues and unnecessary headaches. A glibc-based base image (e.g., Debian or Ubuntu) tends to work far more reliably on ARM64, especially for Node.js applications. @toggledbits - tagging you in case you missed this. Thanks, mgvra
Multi-System Reactor
Script action and custom timers
therealdbT
Sorry to write here without trying, but I’m flying today. Am I correct if i say that script action with alarm() makes it possible to execute a reaction in a given interval, lets say 15 seconds or 3.5 minutes? That sounds amazing, since I’ve used weird tricks, including a custom controller, just to do this.
Multi-System Reactor
Help resolve change in behaviour post update
CatmanV2C
Topic thumbnail image
Multi-System Reactor
There is an alternative to homebridge-mqttthing
CrilleC
Just throwing out a general hint to the people running Homebridge and MQTT. Homebridge MQTT-Thing hasn't been updated in almost 2 years and it falls behind on compatibility with the development of Homebridge. I was looking for a replacement and found Homebridge Easy MQTT and I think it's a good replacement for MQTT-Thing. I particularly find Easy MQTT Value tranformers easier to to understand and use compared to MQTT-Thing Apply function. It took a while to migrate everything but I'm pleased and can recommend.
Software
Reactor w/HA 2025.11 error on set_datetime service call setting only time
CrilleC
@toggledbits Do you know if this is related to that PR or is it a change they made in 2025.11.1? [latest-25310]2025-11-11T13:16:24.319Z <HassController:INFO> HassController#hass perform x_hass_input_datetime.set_datetime on Entity#hass>input_datetime_vvb_dag with { "time": "10:45" } [latest-25310]2025-11-11T13:16:24.320Z <HassController:INFO> HassController#hass: sending payload for x_hass_input_datetime.set_datetime on Entity#hass>input_datetime_vvb_dag action: { "type": "call_service", "service_data": { "date": (null), "time": "10:45", "datetime": (null), "timestamp": (null) }, "domain": "input_datetime", "service": "set_datetime", "target": { "entity_id": "input_datetime.vvb_dag" } } [latest-25310]2025-11-11T13:16:24.321Z <HassController:ERR> HassController#hass request 1762866984320<2025-11-11 14:16:24> (call_service) failed: [Error] Not a parseable type for dictionary value @ data['date'] [-] [latest-25310]2025-11-11T13:16:24.321Z <HassController:WARN> HassController#hass action x_hass_input_datetime.set_datetime({ "time": "10:45" }) on Entity#hass>input_datetime_vvb_dag failed! [latest-25310]2025-11-11T13:16:24.321Z <HassController:INFO> Service call payload: {"type":"call_service","service_data":{"date":null,"time":"10:45","datetime":null,"timestamp":null},"domain":"input_datetime","service":"set_datetime","target":{"entity_id":"input_datetime.vvb_dag"},"id":1762866984320} [latest-25310]2025-11-11T13:16:24.322Z <HassController:INFO> Service data: {"fields":{"date":{"example":"\"2019-04-20\"","selector":{"text":{"multiline":false,"multiple":false}}},"time":{"example":"\"05:04:20\"","selector":{"time":{}}},"datetime":{"example":"\"2019-04-20 05:04:20\"","selector":{"text":{"multiline":false,"multiple":false}}},"timestamp":{"selector":{"number":{"min":0,"max":9223372036854776000,"mode":"box","step":1}}}},"target":{"entity":[{"domain":["input_datetime"]}]}} [latest-25310]2025-11-11T13:16:24.322Z <Engine:ERR> Engine#1 reaction rule-mgb8pfhs:S step 0 perform x_hass_input_datetime.set_datetime failed: [Error] Not a parseable type for dictionary value @ data['date'] [-] [latest-25310]2025-11-11T13:16:24.322Z <Engine:INFO> Engine#1 action args: { "time": "10:45" } [latest-25310]2025-11-11T13:16:24.322Z <Engine:INFO> Resuming reaction Sätt Schema VVB i Home Assistant<AKTIV> (rule-mgb8pfhs:S) from step 1 [latest-25310]2025-11-11T13:16:24.323Z <HassController:INFO> HassController#hass perform x_hass_input_datetime.set_datetime on Entity#hass>input_datetime_vvb_natt with { "time": "03:00", "timestamp": 0 } [latest-25310]2025-11-11T13:16:24.323Z <HassController:INFO> HassController#hass: sending payload for x_hass_input_datetime.set_datetime on Entity#hass>input_datetime_vvb_natt action: { "type": "call_service", "service_data": { "date": (null), "time": "03:00", "datetime": (null), "timestamp": 0 }, "domain": "input_datetime", "service": "set_datetime", "target": { "entity_id": "input_datetime.vvb_natt" } } [latest-25310]2025-11-11T13:16:24.324Z <HassController:ERR> HassController#hass request 1762866984323<2025-11-11 14:16:24> (call_service) failed: [Error] Not a parseable type for dictionary value @ data['date'] [-] [latest-25310]2025-11-11T13:16:24.324Z <HassController:WARN> HassController#hass action x_hass_input_datetime.set_datetime({ "time": "03:00", "timestamp": 0 }) on Entity#hass>input_datetime_vvb_natt failed! [latest-25310]2025-11-11T13:16:24.324Z <HassController:INFO> Service call payload: {"type":"call_service","service_data":{"date":null,"time":"03:00","datetime":null,"timestamp":0},"domain":"input_datetime","service":"set_datetime","target":{"entity_id":"input_datetime.vvb_natt"},"id":1762866984323} [latest-25310]2025-11-11T13:16:24.324Z <HassController:INFO> Service data: {"fields":{"date":{"example":"\"2019-04-20\"","selector":{"text":{"multiline":false,"multiple":false}}},"time":{"example":"\"05:04:20\"","selector":{"time":{}}},"datetime":{"example":"\"2019-04-20 05:04:20\"","selector":{"text":{"multiline":false,"multiple":false}}},"timestamp":{"selector":{"number":{"min":0,"max":9223372036854776000,"mode":"box","step":1}}}},"target":{"entity":[{"domain":["input_datetime"]}]}} [latest-25310]2025-11-11T13:16:24.324Z <Engine:ERR> Engine#1 reaction rule-mgb8pfhs:S step 1 perform x_hass_input_datetime.set_datetime failed: [Error] Not a parseable type for dictionary value @ data['date'] [-] [latest-25310]2025-11-11T13:16:24.324Z <Engine:INFO> Engine#1 action args: { "time": "03:00", "timestamp": 0 } [latest-25310]2025-11-11T13:16:24.325Z <Engine:INFO> Resuming reaction Sätt Schema VVB i Home Assistant<AKTIV> (rule-mgb8pfhs:S) from step 2 [latest-25310]2025-11-11T13:16:24.325Z <Engine:INFO> Sätt Schema VVB i Home Assistant<AKTIV> all actions completed.
Multi-System Reactor
Reactor Version 25310 : Office Light control via rule in reactor no longer working since last update.
P
Hello, I currently have an office light (connected via a Leviton Zwave Dimmer switch) controlled from a Gen5 Aeotech Zwave switch installed on my Synology 720+ NAS. I run HA(2025.11.10) in a virtual machine from my NAS and Reactor on the container manager of the same NAS. Prior to updating to 25304 the rule I had set to turn the light on to a specific dimming value worked correctly. Now the rule appears to follow the decision tree, however the reaction does not trigger setting the dimming or turning on the office light? Strangely I can still turn the light on and off as well as dim it directly from HASS..? I have tried using the ''try this action'' button in the rules reaction setting and it will not control the light and does not throw an error flagÉ Please help, P.S Reactor has been rock steady for me over the last few years and I'm a big fan of this solution.
Multi-System Reactor
Shelly Wall Display XL
therealdbT
I don't know if you guys are into dashboards, but I am. For a second home I tried the Shelly Wall Display 2, and while not so big, it worked well over the summer. Since we're remodeling our house, I just swapped my old Fire Tablet (with its own problems) with two new Shelly Wall Display XL. I just removed the standard firmware, and I added mine (https://github.com/dbochicchio/ShellyElevate), forked from https://github.com/RapierXbox/ShellyElevate I just managed to support buttons (this thing has 4 of them) and it's all auto-discovered by Home Assistant and accessible via Reactor. I also have a new build in the works with support for buttons inside HA. I added a bonus Javascript interface sending events (screen/screensaver status, buttons, motion) to automatically drive the dashboard (all doing in HTML+Javascript and monitoring Reactor's variable). This specifical thing excluded, go get one of them, the device has a decent CPU for HA dashboards and blends wonderfully in the decor.
Hardware
[Solved] alarm() in global expression throws error in log.
CrilleC
Topic thumbnail image
Multi-System Reactor
[Solved] Define function issue in latest-25304
CrilleC
Topic thumbnail image
Multi-System Reactor
No Upgrade Notification for Build 25308?
CatmanV2C
FWIW I'm no longer getting a notification from MSR that there's an update. Just thought I'd mention it C
Multi-System Reactor
About
Posts
24
Topics
4
Shares
0
Groups
0
Followers
0
Following
1

Posts

Recent Best Controversial

  • MSR's "rgb_color.set" isn't correctly sending RGB values to bulb in Home Assistant
    A apocalypsehobby

    Good call

    From MSR's reactor.log file:

    [stable-23242]2024-03-10T21:17:49.485Z <HassController:INFO> HassController#hass action rgb_color.set([Object]{ "value": "75,0,255" }) on Light#hass>light_garage_light_l succeeded
    

    I need to grab logs from HA as well

    Also - I noticed that when I save the rule in MSR, it doesn't save everything. Instead of saving as '75, 0, 255' it just saves as '75'.
    f16d6c16-f48e-4ee2-9c58-cde903f9732a-image.png

    Multi-System Reactor

  • MSR's "rgb_color.set" isn't correctly sending RGB values to bulb in Home Assistant
    A apocalypsehobby

    Hey crew, I'm trying to use MSR to control the RGB values of a Z-Wave bulb in Home Assistant.

    Problem I'm running into - I would like to use 'rgb_color.set' to control this, but it doesn't work, instead it always passes the values '255,255,255' to HA no matter what values I enter within MSR.

    More notes and examples below - I'm wondering if this is a formatting issue that I'm missing? Thanks for any help!

    NOTES FROM TROUBLESHOOTING:

    • 'rgb_color.set_rgb' works successfully, which seems strange. You'd think they would both be affected
    • I've tried a couple different formats, like adding quotes, adding/removing spaces between the RGB values, nothing has fixed it.

    EXAMPLES:
    When I use 'rgb_color.set_rgb', the values successfully carry over to Home Assistant:
    f0f4befc-a642-428e-8923-e5f856ca7e2b-image.png 0af0a4f8-50b9-4100-b1e8-52a0de4cbcbb-image.png

    But when I use 'rgb_color.set', the values DO NOT successfully carry over to Home Assistant:

    9e2d7004-8085-4b70-bb3e-45614b7260a0-image.png 0d630228-c74b-4db8-89bd-2572a08608a3-image.png

    DETAILS:

    • Bulb is LZW42 by Inovelli
    • MSR version: stable-23242-5ee8e1d4

    HA DETAILS

    • Core 2024.2.5
    • Supervisor 2024.02.1
    • Operating System 12.0
    Multi-System Reactor

  • Adding remotes, scene controllers as entities to MSR
    A apocalypsehobby

    @toggledbits Thank you for helping, and that's more than fair.

    I was pressing a button on the remote while viewing the Entity section of MSR, and the virtual device showed no change (the values stayed at "null"). I was expecting them to report on/off and to report the time change.


    For others' reference, it is now working with the following code:

          event_targets: 
            "RGBG-Remote-Button-1": 
              name: "RGBG Remote Button 1"
              capabilities: 
                - button
              events: 
                - event: 
                    event_type: zha_event
                    data: 
                      unique_id: "60:a4:23:ff:fe:65:a3:fb:1:0x0006"
                  response: 
                    button.since: 
                      expr: time()
                    button.state: 
                      from: event.data.command
                      map: 
                        "on": true
                        "off": false
    

    Same goes for buttons 2-5, just tweak the value of "unique_id". Button 1 it ends with "1:0x0006" and button 2 would end with "2:0x0006", etc.

    A caveat to this device is the on/off buttons at the very top send the same signal to HA as the "device 1 on/off" buttons (1:0x0006).

    Here's a link to the device: https://rgbgenie.com/?product=rgbgenie-5-zone-remote-and-dimmer-zigbee

    Multi-System Reactor

  • Adding remotes, scene controllers as entities to MSR
    A apocalypsehobby

    Hey friends - I'm trying this again with another remote, this time the ZB-5001 from RGB Genie.

    It's not working yet, but I feel like I'm close. The device is successfully populating into MSR as an Entity, but when I press a button on the remote it does not report any changes to MSR.

    Could you help me check my work?


    DATA FROM HASSIO_EVENTS.LOG

    • "endpoint_id" tells which button has been pressed (1-5)
    • "cluster_id" seems to always stay at 6
    • "command" shows whether you've pressed the "on" or "off" side of buttons 1-5
    zha_event {
    	"id": 1676585189844,
    	"type": "event",
    	"event": {
    		"event_type": "zha_event",
    		"data": {
    			"device_ieee": "60:a4:23:ff:fe:65:a3:fb",
    			"unique_id": "60:a4:23:ff:fe:65:a3:fb:2:0x0006",
    			"device_id": "516aaf4459a4f4f319a178de36a28dfd",
    			"endpoint_id": 1,
    			"cluster_id": 6,
    			"command": "on",
    			"args": [],
    			"params": {}
    		},
    		"origin": "LOCAL",
    		"time_fired": "2023-02-16T22:07:24.518489+00:00",
    		"context": {
    			"id": "01GSE495V6J686X0RGXYZ046CG",
    			"parent_id": null,
    			"user_id": null
    		}
    	}
    

    MY BEST ATTEMPT AT THE CODE FOR REACTOR.YAML

          event_targets: 
            "RGBG-Remote-Button-1": 
              name: "RGBG Remote Button 1"
              capabilities: 
                - button
              events: 
                - event: 
                    event_type: zha_event
                    data: 
                      device_id: "516aaf4459a4f4f319a178de36a28dfd"
                      endpoint_id: "1"
                  response: 
                    button.since: 
                      from: event.data.time_fired
                    button.state: 
                      from: event.data.command
                      map: 
                        on: on
                        off: off
    
    Multi-System Reactor

  • Adding remotes, scene controllers as entities to MSR
    A apocalypsehobby

    @toggledbits wow, thank you.

    I've successfully added the Hank devices to the reactor.yaml file, along with a couple other remotes. Here are my notes for anyone else on this endeavor.

    • Hank HKZW-SCN04 has 4 buttons, and from my tests they do not support 2x or 3x clicks/presses.

    • Minoston MR40Z V1.0 has 4 buttons, and supports all of the presses that you mapped.

    • Zooz ZEN34 Ver. 1.0 has 2 buttons and supports all the presses that you mapped PLUS it has 4x and 5x presses as well.

    Multi-System Reactor

  • Adding remotes, scene controllers as entities to MSR
    A apocalypsehobby

    @christian_fabre said in Adding remotes, scene controllers as entities to MSR:

    Thanks ...
    I followed this post and managed to successfully use my HANK SCN04 remote with Reactor and Home Assistant.

    @christian_fabre Do you mind sharing the code you used? I have two of the HANK SCN04 as well, and am trying to do the same thing

    Multi-System Reactor

  • MSR actions aren't running anymore-- can't find what's broken
    A apocalypsehobby

    Of course, that fixed it. Thank you both!

    Multi-System Reactor

  • MSR actions aren't running anymore-- can't find what's broken
    A apocalypsehobby

    @sweetgenius yeah I should— I can probably do that tomorrow.

    Multi-System Reactor

  • MSR actions aren't running anymore-- can't find what's broken
    A apocalypsehobby

    Hey crew,
    I'm running into an issue where MSR's reactions aren't successfully running, and I can't figure out what's gone wrong.

    Backstory-- we had a big thunderstorm roll through the other day, we lost internet and the storm got bad so I unplugged most items in my homelab, including the Pi that's running MSR.

    Now that everything is powered back up, the reactions aren't running correctly. Most of my MSR automations are to use motion sensors to turn lights on/off, and I immediately noticed that even when a motion sensor is tripped, the light doesn't turn on like it's supposed to.

    I've tested a bunch of things to see what's broken, here's what I've observed:
    -I can successfully flip lights on/off manually within Vera
    -I can successfully flip lights on/off manually within MSR's Entities section
    -the motion motion sensors are correctly reporting to Vera and MSR (I can see when they're sensing motion)
    -the rules within MSR are working correctly, I can see when they flip to 'true' when I walk by a motion sensor
    -I can successfully run the Reaction within MSR (by hitting the 'play' button)

    But for whatever reason, when everything needs to work together, it doesn't successfully run the action. IE: the motion sensor trips, reports it to MSR, I can see MSR going "true" but the light does not turn on. Open to any suggestions, thank you!

    SYSTEM
    Vera has all my devices
    MSR is running bare metal on Rpi "Reactor (Multi-hub) stable-22004-6d6c6b7"

    Multi-System Reactor

  • Who are my Home Assistant + ZWave-JS users?
    A apocalypsehobby

    @vezinpi said in Who are my Home Assistant + ZWave-JS users?:

    I don't, but I could if that's the way you want to communicate.

    Same

    Multi-System Reactor zwavejs

  • [SOLVED] Trying to nest logic within Expression
    A apocalypsehobby

    @toggledbits & @tunnus thank you both, your suggestions both worked beautifully. I especially like the spacing & newlines... much clearer

    Pat, I will say on a side note, I thought the transition from Vera/Reactor to HA/MSR would take FOREVER but it's been moving along pretty quickly so far, partially due to the Import tool. Thanks for making that. I still have a long way to go, but I'm making good progress.

    Multi-System Reactor expressions solved

  • [SOLVED] Trying to nest logic within Expression
    A apocalypsehobby

    I'm working on moving from Reactor to MSR, but I'm having a hard time converting this expression.

    (For context, this expression is a part of my thermostat automation, and is designed to convert the outdoor temperature into a standard value from 1-6, which in turn tells the thermostat if we should be heating or cooling and to what degree)

    Within Vera, this is my expression that's working perfectly:

    if(TodayAvg<=33, 1, if(TodayAvg>33 and TodayAvg<=55, 2, if(TodayAvg>55 and TodayAvg<=65, 3, if(TodayAvg>65 and TodayAvg<=74, 4, if(TodayAvg>74 and TodayAvg<=80, 5, if(TodayAvg>80, 6, null))))))
    

    I've successfully converted the first piece of that expression within MSR, with both of these configurations running successfully:

    if TodayAvg <= 33 then 1 endif
    
    TodayAvg <= 33 ? 1 : null
    

    But as soon as I try to nest the logic, it breaks. (This code is not successful)

    if TodayAvg <= 33 then 1 else if TodayAvg > 33 and TodayAvg <= 55 then 2 endif
    

    Would love some advice on how to successfully convert this into a format that MSR accepts.

    Thanks all!

    Multi-System Reactor expressions solved

  • Who are my Home Assistant + ZWave-JS users?
    A apocalypsehobby

    Sign me up 👍

    Multi-System Reactor zwavejs

  • Trouble connecting Vera to MSR
    A apocalypsehobby

    I just let it run with the 14.17

    Multi-System Reactor

  • Trouble connecting Vera to MSR
    A apocalypsehobby

    @toggledbits Oh jeez, I followed the wrong set of instructions from the get-go. When you asked about the install script, I retraced my steps and realized what happened.

    I followed the "Linux (various) Bare Metal" instructions because I did not read that the 4B instructions also worked for the 3B+.

    So I just started fresh and followed the correct instructions, and everything seems to be working. Thank you for your help!

    Multi-System Reactor

  • Trouble connecting Vera to MSR
    A apocalypsehobby

    @toggledbits Sorry, I should have been more specific, it’s running Raspberry Pi OS Lite. Are you saying it should be the regular Raspberry Pi OS?

    Multi-System Reactor

  • Trouble connecting Vera to MSR
    A apocalypsehobby

    @toggledbits
    Vera Firmware: 1.7.5186 (7.31)
    Pi: Raspberry Pi 3 Model B Plus Rev 1.3, and the Debian version is 10.10

    The response was immediate from the web browser, and from when I used wget within the Pi.

    Multi-System Reactor

  • Trouble connecting Vera to MSR
    A apocalypsehobby

    @toggledbits A ton 😕

    pi@MSR-raspberrypi:~/reactor $ node app.js
    basedir /home/pi/reactor
    confdir /home/pi/reactor/config
    datadir /home/pi/reactor/storage
    logsdir /home/pi/reactor/logs
    plugindir /home/pi/reactor/ext
    module.paths [
      '/home/pi/reactor/node_modules',
      '/home/pi/node_modules',
      '/home/node_modules',
      '/node_modules'
    ]
    NODE_PATH undefined
    2021-09-25T18:29:17.047Z <app:null> Reactor "1.0.1-21243-83a87ba" starting on v14.17.6
    2021-09-25T18:29:17.051Z <app:INFO> Process ID 3194; platform linux/arm #1449 SMP Wed Aug 25 15:00:01 BST 2021; locale [ "en-GB", "UTF-8" ]
    2021-09-25T18:29:17.053Z <app:INFO> Basedir /home/pi/reactor; data in /home/pi/reactor/storage
    2021-09-25T18:29:17.054Z <app:INFO> NODE_PATH (undefined); module paths [ "/home/pi/reactor/node_modules", "/home/pi/node_modules", "/home/node_modules", "/node_modules" ]
    2021-09-25T18:29:17.245Z <Plugin:null> Module Plugin v21173
    2021-09-25T18:29:17.270Z <default:INFO> Module Entity v21177
    2021-09-25T18:29:17.280Z <Controller:null> Module Controller v21226
    2021-09-25T18:29:17.281Z <default:null> Module Structure v21229
    2021-09-25T18:29:17.303Z <default:null> Module Ruleset v21096
    2021-09-25T18:29:17.304Z <default:null> Module Rulesets v21096
    2021-09-25T18:29:17.373Z <default:null> Module Rule v21224
    2021-09-25T18:29:17.388Z <default:null> Module Engine v21213
    2021-09-25T18:29:17.390Z <default:null> Module httpapi v21238
    2021-09-25T18:29:17.396Z <default:null> Module httpproxy v21054
    2021-09-25T18:29:17.443Z <default:null> Module wsapi v21196
    2021-09-25T18:29:17.447Z <app:NOTICE> Starting Structure...
    2021-09-25T18:29:17.455Z <default:NOTICE> Structure#1 plugin ID influx disabled; skipping
    2021-09-25T18:29:17.459Z <default:INFO> Structure#1 starting controller interface vera (VeraController)
    2021-09-25T18:29:17.470Z <default:INFO> Structure#1 starting controller interface hass (HassController)
    2021-09-25T18:29:17.473Z <default:INFO> Structure#1 starting controller interface reactor_system (SystemController)
    2021-09-25T18:29:17.614Z <default:null> Module VeraController v21236
    2021-09-25T18:29:17.625Z <default:null> Module HassController v21243
    2021-09-25T18:29:17.630Z <default:null> Module SystemController v21102
    2021-09-25T18:29:17.641Z <VeraController:NOTICE> VeraController#vera starting
    2021-09-25T18:29:17.809Z <VeraController:INFO> VeraController#vera loaded mapping ver 21236 rev 1 format 1 notice
    2021-09-25T18:29:17.812Z <VeraController:INFO> VeraController: deviceclass vera_system_object capability sys_system does not provide attribute state
    2021-09-25T18:29:17.926Z <HassController:INFO> HassController#hass device mapping data loaded; checking...
    2021-09-25T18:29:17.997Z <HassController:NOTICE> HassController#hass attempting reconnection to ws://10.0.0.108:8123/api/websocket
    2021-09-25T18:29:18.002Z <HassController:NOTICE> HassController#hass connecting via WS to ws://10.0.0.108:8123/api/websocket
    2021-09-25T18:29:18.018Z <default:NOTICE> Controller SystemController#reactor_system is now online.
    2021-09-25T18:29:18.192Z <app:INFO> Structure running; pausing for controllers' initial ready
    2021-09-25T18:29:18.261Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594557823 failed, reason: socket hang up
    2021-09-25T18:29:18.285Z <HassController:NOTICE> HassController#hass connected, starting protocol
    2021-09-25T18:29:18.304Z <HassController:INFO> HassController#hass successful authentication with ws://10.0.0.108:8123; fetching initial data...
    2021-09-25T18:29:18.317Z <HassController:INFO> HassController#hass Hass reports version "2021.8.6" location Home timezone America/Detroit state RUNNING safe_mode false
    2021-09-25T18:29:18.553Z <HassController:NOTICE> Controller HassController#hass is now online.
    2021-09-25T18:29:23.290Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594563265 failed, reason: socket hang up
    2021-09-25T18:29:28.312Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594568291 failed, reason: socket hang up
    2021-09-25T18:29:33.339Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594573317 failed, reason: socket hang up
    2021-09-25T18:29:39.363Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594579344 failed, reason: socket hang up
    2021-09-25T18:29:46.392Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594586368 failed, reason: socket hang up
    2021-09-25T18:29:54.420Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594594399 failed, reason: socket hang up
    2021-09-25T18:30:03.448Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594603429 failed, reason: socket hang up
    2021-09-25T18:30:13.468Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594613450 failed, reason: socket hang up
    2021-09-25T18:30:18.265Z <app:NOTICE> Starting Reaction Engine...
    2021-09-25T18:30:18.269Z <Engine:INFO> Reaction Engine starting
    2021-09-25T18:30:18.273Z <Engine:INFO> Checking rule sets...
    2021-09-25T18:30:18.285Z <Engine:INFO> Checking rules...
    2021-09-25T18:30:18.287Z <Engine:INFO> Data check complete; no corrections.
    2021-09-25T18:30:18.296Z <Engine:NOTICE> Reaction Engine running!
    2021-09-25T18:30:18.297Z <app:NOTICE> Starting HTTP server and API...
    2021-09-25T18:30:18.314Z <app:NOTICE> Startup complete
    2021-09-25T18:30:18.323Z <app:NOTICE> HTTP API v1 21238 base URL http://10.0.0.5:8111; listening
    2021-09-25T18:30:18.362Z <app:NOTICE> HTTP server running; registering proxy endpoints.
    2021-09-25T18:30:18.365Z <app:NOTICE> Starting WSAPI...
    2021-09-25T18:30:18.368Z <app:NOTICE> wsapi: starting version 21196
    2021-09-25T18:30:18.405Z <Engine:INFO> Engine#1 master timer tick, local time "25/09/2021, 14:30:18" (TZ offset -240 mins from UTC)
    2021-09-25T18:30:18.687Z <app:INFO> wsapi: connection from ::ffff:10.0.0.91
    2021-09-25T18:30:24.490Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594624469 failed, reason: socket hang up
    2021-09-25T18:30:36.518Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594636500 failed, reason: socket hang up
    2021-09-25T18:30:49.536Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594649518 failed, reason: socket hang up
    2021-09-25T18:31:03.567Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594663549 failed, reason: socket hang up
    2021-09-25T18:31:18.580Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594678567 failed, reason: socket hang up
    2021-09-25T18:31:34.607Z <VeraController:ERR> VeraController#vera update request failed: FetchError: request to http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632594694590 failed, reason: socket hang up
    
    Multi-System Reactor

  • Trouble connecting Vera to MSR
    A apocalypsehobby

    Thank you both. @Buxton I followed these directions and commented out "auth" in both files, restarted Vera, still got the same error messages.

    What's strange is-- I took one of the request URLs (like http://10.0.0.141:3480/data_request?id=user_data&ns=1&Timeout=15&output_format=json&_r=1632187568275) and pasted it into my laptop's web browser, and I got a huge output file. So it seems like Vera is working.

    Maybe it's a network configuration problem like you suggested, @toggledbits ? So I went to my Raspberry Pi that's running MSR, and I used wget then it successfully downloaded the output file to the pi as well. So I'm not sure why it's not working within MSR!

    Multi-System Reactor

  • Trouble connecting Vera to MSR
    A apocalypsehobby

    @toggledbits Do you mind helping me understand why the "socket hang up" & "ECONNREFUSED" messages mean that Vera is reloading a lot?

    Multi-System Reactor
  • Login

  • Don't have an account? Register

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