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

christian_fabre

@christian_fabre
Struggling to setup my first Tasmota device and MQTT
cw-kidC
Topic thumbnail image
Multi-System Reactor
Raspberry Pi 4 dual RAM variant introduced to mitigate RAM price increases
toggledbitsT
Article here that may be of interest to some: https://www.cnx-software.com/2026/02/05/raspberry-pi-4-dual-ram-variant-introduced-to-mitigate-ram-price-increases-and-supply-challenges/
SBC
Existing Rule stopped working HTTP command fetching IP address from website
cw-kidC
Topic thumbnail image
Multi-System Reactor
Condition for trend
T
Topic thumbnail image
Multi-System Reactor
Set reaction triggering wrong z-wave device
T
Topic thumbnail image
Multi-System Reactor
Can you run MSR on Home Assistant OS ?
cw-kidC
Looking at using Home Assistant for the first time, either on a Home Assistant Green, their own hardware or buying a cheap second hand mini PC. Sounds like Home Assistant OS is linux based using Docker for HA etc. Would I also be able to install things like MSR as well on their OS ? On the same box? Thanks.
Multi-System Reactor
RPi Alternative: Orange Pi 4 LTS (3GB RAM/16GB eMMC)
toggledbitsT
The last of four boards I'm trying in this batch is the Orange Pi 4 LTS. I purchased a 3GB RAM + 16GB eMMC model from Amazon for $83, making it the most costly of the four boards tried, but still well under my US$100 limit. This board is powered by a Rockchip RK3399-T processor, ARM-compatible with dual Cortex-A72 cores and quad Cortex-A53 cores at 1.6Ghz (1.8Ghz for the 4GB model); compare this to the RPi 3B+ with four Cortex-A53 and the RPi 4B with four Cortex-A72, this board is a hybrid that I would expect to stand in the performance middle between the two RPi models. It's available in 3GB and 4GB DDR4 RAM configurations, with and without 16GB eMMC storage. It has a MicroSDHC slot, gigabit Ethernet, WiFi and BT, two USB 2.0 type A ports, one USB 3.0 type C port, a mini PCIe ribbon-cable connector (requires add-on board for standard connector), two each RPi-compatible camera and LCD ports, HDMI type A, and can be powered (5VDC/3A) via USB-C or DC type C (3.8mm OD/1.1mm ID) jack (center-positive), an odd and perhaps unwelcome departure from the more common type A (5.5mm/2.1mm). A serial port for console/debug can be connected by using a (not included) USB-TTL adapter (3.3V) via pin headers like the Orange Pi Zero 2. The included dual-band antenna connects via U.FL connector to the board, so it's easy substituting for another if you prefer. The manufacturer recommends use of a heat sink (which was included in the box). A metal cooling case is also offered by the manufacturer (a bundle with the metal case and a power supply is sold on Amazon for $90 as of this writing). The Orange Pi 4 LTS is somewhat longer than the RPi 4B, and although the boards are the same width, the mounting hole placement is different both in length and (oddly) width. Between this and the differences in connector locations, neither board is a drop-in replacecment for the other and their respective cases are not interchangeable. The 26-pin header is a subset of the RPi 4B's 40-pin header, so some HATs for the RPi may work (although the mounting hole differences will make securing them "interesting"), and some HATs will surely not. Models with eMMC storage have an OS installed and boot immediately with SSH daemon running and ready for login. Mine was running Debian Bullseye, which would probably be fine for most users. It had clearly been on there a while, because it needed a lot of updates, but it's a current distro, so you're running out of the box with something that will last. A different OS can be installed by downloading an image (once again I chose Ubuntu Jammy) and writing it to a MicroSD card, then booting the system from the SD card. You can either leave the system in that state (running the OS from the SD card), or copy the OS from the SD card to the eMMC. The latter is done by a script; documentation for the process is best described in the downloadable PDF User Manual. This took about 10 minutes and went smoothly, and I was able to boot the system without the SD card after the process completed. I have lingering questions around the value of the eMMC storage. It's definitely faster than using MicroSD or USB-based storage (I got 311MB/s average on a 4GB write, compared to MicroSD performance around 15MB/s), but it would take a long-term test of this product to determine if the on-board eMMC option has the stamina to take the write counts typical of Linux systems, and if its wear-leveling and error correction are sufficient to assure a long, error-free life. Given the high premium apparently being paid for including eMMC on the board, it should be fast and durable, but only time and experience (perhaps painful) would tell the latter. A careful configuration with other Flash-friendly filesystems could be used to reduce wear, but this is an advanced configuration/cookbook topic and beyond the scope of this writing. This question is also not unique to eMMC — MicroSD cards are also known to fail with high write cycles, so the use of a "high endurance" product is recommended for any and all systems using MicroSD as primary storage. The board has Mini PCIe capability, and that may be a storage alternative, but read on... Also bear in mind that the eMMC storage is fixed-size forever; it cannot be expanded, and 16GB can run out pretty quickly these days. Users of MicroSD cards for primary storage can upgrade to bigger cards, but when users of eMMC primary storage outgrow it, the only choice is to add a MicroSD card or other "external" storage to the system, move part of the filesystem to it, and then manage both storage devices and deal with the limitations and risks of both. As I mentioned with the Orange Pi Zero 2, if you are going to use this board as a home automation controller/gateway or similar role, it should (IMO) have a battery-backed real time clock (RTC), and Orange Pi offers an add-on module that connects directly to the 26-pin header on the board. An available expansion board provides a standard Mini PCIe interface and SIM card slot (hmm...), but it connects to the main board via a short ribbon cable, and its mounting holes have no complement on the main board, so it seems like it would be a fragile dangly thing that's a nuisance to deal with. I want to like this board more, and it's very capable, but I'm concerned about value. The limited options for eMMC (16GB or none), the question mark of the eMMC's longevity vs cost, the strange DC power connector choice, the lack of 40-pin GPIO on a full-size (plus) board, the inconsistent hole placement, and the fragile Mini PCIe arrangement, are all "cons" that devalue this board in my view. The price point is clearly driven by the additional capabilities of the board (camera support, ports, six core CPU, extra RAM, on-board eMMC storage), but unfortunately, a great many of these features may not be useful for home automation, and therefore potentially a waste of money. In terms of overall value, I still believe the Libre "Le Potato" seems a better choice to me, and the Orange Pi Zero 2 (very) a close second, but I'll admit I'm focused on a particular application and your needs may be better suited to what this board offers than mine. Passmark Results: OrangePi 4 LTS Cortex-A72 (aarch64) 6 cores @ 1200 MHz | 2.9 GiB RAM Number of Processes: 6 | Test Iterations: 1 | Test Duration: Medium -------------------------------------------------------------------------- CPU Mark: 583 Integer Math 12037 Million Operations/s Floating Point Math 2542 Million Operations/s Prime Numbers 4.5 Million Primes/s Sorting 3141 Thousand Strings/s Encryption 153 MB/s Compression 4049 KB/s CPU Single Threaded 154 Million Operations/s Physics 80.5 Frames/s Extended Instructions (NEON) 244 Million Matrices/s Memory Mark: 498 Database Operations 551 Thousand Operations/s Memory Read Cached 2524 MB/s Memory Read Uncached 2602 MB/s Memory Write 3182 MB/s Available RAM 1947 Megabytes Memory Latency 119 Nanoseconds Memory Threaded 6243 MB/s --------------- eMMC storage write 311MB/s average for 4GB; MicroSD (Samsung 32GB class 10) storage write 15MB/s.
SBC
RPi Alternative: Orange Pi Zero 2 (1GB)
toggledbitsT
Topic thumbnail image
SBC
RPi Alternative: Libre Computer AML-S905X-CC "Le Potato" (2GB RAM)
toggledbitsT
With Raspberry Pi boards continuing to be relatively scarce, I've been trying a few alternatives to see what may be usable and good. I had previously written about the Jetson Nano 2GB, which is great, but a little pricey, so I'm trying to find sub-US$100 boards that will run Reactor. I've got four that I'm trying now, but one in particular goes right to work in the most predictable way and seems worth a mention immediately: the Libre Computer Board AML-S905X-CC 2GB (known as "Le Potato"). The form factor is very similar to that of the Raspberry Pi 3 B+, and has comparable CPU (ARM Cortex-A53, quad 64-bit cores at 1.5+GHz -- slightly higher clock speed). It's US$35 on Amazon and LoverPi in the (recommended) 2GB configuration, and easy to get. Startup is like RPi: download one of the available OS images (Ubuntu, Raspbian, Debian, ARMbian, etc.) from their site and write the image to a MicroSD card, insert into slot, power up, and off you go. I tried the Ubuntu 22.04 image first and it comes right up. No problem getting nodejs 18.12.1 installed and running (with Reactor). No WiFi on board, but I don't see that as a minus for use as a controller/hub (which should be hard-wired, IMO). The 40-pin GPIO connector is compatible with typical RPi HATs (PoE, breakouts, etc.). There is an available eMMC (solid state storage) module to use instead of MicroSD, which I would recommend for long-term use. It runs US$25 for 32GB (64GB and 128GB available). The module is scarcely larger than the chip it carries, and has the smallest board-to-board connector I've ever seen. Next up: ESPRESSObin 2GB (spoiler: it's... technical...)
SBC
HA and AI
CatmanV2C
Having hours of (actually quite fun) interaction with AI (Chat GPT) making up dashboards and sensors for HA. It's OK (well it's better than I am!) but it makes soooo many mistakes. Gets there in the end though, if you've half a clue (which I do half the time) C
Home Assistant
How to upgrade from an old version of MSR?
cw-kidC
Hello I haven't updated my installation of MSR in a very long time. Its a bare metal Linux install currently on version 24366-3de60836 I see the latest version is now latest-26011-c621bbc7 I assume I cannot just jump from a very old version to the latest version? Or can I? Thanks
Multi-System Reactor
This trigger no longer working - complaining about the operator needing changing
cw-kidC
Topic thumbnail image
Multi-System Reactor
Self test
CatmanV2C
Having been messing around with some stuff I worked a way to self trigger some tests that I wanted to do on the HA <> MSR integration This got me wondering if there's an entity that changes state / is exposed when a configured controller goes off line? I can't see one but thought it might be hidden or something? Cheers C
Multi-System Reactor
Access control - allowing anonymous user to dashboard
tunnusT
Using build 25328 and having the following users.yaml configuration: users: # This section defines your valid users. admin: ******* groups: # This section defines your user groups. Optionally, it defines application # and API access restrictions (ACLs) for the group. Users may belong to # more than one group. Again, no required or special groups here. admin_group: users: - admin applications: true # special form allows access to ALL applications guests: users: "*" applications: - dashboard api_acls: # This ACL allows users in the "admin" group to access the API - url: "/api" group: admin_group allow: true log: true # This ACL allows anyone/thing to access the /api/v1/alive API endpoint - url: "/api/v1/alive" allow: true session: timeout: 7200 # (seconds) rolling: true # activity extends timeout when true # If log_acls is true, the selected ACL for every API access is logged. log_acls: true # If debug_acls is true, even more information about ACL selection is logged. debug_acls: true My goal is to allow anonymous user to dashboard, but MSR is still asking for a password when trying to access that. Nothing in the logs related to dashboard access. Probably an error in the configuration, but help needed to find that. Tried to put url: "/dashboard" under api_acls, but that was a long shot and didn't work.
Multi-System Reactor
VEC Virtual Switch Auto Off
S
I use Virtual Entity Controller virtual switches which I turn on via webhooks from other applications. Once a switch triggers and turns on, I can then activate associated rules. I would like each virtual switch to automatically turn off after a configurable time (e.g., 5 seconds, 10 seconds). Is there a better way to achieve this auto-off behavior instead of creating a separate rule for each switch that uses the 'Condition must be sustained for' option to turn it off? With a large number of these switches (and the associated turn-off rules), I'm checking to see if there is a simpler approach.If not, could this be a feature request to add an auto-off timer directly to the virtual switches. Thanks Reactor (Multi-hub) latest-26011-c621bbc7 VirtualEntityController v25356 Synology Docker
Multi-System Reactor
Upcoming Storage Change -- Got Back-ups?
toggledbitsT
TL;DR: Format of data in storage directory will soon change. Make sure you are backing up the contents of that directory in its entirety, and you preserve your backups for an extended period, particularly the backup you take right before upgrading to the build containing this change (date of that is still to be determined, but soon). The old data format will remain readable (so you'll be able to read your pre-change backups) for the foreseeable future. In support of a number of other changes in the works, I have found it necessary to change the storage format for Reactor objects in storage at the physical level. Until now, plain, standard JSON has been used to store the data (everything under the storage directory). This has served well, but has a few limitations, including no real support for native JavaScript objects like Date, Map, Set, and others. It also is unable to store data that contains "loops" — objects that reference themselves in some way. I'm not sure exactly when, but in the not-too-distant future I will publish a build using the new data format. It will automatically convert existing JSON data to the new format. For the moment, it will save data in both the new format and the old JSON format, preferring the former when loading data from storage. I have been running my own home with this new format for several months, and have no issues with data loss or corruption. A few other things to know: If you are not already backing up your storage directory, you should be. At a minimum, back this directory up every time you make big changes to your Rules, Reactions, etc. Your existing JSON-format backups will continue to be readable for the long-term (years). The code that loads data from these files looks for the new file format first (which will have a .dval suffix), and if not found, will happily read (and convert) a same-basenamed .json file (i.e. it looks for ruleid.dval first, and if it doesn't find it, it tries to load ruleid.json). I'll publish detailed instructions for restoring from old backups when the build is posted (it's easy). The new .dval files are not directly human-readable or editable as easily as the old .json files. A new utility will be provided in the tools directory to convert .dval data to .json format, which you can then read or edit if you find that necessary. However, that may not work for all future data, as my intent is to make more native JavaScript objects directly storable, and many of those objects cannot be stored in JSON. You may need to modify your backup tools/scripts to pick up the new files: if you explicitly name .json files (rather than just specifying the entire storage directory) in your backup configuration, you will need to add .dval files to get a complete, accurate backup. I don't think this will be an issue for any of you; I imagine that you're all just backing up the entire contents of storage regardless of format/name, that is the safest (and IMO most correct) way to go (if that's not what you're doing, consider changing your approach). The current code stores the data in both the .dval form and the .json form to hedge against any real-world problems I don't encounter in my own use. Some future build will drop this redundancy (i.e. save only to .dval form). However, the read code for the .json form will remain in any case. This applies only to persistent storage that Reactor creates and controls under the storage tree. All other JSON data files (e.g. device data for Controllers) are unaffected by this change and will remain in that form. YAML files are also unaffected by this change. This thread is open for any questions or concerns.
Multi-System Reactor
Oddness in Copy/Move of Reactions
G
Topic thumbnail image
Multi-System Reactor
[Solved] function isRuleEnabled() issue
CrilleC
Topic thumbnail image
Multi-System Reactor
[Reactor] Problem with Global Reactions and groups
therealdbT
Topic thumbnail image
Multi-System Reactor
Possible feature request 2?
CatmanV2C
Just another thought. Adding devices from my Home Assistant / Zigbee2MQTT integration. Works perfectly but they always add as their IEEE address. Some of these devices have up to 10 entities associated, and the moment they are renamed to something sensible, each of those entities 'ceases to exist' in MSR. I like things tidy, and deleting each defunct entity needs 3 clicks. Any chance of a 'bulk delete' option? No biggy as I've pretty much finished my Z-wave migration and I don't expect to be adding more than 2 new Zigbee devices Cheers C
Multi-System Reactor
About
Posts
54
Topics
6
Shares
0
Groups
0
Followers
1
Following
2

Posts

Recent Best Controversial

  • New to Home Automation Looking for a Single app?
    C christian_fabre

    Ring doorbell is supported by Home Assistant.

    Home Assistant

    Ring

    Ring

    Instructions on integrating Ring.com devices with Home Assistant.

    General Discussion

  • looking for a light switch with presence sensor?
    C christian_fabre

    I am testing the following presence sensors:
    Sensor FP2 - AQARA
    Sensor SNZB-06P - SONOFF
    The Aqara detector can detect several areas, and several people, and seems to be very reliable.
    I'm starting to test the sonoff which only detects a presence and which costs much less.

    General Discussion

  • MIOS - UI5 web login
    C christian_fabre
    MiOS
    click on the link(cp.mios.com/mysystems.php)
    mios.jpg

    General Discussion

  • MIOS - UI5 web login
    C christian_fabre

    https://cp.mios.com/login.php```

    MiOS
    General Discussion

  • MIOS - UI5 web login
    C christian_fabre
    MiOS
    General Discussion

  • No drop-down list on Entity Attribute in "Creation Rule Sets" interface
    C christian_fabre

    Following the change of browser (Microsoft Edge) and the proper functioning of the entities dialog box, I modified my Google Chrome version
    from the beta version (Version 111.0.5563.50 (Official build) beta (64 bits))
    to the stable version (Version 110.0.5481.178 (Official Build) (64-bit))
    to see that it works fine.
    Thank you once again for your help which solved my problem which had been going on for several days...
    Cordially

    Multi-System Reactor

  • No drop-down list on Entity Attribute in "Creation Rule Sets" interface
    C christian_fabre

    I'm using Google Chrome Version 111.0.5563.50 (Official Build) beta (64 bit)
    I refreshed the browser, but the click does not open the entities dialog
    I just found that I have the same problem on Global expressions, I can't display the entities list.
    I feel like the call function to open the entities dialog is not working.

    Multi-System Reactor

  • No drop-down list on Entity Attribute in "Creation Rule Sets" interface
    C christian_fabre

    @toggledbits
    *
    Yes, but clicking does not open the dialog box: nothing happens....
    I already use a version of Reactor installed on another Raspberry pi4, installed without Docker and it works fine.

    I'm migrating to a new raspberry pi 4 where I installed Docker, Portainer, MQTT, Zigbee2Mqtt, Zwave-js-ui without issue.
    The installation of Reactor seems correct, the only problem is that no dialog box opens when clicking to select an entity.
    I restarted the installation several times and I have the same observation.
    Can you please give me some hint to try to solve this problem. Why does the click not call the entities dialog box?
    THANKS

    Multi-System Reactor

  • No drop-down list on Entity Attribute in "Creation Rule Sets" interface
    C christian_fabre

    New installation of Reactor version 23063-c464b685 on a Raspberry PI4 with Portainer/Docker.
    Report :
    No drop-down list on Entity Attribute in "Creation Rule Sets" interface
    I can however visualize the entities.
    I have configured HomeAssistant and all entities are coming up fine.
    I have an unsupported Hass version 2023.3.0b5.
    I'm new to Docker and can someone guide me to a solution?
    Christian FABRE

    Alert:
    reactor_20230305_01.png Rule :
    reactor_20230305_02.png Entities:
    reactor_20230305_03.png log Reactor :

    [latest-23063]2023-03-05T09:51:49.575Z <app:null> Process ID 1 user/group 0/0; docker; platform linux/arm64 #1595 SMP PREEMPT Wed Oct 26 11:07:24 BST 2022; locale (undefined)
    [latest-23063]2023-03-05T09:51:49.576Z <app:null> Basedir /opt/reactor; data in /var/reactor/storage
    [latest-23063]2023-03-05T09:51:49.577Z <app:null> NODE_PATH=/opt/reactor:/opt/reactor/node_modules
    [latest-23063]2023-03-05T09:51:49.584Z <app:INFO> Configured locale (undefined); selected locale(s) en-US.UTF-8
    [latest-23063]2023-03-05T09:51:49.708Z <app:INFO> Loaded locale en-US for en-US
    [latest-23063]2023-03-05T09:51:49.725Z <Structure:null> Module Structure v22323
    [latest-23063]2023-03-05T09:51:49.729Z <Capabilities:null> Module Capabilities v22356
    [latest-23063]2023-03-05T09:51:49.806Z <Capabilities:NOTICE> System capabilities loaded from core distribution, data version 23058 revision 1
    [latest-23063]2023-03-05T09:51:49.849Z <Plugin:null> Module Plugin v22300
    [latest-23063]2023-03-05T09:51:49.869Z <TimerBroker:null> Module TimerBroker v22283
    [latest-23063]2023-03-05T09:51:49.878Z <Entity:null> Module Entity v22353
    [latest-23063]2023-03-05T09:51:49.889Z <Controller:null> Module Controller v23044
    [latest-23063]2023-03-05T09:51:49.926Z <default:null> Module Ruleset v22293
    [latest-23063]2023-03-05T09:51:49.928Z <default:null> Module Rulesets v22146
    [latest-23063]2023-03-05T09:51:49.943Z <GlobalExpression:null> Module GlobalExpression v22146
    [latest-23063]2023-03-05T09:51:49.977Z <Predicate:null> Module Predicate v22345
    [latest-23063]2023-03-05T09:51:49.987Z <AlertManager:null> Module AlertManager v22283
    [latest-23063]2023-03-05T09:51:49.995Z <Rule:null> Module Rule v22345
    [latest-23063]2023-03-05T09:51:50.004Z <GlobalReaction:null> Module GlobalReaction v22324
    [latest-23063]2023-03-05T09:51:50.008Z <Engine:null> Module Engine v23001
    [latest-23063]2023-03-05T09:51:50.019Z <httpapi:null> Module httpapi v23058
    [latest-23063]2023-03-05T09:51:50.078Z <wsapi:null> Module wsapi v23053
    [latest-23063]2023-03-05T09:51:50.080Z <app:NOTICE> Starting Structure...
    [latest-23063]2023-03-05T09:51:50.100Z <Structure:NOTICE> Structure#1 plugin ID influx disabled; skipping
    [latest-23063]2023-03-05T09:51:50.106Z <Structure:INFO> Structure#1 loading controller interface hass (HassController)
    [latest-23063]2023-03-05T09:51:50.210Z <HassController:null> Module HassController v23060
    [latest-23063]2023-03-05T09:51:50.639Z <Structure:INFO> Structure#1 loading controller interface groups (DynamicGroupController)
    [latest-23063]2023-03-05T09:51:50.649Z <DynamicGroupController:null> Module DynamicGroupController v22313
    [latest-23063]2023-03-05T09:51:50.659Z <Structure:INFO> Structure#1 loading controller interface reactor_system (SystemController)
    [latest-23063]2023-03-05T09:51:50.672Z <SystemController:null> Module SystemController v22306
    [latest-23063]2023-03-05T09:51:50.680Z <Structure:INFO> Starting controller HassController#hass
    [latest-23063]2023-03-05T09:51:50.682Z <HassController:NOTICE> HassController#hass starting...
    [latest-23063]2023-03-05T09:51:50.691Z <Controller:INFO> HassController#hass loaded hass capabilities ver 22312 rev 2 format 1 
    [latest-23063]2023-03-05T09:51:50.715Z <Controller:INFO> HassController#hass loaded implementation data ver 23058 rev 1 format 1 
    [latest-23063]2023-03-05T09:51:50.715Z <Structure:INFO> Starting controller DynamicGroupController#groups
    [latest-23063]2023-03-05T09:51:50.728Z <Controller:NOTICE> Controller DynamicGroupController#groups is now online.
    [latest-23063]2023-03-05T09:51:50.728Z <Structure:INFO> Starting controller SystemController#reactor_system
    [latest-23063]2023-03-05T09:51:50.733Z <Controller:NOTICE> Controller SystemController#reactor_system is now online.
    [latest-23063]2023-03-05T09:51:50.877Z <HassController:INFO> HassController#hass device mapping data loaded; checking...
    [latest-23063]2023-03-05T09:51:50.881Z <HassController:WARN> HassController: implementation of capability input_select.selector does not provide attribute values
    [latest-23063]2023-03-05T09:51:50.884Z <HassController:NOTICE> HassController#hass connecting to ws://192.168.1.31:8123/api/websocket
    [latest-23063]2023-03-05T09:51:50.894Z <app:NOTICE> Starting HTTP server and API...
    [latest-23063]2023-03-05T09:51:50.901Z <httpapi:NOTICE> httpapi: starting HTTP service on port "8111"
    [latest-23063]2023-03-05T09:51:50.909Z <app:NOTICE> Starting Reaction Engine...
    [latest-23063]2023-03-05T09:51:50.910Z <Engine:INFO> Reaction Engine starting
    [latest-23063]2023-03-05T09:51:50.911Z <Engine:INFO> Checking rule sets...
    [latest-23063]2023-03-05T09:51:50.916Z <Engine:INFO> Checking rules...
    [latest-23063]2023-03-05T09:51:50.923Z <Engine:INFO> Data check complete; no corrections.
    [latest-23063]2023-03-05T09:51:50.938Z <Rule:NOTICE> rule-leu8xfe4 (rule-leu8xfe4 in First Rule Set) starting
    [latest-23063]2023-03-05T09:51:50.939Z <Engine:NOTICE> Reaction Engine running!
    [latest-23063]2023-03-05T09:51:50.939Z <Rule:NOTICE> rule-leu8xfe4 (rule-leu8xfe4 in First Rule Set) can't start -- rule is disabled
    [latest-23063]2023-03-05T09:51:50.952Z <httpapi:NOTICE> httpapi: listening
    [latest-23063]2023-03-05T09:51:50.981Z <app:NOTICE> Starting WSAPI...
    [latest-23063]2023-03-05T09:51:50.983Z <wsapi:NOTICE> wsapi: starting version 23053
    [latest-23063]2023-03-05T09:51:51.080Z <Engine:INFO> [Engine]Engine#1 master timer tick, local time "3/5/2023 10:51:51 AM" (TZ offset 60 mins from UTC)
    [latest-23063]2023-03-05T09:51:51.119Z <HassController:NOTICE> HassController#hass connected, starting protocol
    [latest-23063]2023-03-05T09:51:51.127Z <httpapi:INFO> httpapi: API request from ::ffff:192.168.1.42: GET /api/v1/systime
    [latest-23063]2023-03-05T09:51:51.145Z <HassController:INFO> HassController#hass successful authentication with ws://192.168.1.31:8123; fetching initial data...
    [latest-23063]2023-03-05T09:51:51.155Z <HassController:INFO> HassController#hass Hass reports version "2023.3.0b5" location Maison timezone Europe/Paris state RUNNING safe_mode false
    [latest-23063]2023-03-05T09:51:51.245Z <HassController:NOTICE> HassController#hass no signature match for update.home_assistant_supervisor_update
    [latest-23063]2023-03-05T09:51:51.248Z <HassController:NOTICE> HassController#hass no signature match for update.home_assistant_core_update
    [latest-23063]2023-03-05T09:51:51.249Z <HassController:NOTICE> HassController#hass no signature match for update.terminal_ssh_update
    [latest-23063]2023-03-05T09:51:51.250Z <HassController:NOTICE> HassController#hass no signature match for update.file_editor_update
    [latest-23063]2023-03-05T09:51:51.251Z <HassController:NOTICE> HassController#hass no signature match for update.samba_backup_update
    [latest-23063]2023-03-05T09:51:51.252Z <HassController:NOTICE> HassController#hass no signature match for update.home_assistant_operating_system_update
    [latest-23063]2023-03-05T09:51:51.253Z <HassController:NOTICE> HassController#hass no signature match for sun.sun
    [latest-23063]2023-03-05T09:51:51.285Z <HassController:NOTICE> HassController#hass no signature match for calendar.calendrier
    [latest-23063]2023-03-05T09:51:51.413Z <HassController:NOTICE> HassController#hass no signature match for siren.piscine_siren
    [latest-23063]2023-03-05T09:51:51.419Z <HassController:NOTICE> HassController#hass no signature match for camera.portillon
    [latest-23063]2023-03-05T09:51:51.607Z <Controller:INFO> HassController#hass 0 dead entities older than 86400000s purged
    [latest-23063]2023-03-05T09:51:51.633Z <Controller:NOTICE> Controller HassController#hass is now online.
    [latest-23063]2023-03-05T09:51:51.634Z <DynamicGroupController:INFO> All controllers ready, setting up dynamic groups
    [latest-23063]2023-03-05T09:51:51.726Z <wsapi:INFO> wsapi: connection from ::ffff:192.168.1.42
    [latest-23063]2023-03-05T09:51:55.510Z <wsapi:INFO> client "192.168.1.42#1" closed, code=1001, reason=
    [latest-23063]2023-03-05T09:51:55.815Z <httpapi:INFO> httpapi: API request from ::ffff:192.168.1.42: GET /api/v1/lang
    [latest-23063]2023-03-05T09:51:55.843Z <wsapi:INFO> wsapi: connection from ::ffff:192.168.1.42
    [latest-23063]2023-03-05T09:51:56.849Z <httpapi:INFO> httpapi: API request from ::ffff:192.168.1.42: GET /api/v1/systime
    [latest-23063]2023-03-05T09:52:07.392Z <httpapi:INFO> httpapi: API request from ::ffff:192.168.1.42: GET /api/v1/systime---
    

    Log Portainer:

    NODE_PATH /opt/reactor:/opt/reactor/node_modules
    [latest-23063]2023-03-05T08:55:17.734Z <app:null> Reactor build latest-23063-c464b685 starting on v16.15.1
    [latest-23063]2023-03-05T08:55:17.736Z <app:null> Process ID 1 user/group 0/0; docker; platform linux/arm64 #1595 SMP PREEMPT Wed Oct 26 11:07:24 BST 2022; locale (undefined)
    [latest-23063]2023-03-05T08:55:17.737Z <app:null> Basedir /opt/reactor; data in /var/reactor/storage
    [latest-23063]2023-03-05T08:55:17.738Z <app:null> NODE_PATH=/opt/reactor:/opt/reactor/node_modules
    [latest-23063]2023-03-05T08:55:17.875Z <Structure:null> Module Structure v22323
    [latest-23063]2023-03-05T08:55:17.879Z <Capabilities:null> Module Capabilities v22356
    [latest-23063]2023-03-05T08:55:18.004Z <Plugin:null> Module Plugin v22300
    [latest-23063]2023-03-05T08:55:18.023Z <TimerBroker:null> Module TimerBroker v22283
    [latest-23063]2023-03-05T08:55:18.032Z <Entity:null> Module Entity v22353
    [latest-23063]2023-03-05T08:55:18.042Z <Controller:null> Module Controller v23044
    [latest-23063]2023-03-05T08:55:18.079Z <default:null> Module Ruleset v22293
    [latest-23063]2023-03-05T08:55:18.080Z <default:null> Module Rulesets v22146
    [latest-23063]2023-03-05T08:55:18.096Z <GlobalExpression:null> Module GlobalExpression v22146
    [latest-23063]2023-03-05T08:55:18.129Z <Predicate:null> Module Predicate v22345
    [latest-23063]2023-03-05T08:55:18.139Z <AlertManager:null> Module AlertManager v22283
    [latest-23063]2023-03-05T08:55:18.146Z <Rule:null> Module Rule v22345
    [latest-23063]2023-03-05T08:55:18.156Z <GlobalReaction:null> Module GlobalReaction v22324
    [latest-23063]2023-03-05T08:55:18.159Z <Engine:null> Module Engine v23001
    [latest-23063]2023-03-05T08:55:18.171Z <httpapi:null> Module httpapi v23058
    [latest-23063]2023-03-05T08:55:18.232Z <wsapi:null> Module wsapi v23053
    [latest-23063]2023-03-05T08:55:18.358Z <HassController:null> Module HassController v23060
    [latest-23063]2023-03-05T08:55:18.780Z <DynamicGroupController:null> Module DynamicGroupController v22313
    [latest-23063]2023-03-05T08:55:18.803Z <SystemController:null> Module SystemController v22306```
    Multi-System Reactor

  • Adding remotes, scene controllers as entities to MSR
    C christian_fabre
    # If you have more than one of any type of controller, just copy the section for controller type
    # and give it new (unique) "id". There is no limit on the number of controllers.
    controllers:
    
      - id: hass
        enabled: true
        implementation: HassController
        name: A Home Assistant system
        config:
          source: 'wss://XX.XX.XX.XX:8123'
          access_token: "YYYYYYYYY"
          #
          event_targets:    # this section starts the event-receiving entities
                  "Hank_SCN04_bp1":      # Assign an ID to your entity; each entity must have a unique ID
                   name: Hank_bp1   # This is optional but recommended, so you have a friendly name
                   capabilities: ['button']  # define an array of capabilities to be modified by the event 
                   events:  # define an array of events that modify capability attributes on the entity
                     - event:  # start of an event; each element of the events array begins this way
                         event_type: zwave_js_value_notification
                         data:  # optional section, if further matching to the event data is required
                           node_id: 12
                           property: "scene" # Square button
                           property_key: "001"
                       response:  # begin the (required) response section for handling the event
                         "button.state":  # an attribute that the event modifies.
                           from: "event.data.value"  # dot-reference expression to pull value from event message
                           map:                    # optional, map to modify value
                             KeyPressed: 'appui_court'   # if value is value_in, it is mapped to new_value
                             KeyReleased: 'appui_relache'
                             KeyHeldDown: 'appui_maintenu'
                         "button.since":  # an attribute that the event modifies.
                           from: "event.context.id"  # dot-reference expression to pull value from event message		
                  "Hank_SCN04_bp2":      # Assign an ID to your entity; each entity must have a unique ID
                   name: Hank_bp2   # This is optional but recommended, so you have a friendly name
                   capabilities: ['button']  # define an array of capabilities to be modified by the event 
                   events:  # define an array of events that modify capability attributes on the entity
                     - event:  # start of an event; each element of the events array begins this way
                         event_type: zwave_js_value_notification
                         data:  # optional section, if further matching to the event data is required
                           node_id: 12
                           property: "scene" # Square button
                           property_key: "002"
                       response:  # begin the (required) response section for handling the event
                         "button.state":  # an attribute that the event modifies.
                           from: "event.data.value"  # dot-reference expression to pull value from event message
                           map:                    # optional, map to modify value
                             KeyPressed: 'appui_court'   # if value is value_in, it is mapped to new_value
                             KeyReleased: 'appui_relache'
                             KeyHeldDown: 'appui_maintenu'
                         "button.since":  # an attribute that the event modifies.
                           from: "event.context.id"  # dot-reference expression to pull value from event message
                  "Hank_SCN04_bp3":      # Assign an ID to your entity; each entity must have a unique ID
                   name: Hank_bp3   # This is optional but recommended, so you have a friendly name
                   capabilities: ['button']  # define an array of capabilities to be modified by the event 
                   events:  # define an array of events that modify capability attributes on the entity
                     - event:  # start of an event; each element of the events array begins this way
                         event_type: zwave_js_value_notification
                         data:  # optional section, if further matching to the event data is required
                           node_id: 12
                           property: "scene" # Square button
                           property_key: "003"
                       response:  # begin the (required) response section for handling the event
                         "button.state":  # an attribute that the event modifies.
                           from: "event.data.value"  # dot-reference expression to pull value from event message
                           map:                    # optional, map to modify value
                             KeyPressed: 'appui_court'   # if value is value_in, it is mapped to new_value
                             KeyReleased: 'appui_relache'
                             KeyHeldDown: 'appui_maintenu'
                         "button.since":  # an attribute that the event modifies.
                           from: "event.context.id"  # dot-reference expression to pull value from event message
                  "Hank_SCN04_bp4":      # Assign an ID to your entity; each entity must have a unique ID
                   name: Hank_bp4   # This is optional but recommended, so you have a friendly name
                   capabilities: ['button']  # define an array of capabilities to be modified by the event 
                   events:  # define an array of events that modify capability attributes on the entity
                     - event:  # start of an event; each element of the events array begins this way
                         event_type: zwave_js_value_notification
                         data:  # optional section, if further matching to the event data is required
                           node_id: 12
                           property: "scene" # Square button
                           property_key: "004"
                       response:  # begin the (required) response section for handling the event
                         "button.state":  # an attribute that the event modifies.
                           from: "event.data.value"  # dot-reference expression to pull value from event message
                           map:                    # optional, map to modify value
                             KeyPressed: 'appui_court'   # if value is value_in, it is mapped to new_value
                             KeyReleased: 'appui_relache'
                             KeyHeldDown: 'appui_maintenu'
                         "button.since":  # an attribute that the event modifies.
                           from: "event.context.id"  # dot-reference expression to pull value from event message
          #
          #
    

    I abruptly attach a copy of my file.
    I was inspired by the code given in the posts above
    It works correctly for me.

    Multi-System Reactor

  • Rule corruption after sudden power outage
    C christian_fabre

    Thank you for your reply
    My system is a Raspberry Pi4 4GB with a 120GB SSD from stock.
    Which is weird, I had the same problem twice following power outages.
    I'm going to power it through my inverter to prevent this from happening again.

    Multi-System Reactor

  • Rule corruption after sudden power outage
    C christian_fabre

    Context :

    • MSR version 22203 on Raspberry Pi4.
    • A new power outage due to a violent storm.
      when the electricity returns, I notice that some Rules do not work correctly.
      In fact all those that use "Run Reaction".
      It is missing in Set Reaction the entire part after the first Run Reaction and cannot be recreated.
      I was able to remount a backup to be able to find all my functionalities.
      FYI, I had the same problem 2 weeks ago.2022-08-17reactor_1.png 2022-08-17reactor_2.png 2022-08-17reactor_3.png
    Multi-System Reactor

  • MSR actions aren't running anymore-- can't find what's broken
    C christian_fabre

    I had the same problem yesterday following a power outage.
    I saw that MSR reacted but there was no effective reaction.
    I didn't see anything in the logs
    I reinstalled MSR and the problem went away.

    Multi-System Reactor

  • Adding remotes, scene controllers as entities to MSR
    C christian_fabre

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

    Multi-System Reactor

  • Smart door lock
    C christian_fabre

    I live in France.
    Personally, I have had a "The Keys" connected lock for 2 or 3 years with a WiFi Bridge, which I will surely change soon.
    It has an API, a smartphone application.
    I am interested in this lock currently:
    NUKI SMART LOCK 3.0 PRO (BLACK), BLUETOOTH/WI-FI CONNECTED LOCK

    General Discussion

  • Summer Time : fonction interval
    C christian_fabre

    the previous example: for a recurrence of 2 weeks:
    even week number and Date/Time condition --> Action 1
    odd week number and Date/Time condition --> Action 2

    Multi-System Reactor

  • Summer Time : fonction interval
    C christian_fabre

    tthank you.
    I had thought about it but I didn't want to use the interval function anymore.
    Could we also have a choice of week number?

    Multi-System Reactor

  • Summer Time : fonction interval
    C christian_fabre

    Thank you for your answers.
    I modified as you suggest and it seems more coherent to me.
    On the other hand, I also have 2 recurrences every 2 weeks, in turn:
    Wednesday 1--> Action1,
    Wednesday 2--> Action2,
    Wednesday 3--> Action1,
    Wednesday 4--> Action2,
    etc...
    I don't see how to do...

    Multi-System Reactor

  • Summer Time : fonction interval
    C christian_fabre

    reactor_01.png

    recactor02.png

    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