Multi-System Reactor

713 Topics 6.9k Posts
  • How to auto start on Rpi reboot ?

    Locked
    26
    0 Votes
    26 Posts
    966 Views

    @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

  • The x_vera_state capability is gone

    Locked
    22
    0 Votes
    22 Posts
    674 Views

    @librasun I believe that is fixed in Vera fw 7.32
    "12. Fixed the issues with not being able to remove or set an attribute or variable to the empty value".

  • MSR Import Bug

    Locked
    6
    1 Votes
    6 Posts
    168 Views

    @toggledbits Yeah I made too many changes to re-import at this stage. It was easy enough to change the entity states that were incorrect. All is good. I did have some weirdness with adding a virtual dimmer expression. I will put in a PR for that.

  • 0 Votes
    6 Posts
    132 Views

    Do not (ever) change the default logging level. Only change the logging level for the specific Rule and Rule#rule-id classes.

  • Accessing VOI from MSR

    Locked
    20
    0 Votes
    20 Posts
    447 Views

    You should be able to do it via voice commands. I added a specific section in read me and I’ll probably create a specific service in next version.

  • System integration roadmap

    Locked
    21
  • This topic is deleted!

    Locked
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Why doesn't this work ? Vera CommFailure Reset

    Locked
    1
    0 Votes
    1 Posts
    117 Views
    No one has replied
  • MSR and Switchboard TRI state switches

    Locked
    3
    0 Votes
    3 Posts
    114 Views

    Got it. Thanks.

  • Time triggers not firing

    Locked
    2
    0 Votes
    2 Posts
    132 Views

    Just a note that log timestamps (the ones starting each log line) are always in Z/UTC, but many timestamps reported in the log line text are displayed in configured local time. As can be seen in the final image above, the Engine's master tick also periodically logs what it believes local time to be. The time displayed in the header of the UI is the local time of the browser, not the host system or Reactor, and so may still be different (i.e. you're sitting on a browser in California at UTC-8 working on your Pi in New York at UTC-5).

    I will bind /etc/localtime to future docker containers. Not possible since it's a security risk, which makes sense (you don't want containers being able to arbitrarily mount things anywhere in the filesystem). So, looks like a TZ environment variable is where we'll be. I'll add it to the docs.

  • 0 Votes
    15 Posts
    384 Views

    Roger that. While sage advice, bear in mind that I do these exercises as much to keep my brain active as to hone my MSR chops. I literally have nothing else to keep me occupied, lol. So I'll go put the finishing touches on the intermediate workflow, check that it works (which I know it will), and then look forward to stringing it all back together more efficiently next week.

  • Reactor logic talk

    Locked
    14
    0 Votes
    14 Posts
    340 Views

    It works well now with separate rules for on and off, where "OFF" has the same constraints as "ON", and "OFF" has "ON"-rule changes to false as trigger.

    Now, the autolight (which turns on a very low dimming level) turn on, and if someone manually turns the light on at this point, the light goes to the dimming level chosen.
    (In this case its not the switch connected to one light that is pressed, its a virtual switch that turns on multiple lights.)

  • I'm no longer a PLEG user !

    Locked
    8
    4 Votes
    8 Posts
    252 Views

    Yes PLEG wasn't the easiest thing to learn but it did save Vera. Powerful but not so user friendly. The conditions were the hardest part as you wrote them all out like expressions. Bulletproof though, I rarely had any issues with it. I skipped the whole Reactor for Vera thing, converted now so better late than never I guess.

  • Intervals ? "Self Retriggering Timer" ?

    Locked
    9
    0 Votes
    9 Posts
    224 Views

    Well on this particular rule, If I glance at its summary card, I'd just like to see how long till the next repeat happens / the next time the LUA code in the action will be run.

  • Master Dimmer using expression?

    Locked
    8
    0 Votes
    8 Posts
    227 Views

    Yes I agree.

  • How do I "else"

    Locked
    10
    1 Votes
    10 Posts
    320 Views

    Working on to get the values into, InfluxDB, not there yet. Will continue tomorrow.

  • Insert Entity tool for expressions

    Locked
    2
    0 Votes
    2 Posts
    86 Views

    Not yet.

  • Scene Controllers

    Locked
    3
    0 Votes
    3 Posts
    141 Views

    Sorry I didn't see this thread before I created the other new one. Please merge them.

    Thanks

  • 0000075: Timeout Overflow Warning

    Locked
    2
    0 Votes
    2 Posts
    95 Views

    Thank you!

  • Contact Sensor Opened > 1 minute ago how ?

    Locked
    10
    0 Votes
    10 Posts
    281 Views

    Another thing that's been annoying, is when my garden lights via a schedule turn on or off in the back garden, the Hikvision IP camera triggers motion being detected as a result.

    I could maybe use this method to stop that happening and stop MSR running the actions "Set Reaction", by checking that the state of the lights hasn't changed within the last X seconds.

    Seems to be working, checking if the patio door has changed state in the last 60 seconds OR if the Festoon Lights in the garden have changed state in the last 10 seconds.

    89079f2a-927a-48cc-9078-dc2b5553a109-image.png

Recent Topics