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

therealdb

@therealdb
[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
Tuya Wifi to Tasmota flashing
CatmanV2C
Just popping this in here in case it's helpful to anyone else later. I've got several Tuya Wifi sockets that I'm getting rid of / replacing. Looking at which ones, if any, can be flashed to Tasmota: https://www.amazon.co.uk/dp/B09Y212TCK?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1 Are NOT flashable C
Zigbee
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
1.1k
Topics
102
Shares
0
Groups
1
Followers
2
Following
0

Posts

Recent Best Controversial

  • [Reactor] Bug when sending MQTT boolean payloads
    therealdbT therealdb

    Yes, thanks. I usually send json and numbers, so I assumed it would automatically convert to string anyway. Not a big deal, but it made me check my sanity for a couple of hours, until I realized it was not me.

    Multi-System Reactor

  • Genuinely impressed with Zigbee and HA / Reactor
    therealdbT therealdb

    @CatmanV2 here we go: https://smarthome.community/topic/1593/howto-using-habridge-with-reactor

    Zigbee

  • Genuinely impressed with Zigbee and HA / Reactor
    therealdbT therealdb

    Yes, same here. Once discovered, you have to stick with it.

    I’m calling reactor endpoints to control hass devices. I posted the urls in a previous post, but I could post it again if needed.

    Zigbee

  • Difficulty defining repeating annual period
    therealdbT therealdb

    Can’t you just use “after Dec 15th” and then add an OR for just “before Jan 15th”?

    I have a global variable named ChristmasTime that’s set daily, so it’s easier to use in multiple reactions. Just a suggestion to simplify things.

    Multi-System Reactor

  • Need help with sequence
    therealdbT therealdb

    I will change my logic to just check for your state to be disarmed (so, no changes) for at least 5 secs, or as already suggested, just use OR with all the possible variations you’d get.

    Multi-System Reactor

  • [Reactor] Bug when sending MQTT boolean payloads
    therealdbT therealdb

    Hey @toggledbits.

    I found a strange bug while sending boolean MQTT payloads in actions. Latest MQTT/Reactor builds.

    e64692f3-863f-4757-a542-574060e3bf1b-image.png

    Basically, if I send a true/false, it gets logged but it's not sent:

    [latest-25328]2025-12-31T11:36:23.958Z <MQTTController:INFO> MQTTController#mqtt x_mqtt.publish publishing foo/cmd/foo payload false

    If I change to ${{ str(1 == 1) }}, it goes thru. No apparent errors in logs.

    Multi-System Reactor

  • Possible feature request?
    therealdbT therealdb

    I did a "replace script" that's parsing JSON files and replacing references. Every time I change a device (i.e.: I pair a new Zwave device or replace some Wi-Fi thing with ZigBee/Zwave), I run it with old device and new device as params. Back in the days I mostly did it manually.
    Here's the todo list:

    • Stop reactor
    • Copy storage folder (and make a backup)
    • Search for the old device ID and change accordingly
    • Save files, copy to storage folder
    • Start Reactor again

    I agree a much needed feature will be the ability to filter rules by device. At least you'll easily spot the ones not used in code blocks and that will be useful when you don't remember the exact rule that is doing something with a particular device.

    Multi-System Reactor

  • Genuinely impressed with Zigbee and HA / Reactor
    therealdbT therealdb

    I tried different things and after all I’ve just switched to my own emulated hue bridge, calling reactor HTTP endpoints. I was toying with the idea of sending MQTT commands, but HTTP just works. I did my own bridge because I have 100 switches/scenes/virtual switches mapped to Alexa and ha-bridge has not the ability to define multiple bridges on the same host, so I wrote mine 😬

    But ha-bridge should just work. Never tried HASS native hue emulation. I tried matter bridge and unfortunately Alexa will only see 20 devices.

    Zigbee

  • Logic Assistance: Exterior Lights on when Illuminance Below Threshold
    therealdbT therealdb

    Back in the days I used an illuminance binary sensor to do this (linked to a fibaro relay), but now I’m using civil dawn/dusk and called it a day.

    All that said, I’m still using an illuminance sensor indoor in my office to drive my blinds.

    My logic is like the one you mentioned: once triggered, the low light state stays true for at least two hours. When driving lights/blinds, hysteresis is fundamental.

    I was toying with the idea of using a time series, so I could get let’s say a trend and/or the avg in the latest 15 minutes or so, but it seemed overkill for this simple situation.

    Multi-System Reactor

  • Single protocol?
    therealdbT therealdb

    As you may already know, I'm heavily invested in Zwave (70+ devices at the main house, 40 in the beach one), curious towards Shelly Wifi (4-5 devices added when using Vera, that I'll eventually ditch for Zwave) and slowly starting interest in ZigBee.

    I find Zwave life after Vera to be definitely better and the mesh still more stable than Zigbee or WiFi.

    I've started a new journey to learn more about Matter and I've recently started working on a matterbridge plugin to call HTTP endpoints as in the old ha-bridge days. Problem is, while Matter may seems a standard, vendors have their own preferences over implementation, with the result that support is not complete and you'll see ridiculous constraints, such as no more than 20 matter devices supported on your Alexa network.

    We'll see, I avoided tuya because of cloud links and the only cloud-only things I have are my Nest thermostats, bought when I was thinking that it will eventually become less important, because they were the only thermostats that were good to show. Today, I'll not buy them.

    All that said, my older Zwave devices are 10 years old and apart 2-3 I had to replace because of relay that stops working, all is good and mesh is stable as it has never been, thanks to ZWA-2.

    General Discussion

  • Any thoughts on which is better
    therealdbT therealdb

    if you connect to HAOS VM, there's no need to install Zigbee2MQTT.

    image.png

    This should be recognized by HAOS as well. Otherwise, map the USB to your Zigbee2MQTT VM/Docker image and you're good to go. Remember to get an USB cable, so the radio is not near the internal USB port - that's better in terms of radio.

    Zigbee

  • Any thoughts on which is better
    therealdbT therealdb

    @CatmanV2 yes. you could use it directly or via Zigbee2MQTT, as I did (because I wanted to fiddle around).

    Home Assistant

    Home Assistant Connect ZBT-2

    Home Assistant Connect ZBT-2

    The easiest way to start with Zigbee or Thread is now even better.

    Zigbee

  • Any thoughts on which is better
    therealdbT therealdb

    I have this Home Assistant ZBT-2 in one house, and SONOFF ZBDongle-E in another and both are working OK with Zigbee2MQTT. Mostly plug&play (just the setup is not very straightforward - but manageable), definitely good after setup.

    Zigbee

  • Reactor Loading Screen Safari
    therealdbT therealdb

    yes, fine on my Mac and on iOS 26 as well.

    Multi-System Reactor

  • Home Assistant Connect ZWA-2 & ZBT-2
    therealdbT therealdb

    Well, taking a backup inside ZWaveJS is a breeze - and yes, it's very easy to backup (or restore) the NVM on the ZWA-2. In fact, I just restored a backup from UZB to ZWA-2 and I was good to go.

    I think you'll never need to move it around the house, because the antenna is huge. No problems in pairing devices either, but that was the case with UZB before and I think it's a ZWave JS prerogative in general. It was just plug&play for me, but I understand that if you have to change your logic to match new device IDs it may make sense to start from scratch - time permitting.

    Hardware

  • Home Assistant Connect ZWA-2 & ZBT-2
    therealdbT therealdb

    @toggledbits are external Zwave controllers supported via USB? that could be another route, as in the old Vera days.

    Hardware

  • Home Assistant Connect ZWA-2 & ZBT-2
    therealdbT therealdb

    @tunnus I see there's a beta for C8. The point is to just take a NVM backup in the format supported by ZwaveJS. after that, it's a breeze to restore it on a new controller, if you have a minimum SDK/fw version, as mentioned in the ZWA release notes.
    It's wort a try, if you have lots of Zwave devices and unpair/repair them is out of question for you.
    I'm still on my original ZWave network I built in a previous house 10+ years ago - and that's a testament to the enormous flexibility that Zwave offered me in the last decade.

    Hardware

  • Home Assistant Connect ZWA-2 & ZBT-2
    therealdbT therealdb

    @tunnus if you could install ZwaveJS on your c8, just backup the nvm, take the file and restore it on your final controller. Easier than you’d think. Secondary controllers promoted to primary are always a mess in my experience.

    Hardware

  • Home Assistant Connect ZWA-2 & ZBT-2
    therealdbT therealdb

    After all these years, no NAK/CAN is a joy to see 🙂

    image.png

    Hardware

  • [MSR] Feature request: For Each action on arrays/groups
    therealdbT therealdb

    yep, parameters for reactions will definitely improve my job here, specially when speaking of thermostats/HVAC in general. Thanks as always for your support, Patrick!

    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