Navigation

    Discussion Forum to share and further the development of home control and automation, independent of platforms.

    SmartHome Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    (Last Updated: February 20, 2021)
    For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used
    • Low-priority GUI feedback

      PerH

      Just thought i'd mention it, as I've walked into it multiple times when editing rules:
      dbc9e2c8-887e-46bd-8e3c-1364eb99bb03-image.png

      When I make/edit rules, i'm used to pressing "save" through the process, and when I do that, theres only the red one left to press. It does make sense, as its already saved, but I'll stop and think one more time when it says w/o saving.
      In my head, a exit button which causes a pop-up warning if changes are not saved makes more sense - like in vera reactor.

      Feel free to discard the idea, its just something to get used to mabye. 🙂

      Multi-System Reactor
    • Home Assistant, ReferenceError: auth is not defined

      A

      I doesn't succeed with connection to my home assistant.
      Anyone that can see what's wrong?
      I have also tried with token between " instead of '

      From reactor.yaml

      - id: hass enabled: true implementation: HassController name: Hassio config: source: 'ws://12.12.12.9:8123' access_token: 'Rm97bt83DGwqyfv4c6wiQRPByhbkJmnYwviP8MLQZXw'

      From command window:

      PS C:\reactor> node app.js Configuration path: config resolved C:\reactor\config 2021-02-28T17:45:25.872Z <app:null> Reactor "0.1.21058" starting on v14.16.0 2021-02-28T17:45:25.874Z <app:INFO> Process ID 1408; platform win32/x64 Windows 10 Education 2021-02-28T17:45:25.875Z <app:INFO> Home C:\reactor; data in . 2021-02-28T17:45:25.894Z <default:INFO> Module Entity v21057 2021-02-28T17:45:25.898Z <Controller:null> Module Controller v21058 2021-02-28T17:45:25.908Z <default:null> Module Structure v21050 2021-02-28T17:45:25.917Z <default:null> Module Ruleset v21041 2021-02-28T17:45:25.919Z <default:null> Module Rulesets v21041 2021-02-28T17:45:25.938Z <default:null> Module Rule v21058 2021-02-28T17:45:25.942Z <default:null> Module Engine v21055 2021-02-28T17:45:25.944Z <default:null> Module httpapi v21041 2021-02-28T17:45:25.954Z <default:null> Module httpproxy v21054 2021-02-28T17:45:25.985Z <default:null> Module wsapi v21053 2021-02-28T17:45:25.987Z <app:NOTICE> Starting HTTP server and API... 2021-02-28T17:45:25.996Z <httpapi:NOTICE> HTTP API v1 21041 base URL http://12.12.12.12:8111; listening 2021-02-28T17:45:26.007Z <app:NOTICE> HTTP server running; registering proxy endpoints. 2021-02-28T17:45:26.008Z <app:NOTICE> Starting WSAPI... 2021-02-28T17:45:26.009Z <wsapi:NOTICE> wsapi: starting version 21053 2021-02-28T17:45:26.011Z <app:NOTICE> Endpoints up; starting Structure... 2021-02-28T17:45:26.012Z <Structure:INFO> Structure#1 starting controller interface vera (VeraController) 2021-02-28T17:45:26.018Z <Structure:INFO> Structure#1 starting controller interface hass (HassController) 2021-02-28T17:45:26.021Z <Structure:INFO> Structure#1 starting controller interface weather (OWMWeatherController) 2021-02-28T17:45:26.022Z <Structure:INFO> Structure#1 starting controller interface reactor_system (SystemController) 2021-02-28T17:45:26.047Z <default:null> Module VeraController v21058 2021-02-28T17:45:26.052Z <default:null> Module HassController v21053 2021-02-28T17:45:26.054Z <default:null> Module OWMWeatherController v21027 2021-02-28T17:45:26.065Z <default:null> Module SystemController v21054 2021-02-28T17:45:26.076Z <VeraController:NOTICE> VeraController#vera starting 2021-02-28T17:45:26.079Z <VeraController:INFO> VeraController#vera loaded mapping ver 21057 rev 2 format 1 notice 2021-02-28T17:45:26.109Z <Controller:INFO> HassController#hass device data loaded; checking structure 2021-02-28T17:45:26.111Z <Controller:ERR> ./server/lib/hass_devices.yaml implementation of capability hvac_blower_swing uses unknown attribute mode 2021-02-28T17:45:26.112Z <Controller:WARN> ./server/lib/hass_devices.yaml implementation of capability hvac_blower_swing does not provide attribute swing; using fixed value=(null) 2021-02-28T17:45:26.129Z <Controller:NOTICE> HassController#hass attempting reconnection to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:26.130Z <Controller:NOTICE> HassController#hass connecting to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:26.155Z <Controller:NOTICE> Controller SystemController#reactor_system is now online. 2021-02-28T17:45:26.170Z <app:INFO> Structure is now running 2021-02-28T17:45:26.171Z <app:INFO> Pausing for controllers' initial ready 2021-02-28T17:45:26.190Z <Controller:NOTICE> HassController#hass connected, starting protocol 2021-02-28T17:45:26.200Z <Controller:ERR> HassController#hass message handler for auth_invalid failed: ReferenceError: auth is not defined 2021-02-28T17:45:26.210Z <Controller:NOTICE> HassController#hass websocket closed, 1000 2021-02-28T17:45:26.286Z <OWMWeatherController:NOTICE> Controller OWMWeatherController#weather is now online. 2021-02-28T17:45:26.466Z <VeraController:NOTICE> Controller VeraController#vera is now online. 2021-02-28T17:45:26.505Z <OWMWeatherController:ERR> [Entity:setPrimaryAttribute] Attempt to set primary to power_switch.state invalid, not in { "x_vera_rgbcontroller_plugin": { "device_type": "ZWaveColorDevice", "configured": true, "color": "#e900ff0000", "message": "" } } 2021-02-28T17:45:26.506Z <VeraController:ERR> VeraController#vera exception/error while updating VeraController#vera 2021-02-28T17:45:26.507Z <VeraController:CRIT> Error: Entity#vera>device_235:setPrimaryAttribute() can't set power_switch.state, not defined for entity Error: Entity#vera>device_235:setPrimaryAttribute() can't set power_switch.state, not defined for entity at Entity.setPrimaryAttribute (C:\reactor\server\lib\Entity.js:364:19) at C:\reactor\server\lib\VeraController.js:692:118 at processTicksAndRejections (internal/process/task_queues.js:93:5) Error: Entity#vera>device_235:setPrimaryAttribute() can't set power_switch.state, not defined for entity at Entity.setPrimaryAttribute (C:\reactor\server\lib\Entity.js:364:19) at C:\reactor\server\lib\VeraController.js:692:118 at processTicksAndRejections (internal/process/task_queues.js:93:5) 2021-02-28T17:45:31.213Z <Controller:NOTICE> HassController#hass attempting reconnection to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:31.215Z <Controller:NOTICE> HassController#hass connecting to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:31.226Z <Controller:NOTICE> HassController#hass connected, starting protocol 2021-02-28T17:45:31.237Z <Controller:ERR> HassController#hass message handler for auth_invalid failed: ReferenceError: auth is not defined 2021-02-28T17:45:31.256Z <Controller:NOTICE> HassController#hass websocket closed, 1000 2021-02-28T17:45:36.258Z <Controller:NOTICE> HassController#hass attempting reconnection to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:36.260Z <Controller:NOTICE> HassController#hass connecting to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:36.272Z <Controller:NOTICE> HassController#hass connected, starting protocol 2021-02-28T17:45:36.283Z <Controller:ERR> HassController#hass message handler for auth_invalid failed: ReferenceError: auth is not defined 2021-02-28T17:45:36.298Z <Controller:NOTICE> HassController#hass websocket closed, 1000 2021-02-28T17:45:41.302Z <Controller:NOTICE> HassController#hass attempting reconnection to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:41.303Z <Controller:NOTICE> HassController#hass connecting to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:41.314Z <Controller:NOTICE> HassController#hass connected, starting protocol 2021-02-28T17:45:41.336Z <Controller:ERR> HassController#hass message handler for auth_invalid failed: ReferenceError: auth is not defined 2021-02-28T17:45:41.353Z <Controller:NOTICE> HassController#hass websocket closed, 1000 2021-02-28T17:45:46.355Z <Controller:NOTICE> HassController#hass attempting reconnection to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:46.357Z <Controller:NOTICE> HassController#hass connecting to ws://12.12.12.9:8123/api/websocket 2021-02-28T17:45:46.368Z <Controller:NOTICE> HassController#hass connected, starting protocol 2021-02-28T17:45:46.377Z <Controller:ERR> HassController#hass message handler for auth_invalid failed: ReferenceError: auth is not defined 2021-02-28T17:45:46.394Z <Controller:NOTICE> HassController#hass websocket closed, 1000 2021-02-28T17:45:47.169Z <app:NOTICE> Shutdown signal (SIGINT) received. Stopping Reaction Engine... 2021-02-28T17:45:47.172Z <Engine:NOTICE> Engine#1 has shut down. 2021-02-28T17:45:47.172Z <app:NOTICE> Closing APIs... 2021-02-28T17:45:47.173Z <wsapi:NOTICE> wsapi closing... 2021-02-28T17:45:47.179Z <httpapi:NOTICE> HTTP API closing... 2021-02-28T17:45:47.180Z <app:NOTICE> Closing Structure... 2021-02-28T17:45:47.181Z <Structure:INFO> Structure#1 Stopping controllers... 2021-02-28T17:45:47.183Z <VeraController:NOTICE> VeraController#vera stopping 2021-02-28T17:45:47.184Z <Controller:NOTICE> HassController#hass stopping 2021-02-28T17:45:47.189Z <Controller:NOTICE> HassController#hass stopping 2021-02-28T17:45:47.190Z <OWMWeatherController:NOTICE> OWMWeatherController#weather stopping 2021-02-28T17:45:47.190Z <OWMWeatherController:NOTICE> OWMWeatherController#weather stopping 2021-02-28T17:45:47.191Z <Controller:NOTICE> SystemController#reactor_system stopping 2021-02-28T17:45:47.193Z <Controller:NOTICE> SystemController#reactor_system stopping 2021-02-28T17:45:47.194Z <Structure:INFO> Structure#1 Final data sync... 2021-02-28T17:45:47.199Z <Structure:NOTICE> Structure Structure#1 stopped 2021-02-28T17:45:47.199Z <app:NOTICE> Stopping timers... 2021-02-28T17:45:47.200Z <app:NOTICE> Shutdown complete, process ID 1408 2021-02-28T17:45:47.201Z <wsapi:NOTICE> wsapi: server closed FORCED EXIT
      Multi-System Reactor
    • Constraints (no data) rule actions have never run

      cw-kid

      Hi

      I have a problem rule it seems. Its set to turn off my Festoon lights at 23:55pm and in the constraints checks if those lights are already turned on ?

      And the reaction is to turn them off.

      Since I setup the rule my lights have never turned off.

      In the summary card I can see (no data)

      On this screen shot it says the power switch state is TRUE.
      The switch is actually OFF at the moment, I have hard refreshed the browser but it still says True.

      dacb145e-8c3a-49a6-8fc8-aff6ff9e65d4-image.png

      I can go to Scope and add a trace on this device and it does track if its turned on or off OK.

      The device is one side of a Fibaro Dual Relay module.

      Any clues?

      Thanks

      Multi-System Reactor
    • Timers in my log

      M

      Question about my logs. My logs are filled with timers, even with the log-level 4. Is this expected or why are they here?
      Screenshot from 2021-02-28 08-24-50.png

      Multi-System Reactor
    • MSR in Alpine Docker

      PerH

      I have a docker running smoothly now, thought i'd share it. (and BTW, it looks awesome, Patrick!)
      So far i've only opened 8111, and /config as volume. Mabye the full /reactor folder should be exposed for easy updating?

      docker compose:

      version: "3.9" services: MSR: container_name: MSR restart: always image: perhu/msr-alpine:latest ports: - "8111:8111" volumes: - type: volume source: MSR-config target: /etc/reactor/config - type: volume source: MSR-Storage target: /etc/reactor/storage volumes: MSR-config: name: MSR-config MSR-storage: name: MSR-storage

      dockerfile for those who want to modify the image:

      FROM alpine:latest COPY /reactor/. /etc/reactor/ RUN apk add --update nodejs npm && cd /etc/reactor \ && npm install --loglevel error --no-save \ && cp dist-config/* config/ VOLUME ["/etc/reactor/config"] VOLUME ["/etc/reactor/storage"] EXPOSE 8111 CMD ["/bin/sh"] WORKDIR /etc/reactor CMD ["node", "/etc/reactor/app.js"]
      Multi-System Reactor
    • Delays not working as expected

      J

      I seem to be having some issues with delays, so I set up a test as follows:

      38b96d15-e56b-4a53-bc55-861789e77194-image.png

      14bc4aab-ec56-46d3-b81d-04797f92eb74-image.png

      258343a3-e489-43ef-99d5-ae1a76b30ad2-image.png

      If the second rule is disabled, the first rule works as I expect - when motion is detected in the Hall, the Hall lamp switches on and then off again 10 seconds later.

      With both rules enabled - when motion is detected in the Hall the Hall lamp switches on, but then if motion is detected in the Dining room, the Dining room lamp switches on, but the Hall lamp does not switch off after the 10 seconds , but after the 30 seconds when both lamps switch off at the same time.

      Is this a bug, or just my understanding of how it should work?

      Multi-System Reactor
    • Trying to work around no lua reactions

      T

      Hey Patrick,

      So I had mentioned earlier that I was using some lua in my reactor activities. I had the idea to move the lua into vera scenes and invoke the scene in a MSR reaction. The problem is I am getting a lot of luup restarts. I tried rebooting the vera as well but it remains unstable. i never really had a problem running the lua within reactor. A example of the lua I am using is to send IR codes to my older TV's that only support IR. Code as follows

      --[[Samsung TV Antenna----]] local socket = require("socket") tcp = assert(socket.connect("192.168.255.204", 4998)) tcp:send("sendir,1:3,1,38000,1,1,172,172,21,64,21,64,21,64,21,21,21,21,21,21,21,21,21,21,21,64,21,64,21,64,21,21,21,21,21,21,21,21,21,21,21,64,21,64,21,21,21,64,21,64,21,21,21,21,21,21,21,21,21,21,21,64,21,21,21,21,21,64,21,64,21,64,21,1673" .. "\r\n") tcp:close()

      So I though I would try the Global Cache CG100 plugin that is a Vera App that will also send the codes. It does show up under entity action but the sendcodeset option is not available. The following pictures show how it looks under Vera Reactor and MSR.

      Screen Shot 2021-02-26 at 8.49.35 PM.png

      Screen Shot 2021-02-26 at 8.53.03 PM.png

      Multi-System Reactor
    • Synology Docker installation

      LibraSun

      @toggledbits I followed to the letter your excellent step-by-step guide on launching a Docker container from the image I fetched from PR #58 this morning.

      All proceeded swimmingly – folder creation, image upload, settings & parameters, etc. – until the moment of actual Launch.

      Whereupon, Docker threw up the following on-screen "Stopped Unexpectedly" warning (which repeated every 30 seconds or so until I Stop'ped the container from running/restarting):
      docker_msr_stopped.png

      Concurrently, every attempt to access http://<mySynNAS_IP>:8111/ resulted in a "This site can't be reached" error page in Chrome (under Windows, mind you).

      Immediately, I took the liberty of inspecting and Export'ing the logfile (Container ► Details ► Log) as an HTML file, which I attach below (oops, no attachment feature in this forum, so here is the direct link) for your inspection.

      Hope you find some clues, because I'm not at all sure where things went wrong. (The only facet of setup where I expressly deviated from your typed notes involved creating a "Shared" (i.e. top-level, rather than under /home) folder called "Reactor" with r/w access, under which I created a subfolder named "Data", to which I pointed /var/reactor during container creation.)

      Excellent write-up and thanks for the chance to test this out!!

      Libra

      FOLLOW-UP NOTES
      I do see where Container ► Edit ► Environment ► variable PATH has a value of "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" which strikes me as odd, but maybe that's normal nomenclature? (By contract, Windows and DOS always use semicolons, not colons, to separate PATH variable entries.)

      RESOLVED
      Noting that the Log displayed an error message related to /var/reactor/config, I went and created a folder named 'config' (all lowercase) under the NAS's top-level Reactor\Data folder, then restarted the container. It's running fine now, and I'm able to access the :8111 interface for the first time.
      Log ► "Configuration path: /var/reactor/config resolved /var/reactor/config"

      SUGGEST
      Please add explicit declaration in your How-To regarding the need for a /config underneath the data folder.

      Multi-System Reactor
    • Multi-System Reactor Developer Preview AVAILABLE

      toggledbits

      OK, people, here we go! At long last, Multi-System Reactor developer preview is available!

      The package can be downloaded from the Reactor bug tracker, a MantisBT system (at https://reactor.toggledbits.com/mantisbt/). There is a download button in the left margin, as well as links to the documentation, which you will need for installation.

      UPDATE 2021-02-24 -- To keep spammers off, I've locked down registration on the Bug Tracker. To get access to the Bug Tracker and preview downloads, please PM me (not reply here) your full name and email address and I will set up an account for you.

      This version of MSR will run on Linux systems, including RPi's under Raspios Buster, running node.js version 12.10 or higher (v14.15.1). For RPi users, there is an installation script that will install a local copy of node.js (for the logged-in user).

      Bugs reports will be handled through the bug tracker only. Discussion and questions in this forum are fine, though (if that leads to a bug report, we'll transition).

      This version supports Vera and openLuup, Hubitat, and Home Assistant. Some of the device support on the H platforms is still a bit basic, but it is largely controlled by configuration and progress can be made quickly.

      The documentation beyond installation is a mess. Of course, I started with the existing documentation and have been massaging into MSR's particulars, but it still has a long way to go on the detail.

      I know I don't have to say this, but I will anyway... let me know how it goes!

      Multi-System Reactor
    • Import question

      T

      Is the import feature supported by stock Vera or only open loop or is it both?

      Multi-System Reactor
    • OpenLuup entities flashing

      rafale77

      Scenes and room don't flash as frequently as they used to but they still do.
      I am starting a thread here though it seems to be an openLuup issue.
      Everytime something in a room updates, the room entity flashes which is to be expected but I am seeing the same thing with scenes which are not running or triggered.

      I also open a ticket regarding an error I am seeing at startup regarding HVAC devices on openLuup which appears to be a syntax error.

      Multi-System Reactor
    • Another install issue

      T

      I am stuck at step 7 of

      New Install: Linux (various) - Bare Metal (without Docker)

      I do not see the file config/reactor.yaml in the reactor directory.

      Multi-System Reactor
    • Dashboard graphical issue

      rafale77

      Screen Shot 2021-02-25 at 19.56.59.png

      Some font issues to be addressed I think on the dashboard.

      Multi-System Reactor
    • Issue with this Night rule?

      cw-kid

      Hi

      I have a rule that turns on my interior porch entrance light when its night and the front door is opened.

      Its set to keep the light on for 1 minute and then turn it off.

      I've been back in the house for well over an hour but just noticed the porch light is still on and hasn't turned off.

      Its 21:17 pm here now.

      This is the rules summary card:

      d3dd2022-256c-4e75-b93b-3d1f40a9689b-image.png

      I setup the Night rule as a Global Rule and its referenced in this rule.

      Any clues ?

      Thanks

      EDIT: I should add that this rule has worked OK previously and the light has turned off after I have entered and the minute has passed.

      Multi-System Reactor
    • Installation trouble

      T

      Trying to install under termux on my nvidia shield. Having a problem unpacking. See attached picture.

      20210225_225921.jpg

      Multi-System Reactor
    • Support for 3rd party Vera plugins ?

      cw-kid

      Hi

      Does the Reactor plugin for Vera support some 3rd party Vera plugins such as the Logitech Harmony plugin for example ?

      In PLEG I am able to select a Harmony hub device and create some logic based on its various states.

      2ecefb43-5b2d-4505-aef1-dd0c5b09dc3f-image.png

      Other plugin examples might be the RGB Controller plugin which I am using with Fibaro RGBW modules, I can start the various light animations on the Fibaro RGBW module.

      19962434-a707-4301-b168-00787fea16ed-image.png

      8a629a9c-1968-40d8-a7c2-129bfebc9ac2-image.png

      Or the AltHue plugin which exposes aspects of the Hue Bridge like ColorLoop or to be able to start Hue Scenes etc.

      a8a67942-b862-4c3e-871f-f41081b20e8c-image.png

      With MSR all this type of functionality is currently lost.

      Obviously a work around would be to create Vera scenes instead and have those use these types of 3rd party plugins features and have MSR call those scenes. Don't think that would work for the Harmony plugin though where you are wanting to query states of the hub in your logic.

      I am just wondering how Reactor plugin for Vera currently works in this respect and what any plans for MSR might be ?

      Thank you.

      Multi-System Reactor
    • Installing MSR on Windows

      A

      @toggledbits said in Multi-System Reactor Developer Preview AVAILABLE:

      Version 21054 now available.
      ...
      2. This version runs on Windows, and there are draft instructions for how to get it installed.

      I am so excited!

      Sorry that I need to bother with a noob question at the first step😂
      Does this box need to be checked for MSR to run nicley?
      7bc519af-f0e4-46af-a040-0ce261d08a8f-image.png

      Multi-System Reactor
    • ALTHUE and Harmony mappings

      toggledbits

      Go ahead and open a PR for it, and we'll use that to track it.

      Multi-System Reactor
    • Setting RGB colour values

      cw-kid

      "You need to use 0.0 to 1.0, not 0 to 255 (just like dimming values)."

      How would I set the colour Purple as an example ?

      Its RGB value is: 128, 0, 128

      Thanks

      Multi-System Reactor

    Sunset with offset didn't run

    Multi-System Reactor
    5
    34
    84
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cw-kid
      cw-kid last edited by cw-kid

      I tried to create a Schedule to turn my lounge lamps on 40 minutes before Sunset.

      But it didn't run and the lights didn't come on.

      This screen shot is now, well after sunset time.

      ef41fc2d-6009-4eb7-83f0-6ca5631c461e-image.png

      Triggers:

      5df37507-f362-46ee-b058-add56327bad3-image.png

      Constraints: None:

      Set Reaction: (Action)

      c8841b03-956b-47cc-9aec-aa18f4c4635a-image.png

      In the reactor.yaml file I have the lat / long :

      dd7a3c20-e6a6-4bea-b359-85b4a5d9a70b-image.png

      Not sure if I have done something wrong or if there is a potential problem ?

      Maybe I've got too many digits. I've change them to these off another website:

      5f6f5596-1ad4-4d56-9aaa-72571debf4db-image.png

      Will see what happens tomorrow ?

      EDIT just noticed it was set for 40 minutes after sunset.

      Had to use -40 and it says before sunset now, maybe that was the problem then.

      Thanks

      1 Reply Last reply Reply Quote 0
      • toggledbits
        toggledbits last edited by toggledbits

        The offsets for sunrise/sunset can add a little confusion in the context of "before" and "after" operators on the conditions. This is in the docs, but to reiterate here, for time-only conditions (like sunrise/sunset, and date/time with only time components):

        before <time> -- will be true between midnight and time (changes to false at time);
        after <time> -- will be true between time and midnight (changes to false at midnight).

        Remember that action takes place on changes, which is why "after <time>" is equivalent to "at <time>", but improved by the fact that if the system is down at <time>, when it comes back up, the condition will then be satisfied and the missed action performed.

        Now, with respect to sunrise/sunset, if you want the lights on at 30 minutes after sunset, thats "after sunset + 30". If you want the lights on from 30 minutes before sunset (so from 30 before sunset to midnight), that's "after sunset - 30".

        1 Reply Last reply Reply Quote 0
        • cw-kid
          cw-kid last edited by

          Yeah my bad.

          I selected "before" and added in 40 and thought that would be 40 minutes before sunset and I didn't look at it closer in the first screen shot, what you call that area? the rule summary.

          When I did notice it, I change it to -40 and now it says: Sunrise/Sunset: until 40 minutes before sunset

          Interestingly I can edit that offset minutes field and insert the minus or remove the minus and save the rule OK. i.e save a rule I have just modified.

          But I cannot save a rule if I make other edits, like adding a whole new trigger as just discussed.

          toggledbits 1 Reply Last reply Reply Quote 0
          • toggledbits
            toggledbits @cw-kid last edited by

            @cw-kid said in Sunset with offset didn't run:

            But I cannot save a rule if I make other edits, like adding a whole new trigger as just discussed.

            Sorry, but I'm just not able to reproduce this. I've just gone through every field on every condition type and every option. No joy. Maybe there's something broken in your rule otherwise behind the scenes that's making it choke. Let's do this... Go into the install directory, and do:

            tar czf storage.taz storage/
            

            The attach that file to a comment in the bug tracker.

            cw-kid 1 Reply Last reply Reply Quote 0
            • cw-kid
              cw-kid @toggledbits last edited by

              @toggledbits said in Sunset with offset didn't run:

              tar czf storage.taz storage/

              Its not just me reporting the issue though. I know I am good at finding bugs however haha...

              So what am I doing?

              I ran that command in putty on the Pi

              I now have these folders:

              fc054423-b1dd-40b5-a6e4-799cf1007ed7-image.png

              1 Reply Last reply Reply Quote 0
              • cw-kid
                cw-kid last edited by

                Also I have seen this saving problem on more than just one rule.

                I've seen in on a few rules when either adding items like additional triggers or removing items.

                Then you cannot click either of the two save buttons.

                Only the red exit w/o saving button works.

                K 1 Reply Last reply Reply Quote 0
                • toggledbits
                  toggledbits last edited by

                  It doesn't matter who is reporting the issue if I can't reproduce it myself without more information. One of the bugs you are connecting to this was entered by me days ago and was reproduced, found and fixed. The other is from a user on a mobile/Android browser which is currently not supported. I don't know how many people are using this thing right now, but you are the only one reporting no save conditions in the absence of an error indication on any field.

                  1 Reply Last reply Reply Quote 0
                  • K
                    kfxo @cw-kid last edited by

                    @cw-kid said in Sunset with offset didn't run:

                    Also I have seen this saving problem on more than just one rule.

                    I've seen in on a few rules when either adding items like additional triggers or removing items.

                    Then you cannot click either of the two save buttons.

                    Only the red exit w/o saving button works.

                    I have been able to possibly reproduce your saving issue. I have noticed with rules that have a Date/Time After Trigger cannot be modified and saved.

                    1 Reply Last reply Reply Quote 1
                    • cw-kid
                      cw-kid last edited by

                      It's 2 29 am here now this rule just fired and turned on my lounge lamps.

                      K 1 Reply Last reply Reply Quote 0
                      • cw-kid
                        cw-kid last edited by

                        Actually any time I manually turn off the lounge lamps via my Harmony remote it's now firing the MSR rule and turning them back on.

                        1 Reply Last reply Reply Quote 0
                        • cw-kid
                          cw-kid last edited by

                          @toggledbits as I said your welcome to connect to my laptop and edit the rules for yourself and press a save button to see what happens.

                          1 Reply Last reply Reply Quote 0
                          • cw-kid
                            cw-kid last edited by

                            I was also the one who had issues saving PLEG changes many years ago and Richard eventually got to the bottom of it and managed to sort out the issue.

                            Maybe I have bad luck, but I cannot currently save any MSR rules I modify by adding new triggers or deleting them.

                            I am only reporting what I am seeing.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kfxo @cw-kid last edited by

                              @cw-kid said in Sunset with offset didn't run:

                              It's 2 29 am here now this rule just fired and turned on my lounge lamps.

                              I think there might be something going on with sunrise/sunset too. Im pretty sure sunset was 90 minutes late triggering for me. Im doing some more testing on that though to confirm.

                              @cw-kid said in Sunset with offset didn't run:

                              Actually any time I manually turn off the lounge lamps via my Harmony remote it's now firing the MSR rule and turning them back on.

                              If your rule is the same as posted above, this is because you have a condition in the rule for the lamp being false, meaning the rule will be false when the lamp is on and then when it goes off, it becomes true again.

                              1 Reply Last reply Reply Quote 0
                              • cw-kid
                                cw-kid last edited by

                                I'm not saying my rule is correct.

                                It most likely isn't

                                I wanted to include a check that the turn on lamps rule is only run if the lamps are off in the first place.

                                If the lamps are already on then there's no need to have the rule action run.

                                So if I've set it up wrong what is the best way to handle this

                                I am a Reactor newbie..

                                Thanks.

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  kfxo @cw-kid last edited by

                                  @cw-kid said in Sunset with offset didn't run:

                                  I'm not saying my rule is correct.

                                  It most likely isn't

                                  I wanted to include a check that the turn on lamps rule is only run if the lamps are off in the first place.

                                  If the lamps are already on then there's no need to have the rule action run.

                                  So if I've set it up wrong what is the best way to handle this

                                  I am a Reactor newbie..

                                  Thanks.

                                  You need to use the constraints. These are new and Im not exactly positive on the answer at this time but I think you would check if the lights are off in the constraint.

                                  1 Reply Last reply Reply Quote 0
                                  • cw-kid
                                    cw-kid last edited by

                                    OK thanks. I was advised not to use Contraints whilst learning MSR.

                                    Seems I have a learning curve to get over and I apologise for being a pain in the arse for the next few months to everyone in this forum.. 😁

                                    1 Reply Last reply Reply Quote 0
                                    • Black Cat
                                      Black Cat last edited by

                                      Stop thinking PLEG......It will only frustrate you especially if you are trying to test the status of a device.
                                      I'm not sure if you can actually do it as you would in PLEG, yes, I know it's frustrating but to move forward you need to unlearn what you already know.

                                      1 Reply Last reply Reply Quote 1
                                      • toggledbits
                                        toggledbits last edited by

                                        Make sure you upgrade to 21050 if you haven't already.

                                        1 Reply Last reply Reply Quote 0
                                        • cw-kid
                                          cw-kid last edited by cw-kid

                                          I have the same issue using a different web browser Microsoft Edge. I added a new trigger to an existing rule and the save buttons aren't clickable.

                                          Are there any instructions on how to upgrade to the new version of Reactor for Raspberry Pi ?

                                          Thank you

                                          I've found the update instructions trying it now.

                                          Elcid 1 Reply Last reply Reply Quote 0
                                          • Elcid
                                            Elcid @cw-kid last edited by

                                            @cw-kid

                                            Installation - Multi-System Reactor (MSR)
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB | Contributors
                                            Hosted freely by PointPub Media Communications Inc. | Contact us