Skip to content

Multi-System Reactor

780 Topics 7.4k Posts
  • Sending a service request to Home Assistant

    Locked
    2
    0 Votes
    2 Posts
    232 Views
    toggledbitsT

    One of the big gaps in the Home Assistant API is that it doesn't expose what services are available on every entity. I don't think it actually knows. But, you can tell MSR that an entity uses a particular service. You should have a file called local_hass_devices.yaml in your config subdirectory. If not, it's no trouble to just add it. There's also a default version in dist-config you can copy. To that file, in the entities section, just add entry for the entity using its canonical ID, and the services you want to add to it. Here's a sample file to give you the general idea:

    # This file has local definitions/overrides for HomeAssistant devices. --- entities: # Entry shows how an entity can have a service added and its name forced "hass>sensor_connected_clients": name: "WebSocket Clients" services: - homeassistant # This media player is a Sonos device, so it supports TTS "hass>media_player_portable": services: - tts # This media player is a Sonos device, so it supports TTS "hass>media_player_media_room": services: - tts # "hass>switch_power_switch": services: - zwave_js

    Or, to do it the simplest way possible, there's a call_service action on the system entity for the HassController instance.

    5336b43c-b13d-4561-b33f-1cd2e1b61838-image.png

  • Logic loop? Throttling...

    Locked
    11
    0 Votes
    11 Posts
    547 Views
    wmarcolinW

    @toggledbits your suggestion worked perfectly!!

    With the version updated to 21286, moving all rules to the Global variable, the warnings ended, and I can see in the log that the action started to be invoked only at the given times, and the variable update as Global occurs only when there is an effective change in the device.

    Great knowledge exercise and one more lesson from you.

    Thanks @toggledbits !

  • The syntax of locale

    Locked
    4
    0 Votes
    4 Posts
    196 Views
    toggledbitsT

    It decides what locale to use when you go to http://reactor-ip:8111/reactor with no language code after... it redirects at that point. If you're already on http://reactor-ip/reactor/en-US/ (with language code) and refreshing, you're going to keep getting en-US.

    Ideally, you should not use the override config. The documentation is pretty clear on this. The correct way is to configure both your browser and the host system for your correct locale.

  • Flapping device

    Locked
    8
    0 Votes
    8 Posts
    425 Views
    tunnusT

    @toggledbits Coming back to this, eventually I was able to change the configuration (below), but still, whenever the washing machine is running, I keep getting the same alerts.

    Screenshot 2021-10-14 at 16.00.53.png

    These two rules that are mentioned in the alerts do not even trigger at the time of alerts, because not all conditions are true (see previous posts, where washing machine power switch state should be false for the rule to be triggered).

  • Trouble connecting Vera to MSR

    Locked
    17
    0 Votes
    17 Posts
    858 Views
    A

    I just let it run with the 14.17

  • Localization

    Locked
    11
    4 Votes
    11 Posts
    593 Views
    toggledbitsT

    OK. I'm updating the docs with all of this. Keep the discoveries and suggestions coming!

  • Array manipulation

    Locked
    2
    0 Votes
    2 Posts
    149 Views
    toggledbitsT

    Just filter it out in the loop:

    each id in dynamic_array: "vera>device_235" == id ? null : ( getEntity( id ).attributes.x_vera_device.failed ? id : null )
  • How to monitor sensors that stop working?

    Locked
    31
    0 Votes
    31 Posts
    2k Views
    wmarcolinW

    @toggledbits as always a master explanation, a class!

    You are absolutely right, the devices sleep, only communicate if they have an action or is time to communicate with the hub to update the status.

    So there is no sense Poll or Refresh commands that will not work, perfect!!

    In this case my devices are configured to communicate with the hub every 12 hours, I will decrease to 6 and have a more constant report.

    Well, exercise of the day closed, thanks again.

    The routine that I exposed at the beginning of testing CommFailure, I'll just change it to x_vera_device.failed that is more elegant 🙂

  • EzloController error

    Locked
    20
    0 Votes
    20 Posts
    763 Views
    N

    Now it's working again after I powered off/on ezlo controller and restarted Reactor. The log is too long, no privileges to upload it. It's not the first time it happens upgrating the container.
    ezloplus Firmware: 2.0.19.1714.2
    Thanks anyway.

    [latest-21281]2021-10-08T21:55:33.176Z <Controller:INFO> EzloController#ezlo hub inventory complete/successful; 837ms [latest-21281]2021-10-08T21:55:33.179Z <Controller:NOTICE> Controller EzloController#ezlo is now online.
  • Synology Docker installation

    Locked
    31
    0 Votes
    31 Posts
    2k Views
    LibraSunL

    For the record, I'm using "Hyper Backup" - a native Synology NAS app - to backup my entire /REACTOR folder structure to a folder in my Google Drive cloud account. Suggest other MSR users consider doing something similar, in the event of a local NAS drive malfunction.

  • Plugin Influxdb 2.0

    Locked
    2
    0 Votes
    2 Posts
    186 Views
    toggledbitsT

    I started working on 2.0; may be a couple of days yet. What's there currently supports 1.x only. The revision that comes will support 1.8+ and 2.0 only (nothing pre-1.8).

  • Docker Compose

    Locked
    11
    0 Votes
    11 Posts
    498 Views
    parkercP

    Just an FYI - the Docker compose I used to create MSR on my QNAP (intel) is below

    version: '3' services: reactor: image: toggledbits/reactor:1.0.1-generic-amd64 container_name: reactor environment: - PUID=1000 - PGID=1000 - TZ=Europe/London volumes: - /share/Container/reactor:/var/reactor network_mode: host restart: always
  • What notification system is best?

    Locked
    16
    0 Votes
    16 Posts
    672 Views
    therealdbT

    @pabla yep. It’s not a product, but very specific to my needs, so I’ve not released it. I’ll see if I could post some screenshot to be of inspiration to others. AFAIK home assistant has something like this built in (or, maybe, it’s open hab)

  • MSR on QNAP TS-321P

    Locked
    5
    0 Votes
    5 Posts
    290 Views
    T

    What do you know. It works. Well I still need to set up some Reactions to test it. Thanks.

  • [SOLVED] Reactor and LIFX API

    Locked
    7
    0 Votes
    7 Posts
    315 Views
    G

    Confirmed via testing that lights are responding to Reactor-issued commands again. Thanks for the quick turnaround, @toggledbits (and for saving my sanity.)

  • SiteSensor migration

    Locked
    22
    0 Votes
    22 Posts
    1k Views
    tunnusT

    @toggledbits will do

  • Installing MSR on Windows

    Locked
    13
    0 Votes
    13 Posts
    597 Views
    A

    @toggledbits said in Installing MSR on Windows:

    Tells me that you haven't installed the prerequisite dependencies, which is part of the installation instructions. Did you follow the installation instructions for Windows?

    Well, i did not download the node.js install package since I did that when i installed one of the first MSR-previews.
    Otherwise i followd all steps.
    (Except that i miss the config files because i was only updating in my mind and had no idea that CMD & PS makes a difference - You learn every day)

  • TypeError on build 21270-48528ec

    Locked
    9
    0 Votes
    9 Posts
    384 Views
    toggledbitsT

    @3rdstng said in TypeError on build 21270-48528ec:

    So I'm assuming the expr change was a work around and you fixed it elsewhere?

    That's correct!

  • [SOLVED] Reaction task failed

    Locked
    3
    0 Votes
    3 Posts
    199 Views
    3

    Found the errors, thank you, and confirm the other thread is the same issue. I do have SetVariable actions. However I am running in a docker and don't see the vera yaml file.

    EDIT: Consoled into the docker and updated the yaml file. Restarted the docker and tested OK. Thanks.

  • Latest version (21267-a507fec) stopped working

    Locked
    11
    0 Votes
    11 Posts
    445 Views
    cw-kidC

    Updated to 21270-48528ec MSR now loads again in the web browser (Chrome).

    However the menu headings don't look right:

    25a845bf-f098-473f-9392-16b1987854bc-image.png

    Thanks

    EDIT:

    Restarted MSR again and now they look normal:

    3f74c0d1-3dc2-4034-a471-61c675ffc952-image.png

Recent Topics