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

basai

@basai
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
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
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
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
[Solved] 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
Issue with MSR UI becoming unresponsive
S
I'm having an issue with MSR's UI being very unresponsive. It started happening a couple days ago and I didn't make any changes that would have caused this except adding some meross lan devices in HA. When I go into an entity action and use the search functionality, it usually will start filtering and then get to a place after a few letters are entered where it will take 30 seconds or more (sometimes minutes) for the UI to show what I am typing. During this time MSR ui is completely unresponsive. I've tried multiple browsers and multiple computers. HA and MSR are both deployed in docker. I have run HTOP on the host and when the problem happens there are no CPU/Memory spikes at all. From a functionality standpoint MSR is working perfectly. This seems to be an UI issue only. Do i need to ditch Docker and run MSR on a Proxmox VM? I have both stand alone Docker and Proxmox environments. I dont mind doing that I just want to be able to use the UI again... Installation method Home Assistant Container Core 2025.7.3 Frontend 20250702.3 nothing crazy in the logs except some openweather map stuff that doesn't make any sense as it is working fine in MSR Any help would be greatly appreciated Reactor latest-25328-b2ed1365 app 25328 configuration from /var/reactor/config NODE_PATH /opt/reactor:/opt/reactor/node_modules [latest-25328]2025-11-30T20:01:53.843Z <app:null> Reactor build latest-25328-b2ed1365 starting on v24.11.1 /usr/local/bin/node [latest-25328]2025-11-30T20:01:53.844Z <app:null> Process ID 1 user/group 0/0; docker; platform linux/x64 #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025; locale (undefined) [latest-25328]2025-11-30T20:01:53.844Z <app:null> Basedir /opt/reactor; data in /var/reactor/storage [latest-25328]2025-11-30T20:01:53.844Z <app:null> NODE_PATH=/opt/reactor:/opt/reactor/node_modules [latest-25328]2025-11-30T20:01:53.865Z <app:null> Resolved timezone=America/New_York, environment TZ=America/New_York; offset minutes from UTC=-300 [latest-25328]2025-11-30T20:01:53.867Z <default:null> Module i18n v25141 [latest-25328]2025-11-30T20:01:53.867Z <app:null> Configured locale (undefined); selected locale(s) en-US.UTF-8 [latest-25328]2025-11-30T20:01:53.879Z <app:null> Loaded locale en-US for en-US [latest-25328]2025-11-30T20:01:53.879Z <app:null> Local date/time using configured timezone and locale formatting is "11/30/2025, 3:01:53 PM" [latest-25328]2025-11-30T20:01:53.889Z <Structure:null> Module Structure v25326 [latest-25328]2025-11-30T20:01:53.890Z <Capabilities:null> Module Capabilities v24312 [latest-25328]2025-11-30T20:01:53.904Z <Plugin:null> Module Plugin v25141 [latest-25328]2025-11-30T20:01:53.923Z <Timer:null> Module Timer v25279 [latest-25328]2025-11-30T20:01:53.924Z <TimerBroker:null> Module TimerBroker v25314 [latest-25328]2025-11-30T20:01:53.927Z <Entity:null> Module Entity v25251 [latest-25328]2025-11-30T20:01:53.929Z <Controller:null> Module Controller v25253 [latest-25328]2025-11-30T20:01:53.930Z <AlertManager:null> Module AlertManager v25318 [latest-25328]2025-11-30T20:01:53.937Z <default:null> Module Ruleset v25283 [latest-25328]2025-11-30T20:01:53.937Z <default:null> Module Rulesets v25141 [latest-25328]2025-11-30T20:01:53.942Z <GlobalExpression:null> Module GlobalExpression v25258 [latest-25328]2025-11-30T20:01:53.953Z <Predicate:null> Module Predicate v25328 [latest-25328]2025-11-30T20:01:53.956Z <Rule:null> Module Rule v25323 [latest-25328]2025-11-30T20:01:53.958Z <GlobalReaction:null> Module GlobalReaction v25292 [latest-25328]2025-11-30T20:01:53.959Z <Engine:null> Module Engine v25325 [latest-25328]2025-11-30T20:01:53.964Z <httpapi:null> Module httpapi v25328 [latest-25328]2025-11-30T20:01:53.972Z <wsapi:null> Module wsapi v25328 [latest-25328]2025-11-30T20:01:53.994Z <TaskQueue:null> Module TaskQueue 24138 [latest-25328]2025-11-30T20:01:53.994Z <VeraController:null> Module VeraController v25141 [latest-25328]2025-11-30T20:01:54.179Z <HassController:null> Module HassController v25325 [latest-25328]2025-11-30T20:02:13.797Z <OWMWeatherController:null> Module OWMWeatherController v25268 [latest-25328]2025-11-30T20:02:13.800Z <SystemController:null> Module SystemController v25323 [latest-25328]2025-11-30T20:02:13.807Z <MQTTController:null> Module MQTTController v22092 [latest-25328]2025-11-30T20:02:20.630Z <OWMWeatherController:CRIT> FetchError: request to https://api.openweathermap.org/data/2.5/weather?lat=xxxxxxxxxx&lon=-xxxxxxxxx&appid=xxxxxxxxxxxxxxxxxxxxxxxxxx&units=standard&_r=1xxxxxxxxxxxxxxfailed, reason: [-] FetchError: request to https://api.openweathermap.org/data/2.5/weather?lat=xxxxxxxxxxx&lon=-xxxxxxxxxxxxxxxxxx&appid=xxxxxxxxxxxxxxxxxxx&units=standard&_r=xxxxxxxxxxxxxxxfailed, reason: at ClientRequest.<anonymous> (/opt/reactor/node_modules/node-fetch/lib/index.js:1501:11) at ClientRequest.emit (node:events:508:28) at ClientRequest.emit (node:domain:489:12) at emitErrorEvent (node:_http_client:108:11) at TLSSocket.socketErrorListener (node:_http_client:575:5) at TLSSocket.emit (node:events:508:28) at TLSSocket.emit (node:domain:489:12) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at processTicksAndRejections (node:internal/process/task_queues:89:21
Multi-System Reactor
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
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
About
Posts
18
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Runtime error latest-24366 when Create New Reaction
    B basai

    Confirming that 25016 has indeed resolved the error.

    Thank you !!

    Multi-System Reactor

  • Runtime error latest-24366 when Create New Reaction
    B basai

    @toggledbits Howdy, the error is as I posted and doesn't show that information. I took the instructions not to upload a screen shot too literally I suppose, apologies.

    Here is what it looks like on my end on Safari, and Firefox in OS X Sequoia.

    Screenshot 2025-01-17 at 11.09.04 AM.png

    Thanks,
    -bh

    Multi-System Reactor

  • Runtime error latest-24366 when Create New Reaction
    B basai

    Reactor (Multi-hub) latest-24366-3de60836
    Running on Proxmox 8 VM
    Ubuntu 22.04.5 LTS
    Docker version 27.5.0, build a187fa5
    Docker Compose version v2.32.3
    Browsers being used on Mac OS Sequoia: Safari, Firefox also occurs with Safari on iPhone 16 Pro 18.2.1

    This occurs on two different instances of MSR running at two different locations having the same environment detailed above.

    When I select "Reactions->Create Reaction" I get an error window with a red “Runtime Error:” banner. Note that I can edit and save existing Reactions

    —-------------------<SNIP>————————————
    Runtime Error:

    @http://192.168.119.137:8111/reactor/en-US/lib/js/reactor-ui-reactions.js:445:34

    You may report this error, but do not screen shot it. Copy-paste the complete text. Remember to include a description of the operation you were performing in as much detail as possible. Report using the Reactor Bug Tracker (in your left navigation) or at the SmartHome Community.
    ---------------------</SNIP>————————

    apt update, apt upgrade, reboot have been performed as well as
    docker system prune -a
    docker compose down
    docker compose up -d

    Many thanks in advance,
    -bh

    Multi-System Reactor

  • MSR SMTP Notifications fail - <wsapi:CRIT> Error: Engine has not been started
    B basai

    That was likely it now that you mention it. I did have a problem awhile back where I fat fingered a 2:00AM cron job that was supposed to trim backup files to only keep the last x days of *.tar.gz files which filled the partition. I bet the file date reflects when that happened 🙂

    Thanks again for the help and clarifying. Take care,
    -bh

    Multi-System Reactor

  • MSR SMTP Notifications fail - <wsapi:CRIT> Error: Engine has not been started
    B basai

    Thanks for the input.

    I'm not sure if deleting this zero length file was the right thing to do or not but it fixed the problem, the engine starts now and SMTP works.

    From the log:
    [latest-23218]2023-08-21T20:55:09.695Z <IndividualFileStrategy:ERR> [IndividualFileStrategy][IndividualFileStrategy#/var/reactor/storage/states] failed to read cs-rule-lbhys108 in /var/reactor/storage/states/cs-rule-lbhys108.json: 
    

    So basically the file /var/reactor/storage/states/cs-rule-lbhys108.json had a file length of "0"
    -rwx------ 1 501 staff 0 Jul 20 02:00 cs-rule-lbhys108.json

    I moved the file in question to a tmp directory, restarted reactor, the engine started and SMTP works now.

    Question:
    Was moving / effectively deleting this file from reactors view a bad thing to do that will cause future problems and is there anything else that need to do other than getting rid of that zero length file?

    Thanks,
    -bh

    Multi-System Reactor

  • MSR SMTP Notifications fail - <wsapi:CRIT> Error: Engine has not been started
    B basai

    MSR Version: latest-23218
    Running as Docker Container : Docker version 24.0.5, build ced0996
    OS: Linux 15BPMSR1 6.1.26-05272-g26c406245a2c #1 SMP PREEMPT_DYNAMIC Thu Apr 27 10:15:40 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

    SMTP notifications had been working fine and I am unsure exactly what action(s) stopped it from working.

    I have verified that the SMTP server configured in notifications.yml is working properly.

    To duplicate the problem I am forcing an SMTP email notification using the set reaction play button, the reactor.log shows the following errors:

    [latest-23218]2023-08-21T14:23:22.462Z <wsapi:ERR> [WSAPI]wsapi#1 can't queue reaction rule-lgxmrba4:S: [Error] Engine has not been started [-]
    [latest-23218]2023-08-21T14:23:22.463Z <wsapi:CRIT> Error: Engine has not been started [-]
    Error: Engine has not been started
        at Engine.queueReaction (/opt/reactor/server/lib/Engine.js:1494:46)
        at WSAPI.clientMessage (/opt/reactor/server/wsapi/wsapi.js:782:64)
        at WebSocket.<anonymous> (/opt/reactor/server/wsapi/wsapi.js:301:157)
        at WebSocket.emit (node:events:527:28)
        at WebSocket.emit (node:domain:475:12)
        at Receiver.receiverOnMessage (/opt/reactor/node_modules/ws/lib/websocket.js:1068:20)
        at Receiver.emit (node:events:527:28)
        at Receiver.emit (node:domain:475:12)
        at Receiver.dataMessage (/opt/reactor/node_modules/ws/lib/receiver.js:517:14)
        at Receiver.getData (/opt/reactor/node_modules/ws/lib/receiver.js:435:17)
    
    

    I have tried:

    OS level: apt udate and apt upgrade and reboot

    docker pull toggledbits/reactor:latest-aarch64
    latest-aarch64: Pulling from toggledbits/reactor
    Digest: sha256:d8a019d457c9fef61f7c3e6908db1f1d0a2d14b6f7c5e9d4fc536c791503d152
    Status: Image is up to date for toggledbits/reactor:latest-aarch64
    docker.io/toggledbits/reactor:latest-aarch64
    

    docker stop reactor
    docker start reactor

    docker compose down
    docker compose up -d

    To no avail.

    I feel like I'm missing something obvious but can't put my finger on it.

    Thank you in advance for any guidance.
    -bh

    Multi-System Reactor

  • Smart bed sensor
    B basai

    I think this would be an interesting sensor to have. I’m guessing you are sensing pressure / weight and returning a numeric value based on that vs a simple open / close. The reason being you is that you would need a base (empty bed) value in order to make decisions whether someone / thing is in bed or not or how many are in bed for that matter. The second reason is that beds have different numbers of legs depending on the type of bed and therefore weight distribution comes into the picture, so sensing pressure or weight vs open / close seems like it would give you more options and even interest from other markets.

    Meaning, if this is a pressure / weight type sensor it could have other applications as well expanding your market. For example, I have a salt tank that holds a few hundred pounds of salt for my water treatment system. I could record the initial numeric values at different levels and use that information to know when it is low and needs more salt. I would be interested in doing that.

    Just my $.02

    Take care and good luck.

    -bh

    General Discussion

  • Is latest-22337 in DockerHub?
    B basai

    Howdy,

    Has anyone successfully installed 22337 via Docker Hub?

    I'm currently running latest-22310 on Qnap NAS 5.0.0.1986

    My usual method which is normally successful, is that in the Qnap CLI I run a docker pull (stdout below of what I got for 22337):

    >basai ~]$ docker pull toggledbits/reactor:latest-amd64
    > latest-amd64: Pulling from toggledbits/reactor
    > 8663204ce13b: Already exists 
    > 8c392e9e905c: Already exists 
    > 36ce72f2f129: Already exists 
    > 2e8529c47e46: Already exists 
    > 26c2865d7fe4: Pull complete 
    > b45a2cf2a065: Pull complete 
    > ac02d13d40de: Pull complete 
    > 2bd82a6d3d8c: Pull complete 
    > Digest: sha256:a192e403200a62664cec40f40f61499218ac9a0cae3b8ed8390f87679505105d
    > Status: Downloaded newer image for toggledbits/reactor:latest-amd64
    > docker.io/toggledbits/reactor:latest-amd64
    

    But when I go into the Qnap's container station (part of my usual process) and search for reactor and do the install for 'latest-amd64' it installs latest-22310 and not latest-22337.

    Sanity checking before I go down the path of chasing down Qnap and/or Container Station problems.

    TIA
    -b

    Multi-System Reactor

  • What am I missing with this rule not setting?
    B basai

    I'm not exactly sure here trying to follow the logic, but since you are using constraints, could that be the reason? Meaning, there is a section in the manual that talks about constraints eg: "Unlike triggers, changes in the conditions of constraints do not cause the rule to set or unset. They are only used as filter to allow or prevent the rule from setting."

    Multi-System Reactor

  • 🎉 My very first MSR controller: OpenSprinkler
    B basai

    Happy Birthday !! Also, thanks for doing this. Take care, -b

    Multi-System Reactor

  • Can a rule be used to disable other rules?
    B basai

    Thank you all for your responses, you are an awesome bunch in this group and I have what I was looking for.

    Essentially toggling a rule as active or inactive can only be done manually, so I wasn't going crazy because this was something I could do in the Vera Reactor to another Reactor 🙂

    I have been using toggles in HAAS to toggle a state which I include as a 'constraint' within multiple MSR rules which works.

    What I was looking for is more of a 'kill switch’ to completely disable a rule or set of rules for reasons that come up from time to time where I manually disable them so there is no chance of them running. Not a show stopper by any means.

    Thanks again,
    -b

    Multi-System Reactor

  • Can a rule be used to disable other rules?
    B basai

    Howdy,

    My goal is to have a rule that when triggered will disable other certain pre-defined rule sets, but I can't seem to find a way to do it in MSR. Is it possible?

    In the MSR UI, rule sets are toggled manually to be enabled (green) and disabled (red). I would like to do this from within a rule.

    Running MSR version latest-22274-24dfd72c

    TIA,
    -bh

    Multi-System Reactor

  • MSR Set Reaction not working anymore
    B basai

    Howdy, Honestly I didn’t really think this was an MSR Set Reaction pandemic and was more than likely a locally induced error of some sort.

    This is fixed now based on something you said in your last reply suspecting an update problem which pulled me out of a loop and put me on the right path.

    Summary: Upgrading to latest-22274 fixed the problem but QNAP’s Container Station using the Docker Hub Tab would only download and install latest-22179. Not sure if this is a QNAP bug or feature.

    Detail: For the benefit of any QNAP NAS users out there I’ll explain.

    Using QNAP NAS’s Container Station, searching for “reactor” in the “Docker Hub” tab I would select "latest-amd64”, but it would only install latest-22179 and not the actual latest-22274. Picking up the NAS and shaking it a few times, turning it off and on again, or putting more quarters in it didn't help.

    In the past I didn’t find a need to do the following since I believe Container Station should be doing this all by self, and if not, user error on my part.

    So to fix this I ssh’d to the QNAP NAS CLI and ran.

    docker pull toggledbits/reactor:latest-amd64
    

    Which returned the following, I was feeling optimistic seeing the "pull completes' "

    [basai@basai ~]$ docker pull toggledbits/reactor:latest-amd64
    latest-amd64: Pulling from toggledbits/reactor
    8663204ce13b: Already exists 
    8c392e9e905c: Already exists 
    36ce72f2f129: Already exists 
    2e8529c47e46: Already exists 
    26c2865d7fe4: Pull complete 
    b45a2cf2a065: Pull complete 
    ac02d13d40de: Pull complete 
    2bd82a6d3d8c: Pull complete 
    Digest: sha256:a192e403200a62664cec40f40f61499218ac9a0cae3b8ed8390f87679505105d
    Status: Downloaded newer image for toggledbits/reactor:latest-amd64
    docker.io/toggledbits/reactor:latest-amd64
    [basai@basai ~]$
    

    After this completed, now when I went to create a new docker by going into container station, searching for “reactor” in the “Docker Hub Tab” and selected “latest-amd64” it correctly installed latest-22274 and also pre-populated the NODE_PATH variable correctly which wasn’t happening before.

    Problem solved and MSR is working as expected again.

    Thanks you for your help, MSR Rocks!
    -bh

    Multi-System Reactor

  • MSR Set Reaction not working anymore
    B basai

    @toggledbits

    Apologies for the confusion.

    I was trying to indicate, although poorly, that I did install 'latest' at first which didn't correct the problem and then opted to go with 'stable' thinking that was the better choice.

    As far as the MSR Set Reaction using haas vs vera per my report, I was testing both and neither worked when the rule is triggered, however the light does turn off when I manually select the play button next to the Set Reaction Rule for either the set haas or vera case. Unfortunately I neglected to reflect that correctly in my report and hence the mismatch / confusion

    HTH
    -bh

    Multi-System Reactor

  • MSR Set Reaction not working anymore
    B basai

    Iron: QNAP NAS
    Running MSR and HAAS on Docker (QNAP Container Station)
    Reactor (Multi-hub) stable-22203-81a2f3cc
    Home Assistant Core 2022.6.7
    Vera 1.7.5186 (7.31)
    Config files are stored in shared volumes on the NAS.
    Office light in example is joined to Vera-Plus

    Hello all,

    I decided to upgrade MSR to latest-amd64. It wasn’t until afterwards that I noticed all rulesets broken. So unfortunately I’m not sure if this was already broken before or I broke it after upgrading. Yes poor judgement on my part for being complacent.

    Never the less, this is broken globally across all rulesets, even though I can see the triggers change to “True” (Turn green).

    For this example, I have a boolean helper toggle in HAAS called “TV MODE HAAS SW”.

    When toggled ‘on’, MSR should turn my Vera office light OFF and it doesn’t, but if I manually select the play button to the right of the line in the Set Reaction, it executes properly and turns off the Vera office light.

    The MSR Rule does not have any Constraints set.

    I can see in MSR it recognizes the state changes yet doesn’t execute the “Set Reaction”.

    Any help greatly appreciated.

    Log files from reactor.log and screen shots to follow:

    Reactor.log when toggling the haas helper, Set Reaction doesn’t execute.

    [stable-22203]2022-10-02T21:21:34.799Z <Rule:INFO> TV MODE ON (Rule#rule-l2hvuz8r) starting evaluation; because entity-changed Entity#hass>input_boolean_tv_mode
    [stable-22203]2022-10-02T21:21:34.800Z <Rule:INFO> TV MODE ON (Rule#rule-l2hvuz8r) evaluated; rule state transition from RESET to SET!
    [stable-22203]2022-10-02T21:21:34.819Z <Rule:INFO> TV MODE ON (Rule#rule-l2hvuz8r) evaluation complete
    [stable-22203]2022-10-02T21:21:34.820Z <Engine:INFO> Enqueueing "TV MODE ON<SET>" (rule-l2hvuz8r:S)
    [stable-22203]2022-10-02T21:21:34.835Z <Engine:NOTICE> Starting reaction TV MODE ON<SET> (rule-l2hvuz8r:S)
    [stable-22203]2022-10-02T21:21:34.835Z <Engine:INFO> TV MODE ON<SET> all actions completed.
    

    Reactor.log when manually triggering the Set Reaction with the play button which correctly turns off the light

    [stable-22203]2022-10-02T21:23:25.035Z <HassController:null> HassController#hass: sending payload for power_switch.off on Entity#hass>light_office_86 action: [Object]{ "type": "call_service", "service_data": { "entity_id": "light.office_86" }, "domain": "homeassistant", "service": "turn_off" }
    

    When toggled ON
    toggled_on.png

    Rule config screen
    tv_mode_config.png

    Multi-System Reactor

  • git hub docker container not available?
    B basai

    It may be that you need to pull "latest-[flavor]" and not just "latest" eg: latest-amd64 etc. dependent on the image specific to your installation type.
    -bh

    Multi-System Reactor

  • Is a global timestamp expression possible ?
    B basai

    @toggledbits Thank you for the reply and solution.

    What confused me was that as an expression created within a Rule it worked fine, but now that I read your reply I see why, this was a "Doh!" on my part, I hadn't thought of it like that.

    Thanks again!,
    -b

    Multi-System Reactor

  • Is a global timestamp expression possible ?
    B basai

    I’ve looked and can’t find the answer which concerns me that the answer is obvious and thats why I can't find the answer to this.

    I’m new to MSR and this is my first post, so please bare with me 🙂

    What I’m trying to do is have a global expression that contains the current time so I can use it in Global reactions as well as Rulesets as part of my syslog messages.

    Example of what I’m experiencing:
    In Expressions, create a global expression: gMyTOD = strftime("%T %D”)
    In Rulesets, in a rule, create a local expression: MyTOD = strftime("%T %D”)

    In that same rule create a Notify type of Syslog.
    Set syslog message to: gMyTOD time is ${{gMyTOD}} and MyTOD time is ${{MyTOD}}
    Trigger the rule.

    The result is that the local expression (MyTOD) contains the correct time but the global expression (gMyTOD) does not update and reflects the wrong time in the final syslog message.

    Is there a different approach I should be using?

    Thank you in advance for any insight.

    -bh

    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