Multi-System Reactor

695 Topics 6.8k Posts
  • 8 Votes
    1 Posts
    611 Views
    No one has replied
  • 5 Votes
    99 Posts
    12k Views
    Reactor build 24115 Entities UI: When a capability filter is selected, the value column header displays a selector allowing the user to display a value in the column other than the primary value for the filtered entities. The extensions subdirectory ext may now be located under config, which makes its location uniform for bare-metal and docker users; this will eventually become the standard location. It is not necessary at this time to relocate your existing ext directory if you have one — either or both the old and new locations will work for the foreseeable future. Improve the coordination of the Reactions and Rules displays when open and interacting on multiple displays (e.g. when you delete a reaction on one screen, it should disappear from the other(s)). Fix a browser-side performance issue/delay with reconnection to a restarting Reactor service when the Status page is up and displaying the Recently Changed Entities widget. This also improves the memory consumption and performance of the widget generally. Increase tolerance for damage to most storage objects, particularly those that only maintain state that can usually be safely rebuilt on the fly. For those that cannot, like rules and expressions, isolate a faulty file and ignore the object with an alert to the user. Preserve the broken file. PR 0000367 Localization of the new strings in the rule state override menu and state display have been added. PR 0000368 Fix missing localization string for Copy Attributes button in Entities list entity detail card. Report detected time zone and offset in startup messages. Add time zone display to hover title on browser and host times in UI header. New wifi_status system capability for WiFi-connected devices that can report connection status. PR 0000369 Docs: Add documentation for ev_charger system capability. HassController now supports responses from services that support them; whether required or optional, a response will be requested and stored in x_hass.last_response on the target Reactor entity. The data returned is not processed in any way; it is written as-received to the attribute. Tip: if possible, always make the service call from the target entity, not from the system entity. HassController: Bless Hass to 2024.4.4 MQTTController 24114

    NOTE: This version requires Reactor build 24115 or higher

    Add template for Shelly RGBW2 (using Gen1 API) called shelly_rgbw2_color (requires topic). Add support for wifi_status capability for some devices; more to come. Previously, those devices stored WiFi status info in x_mqtt_device (extended capability) attributes. Now that a first-class capability is being used, the extended attributes are deprecated and will be removed from a future release. Templates may now remove an action from an entity if it isn't supported by the device. This is done by specifying the action's value as false. If a device cannot support any action of a capability, the entire default list of actions for the capability can be removed by specifying the capability value as false in the actions section of the template. For an example, see the template shelly_rgbw2_color implementation for capability light_effect action set_speed, and the action implementation for the button capability. Templates may now define custom actions in x_mqtt_device. Including an arguments object in the standard action arguments format allows the template to notify the UI of the arguments required by the action. For an example, see the template shelly_rgbw2_color action x_mqtt_device.set_white.
  • 0 Votes
    2 Posts
    4 Views

    Updates to extension controllers and Reactor itself (and its included controllers) often change the definition of capabilities and their implementation. To bring the entities up to the latest version of these capabilities and compatibility with their parent Controller's implementation, the entity is rebuilt, and when that happens, all previous attributes values are lost. Not doing it can result in logged errors and other more serious misbehavior. I can look into less dramatic solutions, but it won't be soon.

  • Need Testers

    9
    1 Votes
    9 Posts
    106 Views

    OK. A build with user authentication is now up on the download server (and dockerhub for docker users). The branch for this test is called userauth (as opposed to latest).

    Bare-metal users will have the easiest time installing, because you just need to download the userauth package instead of the latest package, and then install/update as usual.

    Docker users will likely find it harder to make this switch. If you are using docker-compose, you can just change the image name in your config file from latest to userauth; then update (docker-compose pull) and start. But for NAS users and those not using docker-compose, you will need to rebuild your container. You can keep your configs and storage data; just make sure your new container points to the same directory where all that's stored (everything in the container configuration should be the same). See the installation instructions for reference, and look at/capture the settings of your current container before you launch into rebuilding it with the new image.

    To configure access control, see the documentation.

    If you run into any showstoppers, just rename your users.yaml file to something else (e.g. Xusers.yaml or users.yaml-disabled and restart Reactor, and that will disable access control. Otherwise, this release is identical to 24115, and you can switch between the two without problems.

  • 1 Votes
    41 Posts
    1k Views

    v 24111 with support for wifi_status just posted to https://github.com/dbochicchio/reactor-mqtt-contrib.

    My system is stable at the moment and I'm not throwing new things at it, so there is no need for new templates. Let me know if you need a particular template or feel free to contribute.

  • 0 Votes
    16 Posts
    274 Views

    Awesome, that did the trick!

    Screenshot 2024-04-25 at 9.31.15 AM.png

  • Can't Restart Reactor - Corrupted SD Card?

    7
    0 Votes
    7 Posts
    148 Views

    To close this thread out, it wasn't a Reactor issue. My Rpi 3B+ was simply overheating and throttling processes. Moved to an Odroid N2+ with a heatsync running Ubuntu and everything is running smoothly!

  • Post-DST and MSR not reflecting local time

    18
    0 Votes
    18 Posts
    1k Views

    @toggledbits yeah, I just got new hardware and am considering moving to the containerized version. But that's going to take some time as it's tech I've not played with before and my day job + new puppy haven't left much dev hours these months. 🙂

    MSR is now very integral to the operation of this house so I need to tread carefully when poking the proverbial bear.

  • 0 Votes
    3 Posts
    155 Views

    Rene,

    You don't need all that, this should be sufficient:

    select_capabilities: power_sensor: attributes: value: true

    or the equivalent, using an array of attribute names (my favorite):

    select_capabilities: power_sensor: attributes: [ 'value' ]

    or using the other YAML array syntax:

    select_capabilities: power_sensor: attributes: - value

    You can also use a negative to suppress an attribute:

    select_capabilities: power_sensor: attributes: [ '-units' ]

    Also, can I ask that you go back and fix the formatting of the code sections of your posts, for the benefit of future readers looking at your question and example solution?

  • Need guidance on local MQTT capabilities

    5
    0 Votes
    5 Posts
    182 Views

    Ah, if I only known what to search for or had a really good memory I would have found ev_charger announced here but not listed in Standard Capabilities 🙂

    My charger seems to ignore out of range values as well so ev_charger was the missing piece in my quest, thank you @therealdb.

  • 0 Votes
    5 Posts
    329 Views

    Just finding this but defo interested.

  • Hubitat "hubitat" is reconnecting alert

    2
    0 Votes
    2 Posts
    143 Views

    I have also encountered this problem on a recurring basis. I tried many different approaches - reboot RPI, restart MSR, reboot hubs - to correct the issue, usually without success. Earlier is week I decided to try something different. I "repaired" the "Hub Information Driver" using the Hubitat Package Manager. As so I the "repair" was complete on the hub, the problem disappeared.

  • JS Zwave / Kwikset PIN codes

    2
    0 Votes
    2 Posts
    144 Views

    You would likely need to use the x-hass.call-service action on the lock entity and your service ID would be zwave_js.set_lock_usercode. In the data portion you'd have to fill out the code_slot and code. Note that this will not work if your lock isn't securely included with your HASS controller.

  • 0 Votes
    4 Posts
    171 Views

    @apocalypsehobby please read the posting guidelines, a pinned post in this category. There are some specific requests for log files and snippets.

    Also rgbcolor.set takes a hex color code or decimal equivalent. It's probably not what you want to be using. set_rgb is more common.

  • 0 Votes
    5 Posts
    246 Views

    Thank you! That really helps. The zero-sized storage/states/cs-rule-ll4rewlj.json is the only file you need to remove. Just stop the container, remove the file, and restart. That should clear it. The data in that file will be rebuilt.

  • ZWaveJSController - open/close reversal

    3
    0 Votes
    3 Posts
    147 Views

    @toggledbits It seems that the blinds reversed direction. There's a setting in HA's ZWaveJS UI:

    22849767-a6c2-43f1-8850-86a75b2e1c29-image.png

    This was set to No and the result was the blinds closing tilted up on the inside. After deploying 23326 they close tilted down on the inside. I needed to change this setting to yes for each blind in ZWave JS UI and also any Reactions that had partial open percentages from .8 to .2 (for instance) to have the blind open 20% from closed.

    I tested this thru MSR ZWaveJSController with cover.open and cover.close as well as position.set and the results were consistent: 180° opposite of what they were before 23326.

  • 0 Votes
    10 Posts
    251 Views
  • 0 Votes
    3 Posts
    133 Views

    That setting is in Users & Account Info - Security - Enable potentially unsafe lua code, like wget and RunLua.

    It was unchecked. I checked it again and Reloaded the engine and it started working again. I am not sure how that setting got turned OFF as I didn't do it.

    But thanks anyway for pointing me in the right direction !

  • Expression for Seconds Left in Day

    Solved
    3
    0 Votes
    3 Posts
    119 Views

    Exactly what I needed thanks Patrick!!

  • Widgets and filtering

    10
    0 Votes
    10 Posts
    270 Views

    @toggledbits I was thinking of the list of running tasks as "Set Rules", a simple way of having this query.

Recent Topics