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.
cw-kidC

cw-kid

@cw-kid
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
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
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
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
[HowTo] Using HABridge with Reactor
therealdbT
If you’re like me and still running HABridge to control your devices locally via Alexa, you might need to tweak your endpoints to call Reactor via HTTP. Here’s the best way to do it, IMO: Insert the Reactor Canonical ID (e.g., zwavejs>71-1) into the MapID field, but make sure it’s URL-encoded like this: zwavejs%3E71-1. Then, configure these endpoints as needed: On: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/power_switch.on Off: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/power_switch.off Dim: For lights: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/dimming.set?level=${intensity.decimal_percent} For roller shutters: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/position.set?value=${intensity.decimal_percent} Color: http://[ReactorIP]:8111/api/v1/entity/${device.mapId}/perform/rgb_color.set_rgb?red=${color.r}&green=${color.g}&blue=${color.b} Just replace [ReactorIP] with your actual IP address. By using these placeholders, you can standardize your endpoints across all devices, making maintenance easier. This setup works with any device mapped under MSR, regardless of the controller (ZWaveJS, Vera, HASS, OpenSprinkler, virtual, MQTT, DynamicEntities, etc.). If you need different calls, just go to the entities, get the action and parameters, and adjust accordingly. Enjoy super fast access to your devices via Alexa! If you're migrating from Vera, the endpoints are (URL-encoded) in a file called device.db, in JSON format, under your config. You'd write a script to align the new endpoints to the new one, if you prefer to do it automatically. YMMV.
How-To
[Reactor] Bug when sending MQTT boolean payloads
therealdbT
Topic thumbnail image
Multi-System Reactor
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
Logic Assistance: Exterior Lights on when Illuminance Below Threshold
PablaP
Topic thumbnail image
Multi-System Reactor
Time series documentation
tunnusT
Is the current manual (incl. examples) up to date with how retention value is handled in time series configuration? Referring to this post
Multi-System Reactor
MQTT templates for ZIgbee scene controller, or a better way?
CatmanV2C
Topic thumbnail image
Multi-System Reactor
Reset a delay
CatmanV2C
I'm sure this has been asked, and answered, but damned if I can figure it out Use case: I have a rear garden with lights. A door from the kitchen into the garden and a door from the garage. Currently if I open the kitchen door the lights come on (yay) and a 3 minute delay starts. After 3 minutes, no matter what else happens, the lights go off (Boo! But also yay!) What I would like is for the 3 minute delay until the lights go off to start from the latest door open event. That is, if I'm going from kitchen to garage, and back again, the lights stay on until there's three minutes of no activity. I've tried 'hacking' with a virtual switch, but can't seem to stop the delay. Any pointers? TIA C
Multi-System Reactor
Zigbee2mqtt installed! sytemctl not happy :(
CatmanV2C
Hello oh great ones. After a couple of hours messing with ports and permissions I have Zigbee2mqtt installed and running on my virtual pi Can connect to the front end and everything Odd one though, simply cannot get systemctl to work and the error is, well, unhelpful. The service file is this: [Unit] Description=zigbee2mqtt After=network.target [Service] Environment=NODE_ENV=production Type=notify ExecStart=/usr/local/bin/node index.js WorkingDirectory=/opt/zigbee2mqtt StandardOutput=inherit # Or use StandardOutput=null if you don't want Zigbee2MQTT messages filling syslog, for more options see systemd.exec(5) StandardError=inherit WatchdogSec=10s Restart=always RestartSec=10s User=pi [Install] WantedBy=multi-user.target Straight out of the docs with the change to point to my local node install (which we know works as it's the same as the very fine Reactor is using. Running manually pnpm start in /opt/zigbee2mqtt works fine However: catman@openluup:/etc/systemd/system$ sudo systemctl start zigbee2mqtt.service Job for zigbee2mqtt.service failed because the control process exited with error code. See "systemctl status zigbee2mqtt.service" and "journalctl -xe" for details. Which I have catman@openluup:/etc/systemd/system$ sudo systemctl status zigbee2mqtt.service ● zigbee2mqtt.service - zigbee2mqtt Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2025-12-16 12:32:42 GMT; 4s ago Process: 3093 ExecStart=/usr/local/bin/node index.js (code=exited, status=217/USER) Main PID: 3093 (code=exited, status=217/USER) and -- A start job for unit zigbee2mqtt.service has begun execution. -- -- The job identifier is 17477. Dec 16 12:35:16 openluup systemd[3178]: zigbee2mqtt.service: Failed to determine user credentials: No such process Dec 16 12:35:16 openluup systemd[3178]: zigbee2mqtt.service: Failed at step USER spawning /usr/local/bin/node: No such process -- Subject: Process /usr/local/bin/node could not be executed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The process /usr/local/bin/node could not be executed and failed. -- -- The error number returned by this process is ERRNO. Dec 16 12:35:16 openluup systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=217/USER -- Subject: Unit process exited -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- An ExecStart= process belonging to unit zigbee2mqtt.service has exited. -- -- The process' exit code is 'exited' and its exit status is 217. Dec 16 12:35:16 openluup systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The unit zigbee2mqtt.service has entered the 'failed' state with result 'exit-code'. Dec 16 12:35:16 openluup systemd[1]: Failed to start zigbee2mqtt. -- Subject: A start job for unit zigbee2mqtt.service has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A start job for unit zigbee2mqtt.service has finished with a failure. Which strikes me as very odd. Any blindingly obvious things I'm missing? TIA! C
Zigbee
About
Posts
829
Topics
103
Shares
0
Groups
0
Followers
1
Following
0

Posts

Recent Best Controversial

  • I'm no longer a PLEG user !
    cw-kidC cw-kid

    Been using PLEG for about 8 or 9 years, I had 100 Conditions / Actions in PLEG, these are now all disabled and I've recreated them on MSR.

    Still learning MSR and how to do somethings but everything I was doing in PLEG was fairly easy to convert over to MSR once I found my feet a bit and got going.

    Thanks to everyone who answered any of my questions along the way when I got stuck.

    I have some Vera scenes I'd like to also convert to MSR, so not quite done yet. 😁

    Multi-System Reactor

  • How to auto start on Rpi reboot ?
    cw-kidC cw-kid

    @toggledbits said in How to auto start on Rpi reboot ?:

    rpi-install.sh

    9f322ffb-ca93-464b-9c47-fbec7c7e12b4-image.png

    This is the reactor.service file it created:

    # This file allows you to run your Reactor installation under systemd,
    # so it can be started at boot. Copy this file (as root or under sudo)
    # to /etc/systemd/system, and then run "systemctl daemon-reload". You
    # can then able Reactor to start at boot "systemctl enable reactor".
    # The usual systemctl subcommands can also be used to start, stop, and
    # restart reactor at will (e.g. "systemctl restart reactor").
    
    [Unit]
    Description=Multi System Reactor
    After=network.target
    
    [Service]
    Type=simple
    User=pi
    WorkingDirectory=/home/pi/Documents/reactor
    ExecStart=/usr/bin/node app -p
    Restart=on-failure
    RestartSec=5s
    
    [Install]
    WantedBy=multi-user.target
    
    

    I followed the rest of the instructions and I could see a reactor.pid file had been created and reactor was running again.

    I then rebooted my Pi and after it rebooted MSR is running again.

    So everything appears to have worked OK.

    Thanks

    Multi-System Reactor

  • Preview of Multi-System Reactor
    cw-kidC cw-kid

    P.S. I really like the new Entity Attribute picker and search dialogue box.

    Would of saved me a lot of time if we had it earlier but its definitely a big improvement.

    Multi-System Reactor

  • Replacing SiteSensor Plugin (Vera) with MSR
    cw-kidC cw-kid

    I've tried the Vera Multi-String plugin, it looks just like the type of plugin I was needing and looking for.

    You can have up to five variables on a device.

    6ec01036-3703-4888-8692-d47231b990d2-image.png

    83c68d4c-977a-422c-861b-11f16cbfe804-image.png

    You can then have your rule in MSR send the data to each variable etc.

    The Multi-String plugin devices data is also outputted in the Vera SDATA stream so these device will also work with the Home Remote dashboard app.

    { "name": "Covid-19 Stats", "altid": "", "id": 133, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "variablename1": "Confirmed", "variable1": "4329180", "variablename2": "Recovered", "variable2": "3787312", "variablename3": "Critical", "variable3": "615", "variablename4": "Deaths", "variable4": "126573", "variablename5": "", "variable5": "", "options": "", "configured": "0" },
    

    So I recommend using the Multi-String plugin rather than trying to create your own modified Generic IO devices as I was doing.

    Multi-System Reactor

  • Not so quiet around here :)
    cw-kidC cw-kid

    Gees, I know a lot of those names, didn't know Pabla and Crille were banned and I certainly didn't know ElCid was banned.

    Well I always speak my mind and if something doesn't work I'll say it doesn't.

    General Discussion

  • Support for 3rd party Vera plugins ?
    cw-kidC cw-kid

    AltHue Plugin for Vera:

    CONFIRMED AS WORKING - HUE SCENES

    The ServiceID's are now exposed in an Entity Action in an MSR rule or Global Reaction.

    You need to select the main AltHue device in your Entity Action, then select hue_scene from this list.

    3ece807e-067a-482f-b6b0-fb292b8823cb-image.png

    Go in to the AltHue main device in Vera UI7 web GUI and go in to the "Hue Scenes" area and find the scene in the list that you want to start in your MSR rule or Global Reaction.

    Copy its ID number.

    d961abcf-20cc-42f6-9b54-2f13702b66f0-image.png

    Back in MSR edit the Entity Action and paste in the ID number.

    ac481ffe-6a11-45cb-851f-e89e7ec00b49-image.png

    When I ran my MSR Global Reaction, my hue scene is started and my lights are now in Arctic Aurora.

    CONFIRMED AS WORKING - EFFECT COLORLOOP

    Next I created another Global Reaction and tried starting the Effect ColorLoop

    Choose the set_effect from the drop down list.

    The child ID is the AltHue child device aka the light that you want the colorloop to be on.

    and enter "colorloop" in the Effect field.

    0b01caba-2889-4148-a67e-69f35369d7c2-image.png

    When you run the Reaction, If the light is already turned ON the colorloop will start.

    However if the light is turned off nothing will happen, so I added an action to turn on the light first then run the colorloop effect, which is working.

    a20d30fe-a2e1-4534-95dc-d9d84ee82304-image.png

    Multi-System Reactor

  • Need help backing up Raspberry Pi
    cw-kidC cw-kid

    @catmanv2 said in Need help backing up Raspberry Pi:

    Have you got another SD card? Restore to that

    No I haven't. Not the same size anyway.

    I think I will buy another SanDisk 64GB SD card and make sure I can actually restore to a new card etc.

    General Discussion

  • Support for 3rd party Vera plugins ?
    cw-kidC cw-kid

    HARMONY POWER AND ACTIVITY STATUS - WORKING

    If I use this HTTP command it lists all the Activities on my Lounge Harmony Hub.

    http://VERA-IP/port_3480/data_request?id=lr_Harmony184&cmd=list_activities

    { "status": "OK", "msg": "OK", "data": { "activities": [ { "ID": "27585584", "Activity": "ChromeCast Video" }, { "ID": "23834935", "Activity": "Media Center" }, { "ID": "23834936", "Activity": "XBOX" }, { "ID": "23864128", "Activity": "Wii-U" }, { "ID": "43190809", "Activity": "Nintendo Switch" }, { "ID": "23834933", "Activity": "Freeview" }, { "ID": "-1", "Activity": "PowerOff" }, { "ID": "42772934", "Activity": "Fire TV" }, { "ID": "36455394", "Activity": "ChromeCast Audio" }, { "ID": "42766865", "Activity": "BT TV" } ] }, "code": 200 }

    In MSR I can see x_vera_plugin_harmony.activity_status ServiceID

    When there are no activities running e.g. OFF the status returned is 0

    And when I am in my Watch TV "BT TV" activity, the status is 2, so you should be able to work out which activity is what status number ?

    Activities OFF - Status = 0

    e716268a-4201-415d-9cbe-ec665c619628-image.png

    Watch TV Activity - Status = 2

    c60a6247-b893-47b5-9857-c4e22677d331-image.png

    So I created a rule that when my Harmony hub is OFF then turn off some LED strip lights.

    b1329efd-91e5-485e-8640-16a027c77d62-image.png

    Alternatively there is a ServiceID called x_vera_plugin_harmony.power_status

    It is FALSE when all my Harmony Activities are turned OFF, so we can potentially use this instead.

    99b89c25-cde9-494a-9a14-c46da8230463-image.png

    And finally I looked at x_vera_plugin_harmony.current_activity this will return the activity ID numbers.

    I know -1 = Powered OFF so I could have used this also.

    When my Harmony is in Watch TV activity "BT TV" its showing a number ID of 42766865 which is correct. If you look at my output at the start listing all the activities and their ID numbers.

    3393fcea-4e87-4d73-b41a-1e029a902b15-image.png

    So I could now create an MSR rule that does something only when I am in the Watch TV Harmony activity etc.

    Multi-System Reactor

  • Vera watch variable / startup LUA how ?
    cw-kidC cw-kid

    @therealdb OK its working ! I just pasted the raw code in to the startup LUA area and the virtual motion sensor now follows the real devices tripped status.

    I am writing a user guide for the Everspring EH403 Floodlight device, as it doesn't configure correctly after pairing with Vera.

    I will credit you for your code in the guide when I publish it on the forum.

    Thanks

    General Discussion

  • Expression value trigger not working ?
    cw-kidC cw-kid

    I just edited the rule and ticked "ignore case" again and saved and the rule is still working and triggering, so that was a red herring as you say.

    Multi-System Reactor

  • Replacing SiteSensor Plugin (Vera) with MSR
    cw-kidC cw-kid

    OK done

    https://reactor.toggledbits.com/mantisbt/view.php?id=147

    Thanks

    Multi-System Reactor

  • Replacing SiteSensor Plugin (Vera) with MSR
    cw-kidC cw-kid

    @LibraSun

    Its working. I now have my current WAN IP address being sent from MSR to a virtual device (Generic IO Sensor) on Vera.

    So now know how to send any data stored in an expression / variable from MSR to a device on Vera !

    Multi-System Reactor

  • Vera Run LUA Missing
    cw-kidC cw-kid

    @toggledbits said in Vera Run LUA Missing:

    Did I ever bother to ask why you just don't run the scene entity using its native run action?

    I am aware I can call Vera scenes directly using the scene entity and I do have some other rules that do that.

    However for this particular rule as I already explained I am running this LUA code to have various Vera scenes run randomly.

    local scenes = {"172", "173", "174", "175", "176", "271", "272"}
    local tmp_random_number = math.random(1,7)
    local  scene_id_to_launch = scenes[tmp_random_number]
    luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = scene_id_to_launch}, 0)
    
    Multi-System Reactor

  • Help with Burglar Alarm rule(s)
    cw-kidC cw-kid

    Thanks guys for all the suggestions a lot to take in.

    I'll have a proper read later and see if I can retire my existing scenes setup in Vera and migrate this functionality to MSR.

    Multi-System Reactor

  • How to shutdown a Windows 10 PC ?
    cw-kidC cw-kid

    OK just setup the rest of my MSR rule now with a Reset reaction, that gets the Vera Plus to run a LUA / os.execute shutdown command sent to the Windows 11 PC.

    So now when I start my Logitech Harmony activity for the Windows Games PC, MSR triggers the rule and gets Vera to send a WOL packet to the PC to wake it up.

    And when I end the Harmony activity the reset reaction in the MSR rule gets Vera to shutdown the PC.

    I even managed to get my Harmony Elite remote to launch RetroArch or Steam via buttons on the LCD screen and I also added a ALT+F4 button to exit the Windows apps.

    Next thing to figure out is how to split out the HDMI audio to a pair of PC speakers.

    Thanks.

    Multi-System Reactor

  • Is this possible? Store data from Asus Router ajax .asp page for Temperature data.
    cw-kidC cw-kid

    Yes that's right, info only

    image.png

    The routers CPU temp and WIFI chip temps however I am using those in another rules trigger to warn me if its getting hot. so those had to be Global Expressions.

    Multi-System Reactor

  • Using Grafana with MSR any tips ?
    cw-kidC cw-kid

    @toggledbits

    Thanks I did try math and * 100 but it kept changing itself back to / 100 instead.

    I will have another go.

    EDIT:

    Got it now, I was tabbing out of that field you have to hit enter instead.

    3566dadb-32da-4188-8a64-3005813800bd-image.png

    Software

  • Vera watch variable / startup LUA how ?
    cw-kidC cw-kid

    Thanks guys that's all working OK now

    General Discussion

  • Vera account suspended for a 1000 years
    cw-kidC cw-kid

    @pabla said in Vera account suspended for a 1000 years:

    So this is where all the banned Vera members rejoice

    Surprised they haven't banned me yet.

    I always state my mind, good or bad.

    Vera

  • Simple Time action running late
    cw-kidC cw-kid

    There are no constraints not using them as you told me not too LOL

    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