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
[HowTo] Using HABridge with Reactor
therealdbT
If you’re like me and still running HABridge to control your devices locally via Alexa, you might need to tweak your endpoints to call Reactor via HTTP. Here’s the best way to do it, IMO: Insert the Reactor Canonical ID (e.g., zwavejs>71-1) into the MapID field, but make sure it’s URL-encoded like this: zwavejs%3E71-1. Then, configure these endpoints as needed: On: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/power_switch.on Off: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/power_switch.off Dim: For lights: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/dimming.set?level=${intensity.decimal_percent} For roller shutters: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/position.set?value=${intensity.decimal_percent} Color: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/rgb_color.set_rgb?red=${color.r}&green=${color.g}&blue=${color.b} Just replace [ReactorIP] with your actual IP address. By using these placeholders, you can standardize your endpoints across all devices, making maintenance easier. This setup works with any device mapped under MSR, regardless of the controller (ZWaveJS, Vera, HASS, OpenSprinkler, virtual, MQTT, DynamicEntities, etc.). If you need different calls, just go to the entities, get the action and parameters, and adjust accordingly. Enjoy super fast access to your devices via Alexa! If you're migrating from Vera, the endpoints are (URL-encoded) in a file called device.db, in JSON format, under your config. You'd write a script to align the new endpoints to the new one, if you prefer to do it automatically. YMMV.
How-To
[Reactor] Bug when sending MQTT boolean payloads
therealdbT
Topic thumbnail image
Multi-System Reactor
Genuinely impressed with Zigbee and HA / Reactor
CatmanV2C
Just for the record, in case anyone is following, I'm really rather impressed. I have installed one of these: https://www.amazon.co.uk/dp/B0B6P22YJC?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1 That's connected (physically) to the VM running on my Synology, with a 2m USB extension. The same host also runs Openluup, Mosquito, HA Bridge. Yesterday I installed Zigbee2mqtt. That was a bit of a PITA but mostly because of ports and permissions. Once up and running, and the correct boxes ticked, immediately visible in Home Assistant via the MQTT integration, and thence into Reactor I've only got two devices. I bought the cheapest sensor I could find, which is a door sensor. Dead easy to add to ZIgbee2mqtt and again, immediately visible in HA. https://www.amazon.co.uk/dp/B0FPQLWRW1?ref=ppx_yo2ov_dt_b_fed_asin_title The dongle is on the top floor of the house, and I wanted the sensor on the back door (just about as far apart as it's possible to get short of going into the garage) When I moved the sensor downstairs it dropped out pretty instantly (which wasn't a huge surprise) so quick bit of research found out that smart plugs will act as routers so... https://www.amazon.co.uk/dp/B0FDQDPGBB?ref=ppx_yo2ov_dt_b_fed_asin_title Took me about 30 seconds to connect. Updated the name. Instantly visible in Reactor with the new name pushed over from Zigbee2mqtt. And lo, the door sensor now has a signal of 140 and works as far as I can tell perfectly and instantly (unlike my z-wave one). A few more of those will be purchased and used to replace the Tuya wifi cloud devices and the (continually failing) Z-wave plugs (yeah, they were TKB so....) Commended to the house. Thanks for everyone that got me on the right lines. C
Zigbee
Difficulty defining repeating annual period
R
I have tried numerous ways to define a recurring annual period, for example from December 15 to January 15. No matter which method I try - after and before, between, after and/not after, Reactor reports "waiting for invalid date, invalid date. Some constructs also seem to cause Reactor to hang, timeout and restart. For example "before January 15 is evaluated as true, but reports "waiting for invalid date, invalid date". Does anyone have a tried and true method to define a recurring annual period? I think the "between" that I used successfully in the past may have broken with one of the updates.
Multi-System Reactor
Need help with sequence
T
Good evening all, For about the past week or so, I've been having problems with a specific rule in my home automation that controls when my home goes from an Away mode to Home mode. One of the conditions it checked for was my alarm panel, when it changed from Armed Away to Disarmed. There seems to have been a firmware update on the panel that added an intermittent step of "pending", and I can't say for certain it happens 100% of the time. Is there a way to write a condition that so it changes from one condition, to the next, and then another condition? As in, Home alarm changes from armed_away to pending to disarmed. Thanks.
Multi-System Reactor
Possible feature request?
CatmanV2C
No idea how easy this would be. During my migration away from Z-wave I've been replacing the Z-wave devices with Sonoff which has broken some of my automations. Any chance of a 'Test Reaction' function to call out which ones are broken because an entity no longer exists? Without actually running the reaction? Or does this exist already and I'm just not aware of how to do it? Obviously I can see entities that are no longer available, but not quite what I'm looking for. I guess it's something of an edge case so no huge issue. TIA! C
Multi-System Reactor
Copying a global reaction
tunnusT
With build 25328, if you copy a global reaction, a new reaction does not appear in the UI unless you do a refresh. I recall this used to work without needing this page refresh? Anyway, only a minor nuisance.
Multi-System Reactor
Logic Assistance: Exterior Lights on when Illuminance Below Threshold
PablaP
Topic thumbnail image
Multi-System Reactor
Time series documentation
tunnusT
Is the current manual (incl. examples) up to date with how retention value is handled in time series configuration? Referring to this post
Multi-System Reactor
MQTT templates for ZIgbee scene controller, or a better way?
CatmanV2C
Topic thumbnail image
Multi-System Reactor
Reset a delay
CatmanV2C
I'm sure this has been asked, and answered, but damned if I can figure it out Use case: I have a rear garden with lights. A door from the kitchen into the garden and a door from the garage. Currently if I open the kitchen door the lights come on (yay) and a 3 minute delay starts. After 3 minutes, no matter what else happens, the lights go off (Boo! But also yay!) What I would like is for the 3 minute delay until the lights go off to start from the latest door open event. That is, if I'm going from kitchen to garage, and back again, the lights stay on until there's three minutes of no activity. I've tried 'hacking' with a virtual switch, but can't seem to stop the delay. Any pointers? TIA C
Multi-System Reactor
Zigbee2mqtt installed! sytemctl not happy :(
CatmanV2C
Hello oh great ones. After a couple of hours messing with ports and permissions I have Zigbee2mqtt installed and running on my virtual pi Can connect to the front end and everything Odd one though, simply cannot get systemctl to work and the error is, well, unhelpful. The service file is this: [Unit] Description=zigbee2mqtt After=network.target [Service] Environment=NODE_ENV=production Type=notify ExecStart=/usr/local/bin/node index.js WorkingDirectory=/opt/zigbee2mqtt StandardOutput=inherit # Or use StandardOutput=null if you don't want Zigbee2MQTT messages filling syslog, for more options see systemd.exec(5) StandardError=inherit WatchdogSec=10s Restart=always RestartSec=10s User=pi [Install] WantedBy=multi-user.target Straight out of the docs with the change to point to my local node install (which we know works as it's the same as the very fine Reactor is using. Running manually pnpm start in /opt/zigbee2mqtt works fine However: catman@openluup:/etc/systemd/system$ sudo systemctl start zigbee2mqtt.service Job for zigbee2mqtt.service failed because the control process exited with error code. See "systemctl status zigbee2mqtt.service" and "journalctl -xe" for details. Which I have catman@openluup:/etc/systemd/system$ sudo systemctl status zigbee2mqtt.service ● zigbee2mqtt.service - zigbee2mqtt Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2025-12-16 12:32:42 GMT; 4s ago Process: 3093 ExecStart=/usr/local/bin/node index.js (code=exited, status=217/USER) Main PID: 3093 (code=exited, status=217/USER) and -- A start job for unit zigbee2mqtt.service has begun execution. -- -- The job identifier is 17477. Dec 16 12:35:16 openluup systemd[3178]: zigbee2mqtt.service: Failed to determine user credentials: No such process Dec 16 12:35:16 openluup systemd[3178]: zigbee2mqtt.service: Failed at step USER spawning /usr/local/bin/node: No such process -- Subject: Process /usr/local/bin/node could not be executed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The process /usr/local/bin/node could not be executed and failed. -- -- The error number returned by this process is ERRNO. Dec 16 12:35:16 openluup systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=217/USER -- Subject: Unit process exited -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- An ExecStart= process belonging to unit zigbee2mqtt.service has exited. -- -- The process' exit code is 'exited' and its exit status is 217. Dec 16 12:35:16 openluup systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The unit zigbee2mqtt.service has entered the 'failed' state with result 'exit-code'. Dec 16 12:35:16 openluup systemd[1]: Failed to start zigbee2mqtt. -- Subject: A start job for unit zigbee2mqtt.service has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A start job for unit zigbee2mqtt.service has finished with a failure. Which strikes me as very odd. Any blindingly obvious things I'm missing? TIA! C
Zigbee
Any thoughts on which is better
CatmanV2C
Obviously a quiet forum, but perhaps it's time I'm looking at rolling Zigbee into my system, in large part for the Aqara FP300 presence sensors which seem to finally provide a solution to if the wasp is actually in the box. My current set up is as follows: One Debian VM on Synology NAS running: Z-wave Server Open Luup Multi system reactor HA bridge Mosquito MQQT broker This machine has a UZB Z-wave stick connected via the USB port on the NAS Another HAOS VM on the same NAS running HAOS I've got some older Z-wave stuff that I keep around until it fails. I have some Tuya stuff integrated in HA My thought was to get either a SMLIGHT SLZB-06M or an Aqara Hub M2 Integrate them via Zigbee2MQQT (running on the Debian machine) and then expose them in HA so I can continue to automate in MSR. Thoughts on which of those devices wold be preferable long term. Both are POE capable which is good. It also appears I could add a USB dongle to the NAS and expose it to the HAOS machine. Any thoughts from the assembled experts here? TIA C
Zigbee
Single protocol?
CatmanV2C
Another question to the hive mind. Prompted by the fact that I lost yet another z-wave device over the weekend due to a power issue. It looks like z-way server is reporting another device failed (although it's working fine) and message queue is far too long IMHO. Also the failed device has been removed in the expert interface, but still there in the 'normal' one. Sigh. Currently I have z-wave, Tuya, thinking about Zigbee.... Does anyone use one single protocol for everything? Right now I'm feeling that as the z-wave stuff dies, I'm just gonna replace it with something else.... C
General Discussion
HDMI oddness
CatmanV2C
Not really Smart Home stuff, but going to ask as we have smart people... Bear with me on this one. Asking here because of the font of knowledge! For many eek years I have had a Virgin V6 box and a Raspberry Pi running Kodi connected to my TV through a cheap *** HDMI switch. It all worked beautifully but the absolutely critical thing was that the TV remote passed the signals back to the Pi to allow remote control of Kodi. Couple of changes of late: Installed a soundbar on the TV using the ARC (audio return channel). That then turns the soundbar on and off when the TV turns on and off and the TV volume control controls the soundbar volume direct. Everything continues to work Upgraded the software of the Tivo box to Virgin 360. This is literally software only. You get sent a snacky new Bluetooth remote hit 'upgrade' on the screen and off it goes. Now, things are not playing well. Typically when I turn on to watch Kodi the soundbar comes on (as it should) but the TV either puts out sound through its own speakers and the soundbar, or just the soundbar. It's not possible to control the volume of the soundbar through the TV. Also it's not longer possible to control Kodi using the TV remote. If I turn the TV360 box off, i.e. power it down, before turning on to watch Kodi, everything is fine. This makes little to no sense to me. My assumption is that the cheap *** HDMI switch is getting something from the TV360 connection that it didn't used to get when the software was Tivo and that's screwing up the HDMI communications. I'm upgrading the switch to something a little less chap, but wondered if anyone could validate my theory at all? TIA C
General Discussion
Reactor Loading Screen Safari
S
Topic thumbnail image
Multi-System Reactor
Constraints states visually do not match actual
S
Topic thumbnail image
Multi-System Reactor
Oh the joy of pairing
CatmanV2C
When I remember the old days Just added a new Tuya plug (OK so it's cloud) Start to finish, visible in HA and MSR < 30 seconds... C
Vera
Home Assistant Connect ZWA-2 & ZBT-2
therealdbT
Topic thumbnail image
Hardware
[MSR] Feature request: For Each action on arrays/groups
therealdbT
Topic thumbnail image
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