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.
  1. Home
  2. Software
  3. Multi-System Reactor
  4. Issues installing MSR on Debian 10 Linux
Gradually turn on lights.
Tom_DT
I have several lights that I would like to turn on very gradually over 15 or 20 seconds. from 0 to .25 in .01 increments. I have tried a few things that came nowhere near working, so here I am.
Multi-System Reactor
Stop the MSR by an external switch on Hubitat.
wmarcolinW
Use case: When performing home maintenance, such as air conditioning, I want all rules involving air conditioning to be disabled. To do this, to day, I have a virtual switch that I placed within all rules involving air conditioning, meaning that if I turn it off, none of them work. Then another situation: the water pump system and garden irrigation, another switch. In short, I had to create several virtual switches in Hubitat to disable rules in MSR. Unfortunately, however, I was unable to cover all scenarios, so I wondered if it would be possible for MSR to support a virtual MSR switch, which, when configured in the reactor settings, would function as a general on/off switch for MSR. If it is configured and turned off, the entire rules and actions in MSR stops working, except for the status change reading process, specifically for this switch, which, when turned on, would restart the MSR. Would it be possible to do something like this? Any recommendations from the experts?
Multi-System Reactor
Error After Upgrade
T
Topic thumbnail image
Multi-System Reactor
Reset attribute value of entity in event handler
R
Topic thumbnail image
Multi-System Reactor
Need help figuring out how to delay a reset on reaction
T
Topic thumbnail image
Multi-System Reactor
Way to search for rules (rule state) in other rules
T
@toggledbits, not sure if this is a feature request or I'm using the search tool wrong. You have a "Search for rule" in the Rules Set tab in MSR. It works nicely to find a rule and bring up said rule, but can it/could it be used for as a "where used?" global search? For instance, I have a fairly large set of rules, divided up into 10 different rulesets. There's easily a hundred individual rules, and many of the rules have Rule State triggers, which of course refer to other rules. Amongst my troubleshooting today, I came across what may have been a duplicate or troubleshooting attempt, but I can't tell if it's actually used as a Rule State in another rule without opening each rule that I suspect it may be a part of. Thanks.
Multi-System Reactor
Links to MSR from HA
Tom_DT
I am using Home Assistant a lot recently. On a dashboard showing the devices, I would like to show a link to the MSR rule that controls the devices. Is there a way to link directly into MSR?
Multi-System Reactor
Set Reaction > Script Action
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Errors after updating to MQTTController build 25139
tunnusT
I'm running MSR build 25139 on Docker, using MQTT controller 24293, and everything working as expected. But if I try to upgrade to MQTTController build 25139, I'm getting the following errors on MSR UI: An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.god Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.green Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.red Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto run" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.pump Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa watchdog" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.status Last 11:20:37 My MQTT configuration (local_mqtt_devices.yaml) for the related entity is: layzspa_message: type: ValueSensor capabilities: ["temperature_sensor", "value_sensor", "power_sensor"] primary_attribute: power_sensor.value events: "layzspa/message": "power_sensor.value": json_payload: true if_expr: '! isnull( payload?.PWR )' expr: "float(payload.PWR)" "value_sensor.air": json_payload: true if_expr: '! isnull( payload?.AIR )' expr: "float(payload.AIR)" "value_sensor.pump": json_payload: true if_expr: '! isnull( payload?.FLT )' expr: "float(payload.FLT)" "value_sensor.god": json_payload: true if_expr: '! isnull( payload?.GOD )' expr: "float(payload.GOD)" "value_sensor.lock": json_payload: true if_expr: '! isnull( payload?.LCK )' expr: "float(payload.LCK)" "value_sensor.unit": json_payload: true if_expr: '! isnull( payload?.UNT )' expr: "float(payload.UNT)" "value_sensor.error": json_payload: true if_expr: '! isnull( payload?.ERR )' expr: "float(payload.ERR)" "temperature_sensor.green": json_payload: true if_expr: '! isnull( payload?.GRN )' expr: "float(payload.GRN)" "temperature_sensor.red": json_payload: true if_expr: '! isnull( payload?.RED )' expr: "float(payload.RED)" "temperature_sensor.target": json_payload: true if_expr: '! isnull( payload?.TGT )' expr: "float(payload.TGT)" "temperature_sensor.value": json_payload: true if_expr: '! isnull( payload?.TMP )' expr: "float(payload.TMP)" "temperature_sensor.virtual": json_payload: true if_expr: '! isnull( payload?.VTM )' expr: "round(float(payload.VTM), 1)" "temperature_sensor.ambient": json_payload: true if_expr: '! isnull( payload?.AMB )' expr: "float(payload.AMB)" "layzspa/Status": "value_sensor.status": if_expr: '! isnull( payload )' expr: "payload" "layzspa/button": "value_sensor.button": if_expr: '! isnull( payload )' expr: "payload" and in reactor.yaml I have: "layzspa_states": name: "Lay-Z-Spa States" friendly_name: 'Lay-Z-Spa States' include: layzspa_message I realize my MQTT configuration might be a bit unorthodox, but could there still be something unintentional in the latest MQTTController build? If needed, I can provide detailed logs.
Multi-System Reactor
🎉 My very first MSR controller: OpenSprinkler
therealdbT
Since today is my birthday - and I still pretend to be unconventional - I'm giving away a present to this wonderful community and I'm releasing my first OpenSprinkler controller for MSR. It was real fun to code it - and while it's still WIP, it seems to work OK for me. It's polling-based at the moment, but I'll add support for updates via MQTT very soon (it's already partially coded). Get it at (install is similar to MQTTController and such): https://github.com/dbochicchio/reactor-opensprinkler Feel free to try it. It's beta software, but it's stable. I'll update it weekly until all the tasks from my todo list are empty. Since I've learnt a lot from this controller, I'll explore new controllers soon.
Multi-System Reactor
Advice reqeusted to migrate MSR from Bare Metal to Container
T
Good day all, I'm in the process of trying to shut down my 10 year old Linux home server that served many purposes, but primarily it's what I used for my NAS/Plex Media server. I migrated the NAS aspect of the server in November of last year to a true NAS solution (Ubiquti UNAS Pro), which is rack mount and much more efficient than my old tower, which it's only side benefit was heating my home office during the winter. Unfortunately it also means heating my home office during the summer, which were about to be in full swing. I have two things running on this 10 year old server at this point. MSR and pi-hole. I'm running Plex Media Server on Fedora Workstation in Podman on mini PC, which is much more energy efficient than my old tower. My next step is to migrate MSR. I know there are images of MSR out there, and creating it is well documented. I'm going to be using Podman instead of Docker for various reasons, but they work very similar. What I don't know, is what I need to do to migrate my existing Bare Metal installation over to a container. Has anyone done this? Any advice?
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
Can´t restart or upgrade/deploy MSR
F
Topic thumbnail image
Multi-System Reactor
[Solved] Limit HA Entity in MSR
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Organizing/ structuring rule sets and rules
R
Hi guys, Just wondering how you guys organize your rule sets and rules. I wish I had an extra layer to have some more granularity, but my feature request was not popular. Maybe there are better ways to organize my rule sets. I use the rule sets now primarily for rooms. So a rule set per room. But maybe grouping by functionality works better. Any examples/ suggestions would be appreciated.
Multi-System Reactor
Moving MSR from a QNAP container to RP 5 - some issues
Tom_DT
Topic thumbnail image
Multi-System Reactor
Widget deletion does not work and landing page (status) is empy
M
Topic thumbnail image
Multi-System Reactor
Need help reducing false positive notifications
T
Topic thumbnail image
Multi-System Reactor
Deleting widgets
tunnusT
Hopefully a trivial question, but how do you delete widgets in a status page? Using build 22266
Multi-System Reactor
MQTT configuration question
tunnusT
I have the following yaml configuration in local_mqtt_devices file x_mqtt_device: set_speed: arguments: speed: type: str topic: "command/%friendly_name%" payload: type: json expr: '{ "fan": parameters.speed }' While this works fine, I'm wondering how this could be changed to "fixed" parameters, as in this case "fan" only accepts "A", "Q" or a numeric value of 1-5?
Multi-System Reactor

Issues installing MSR on Debian 10 Linux

Scheduled Pinned Locked Moved Multi-System Reactor
27 Posts 3 Posters 2.4k Views 3 Watching
  • 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.
  • toggledbitsT toggledbits

    If your platform doesn't offer a more current nodejs, you'll have to download nodejs directly and install it using their documentation for Linux installs.

    Note: To avoid confusion, remove the nodejs and npm packages you installed before downloading and installing.

    Note 2: You really should go to node 14.15 or higher. I'm going to remove support for 12 before release this summer.

    cw-kidC Offline
    cw-kidC Offline
    cw-kid
    wrote on last edited by
    #6

    @toggledbits said in Issues installing MSR on Debian 10 Linux:

    To avoid confusion, remove the nodejs and npm packages you installed before downloading and installing.

    OK thanks that's helpful about running it as a service, but I am not that far along yet I don't think.

    Now need to uninstall node js and the npm packages and then install the 14.x node js version etc.

    Which I am not sure how to uninstall things yet.

    1 Reply Last reply
    0
    • cw-kidC Offline
      cw-kidC Offline
      cw-kid
      wrote on last edited by
      #7

      OK I think I have uninstalled everything using these commands:

      apt remove nodejs

      apt autoremove

      I've downloaded the x86 64bit Linux version of node js and I am looking at installing that one instead now.

      1 Reply Last reply
      0
      • toggledbitsT Offline
        toggledbitsT Offline
        toggledbits
        wrote on last edited by toggledbits
        #8

        It looks like the PPA link you gave recommends adding a package repository and installing them via apt, so uninstall should just be:

        sudo apt remove nodejs npm

        Those PPA instructions also tell you how to get the version you want.

        Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

        cw-kidC 1 Reply Last reply
        0
        • toggledbitsT toggledbits

          It looks like the PPA link you gave recommends adding a package repository and installing them via apt, so uninstall should just be:

          sudo apt remove nodejs npm

          Those PPA instructions also tell you how to get the version you want.

          cw-kidC Offline
          cw-kidC Offline
          cw-kid
          wrote on last edited by cw-kid
          #9

          @toggledbits said in Issues installing MSR on Debian 10 Linux:

          sudo apt remove nodejs npm

          Bit late to run that command:

           apt remove nodejs npm
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          Package 'npm' is not installed, so not removed
          Package 'nodejs' is not installed, so not removed
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          

          I think the commands I ran earlier have removed things but I still see a .npm folder in my home folder.

          c7a88505-96b9-40b0-a19f-c6351d411418-image.png

          I am working out now how to install the later 14.x version of node js.

          EDIT:

          I installed again using the PPA method and just changed the curl command to use the 14.x

          curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh
          

          I now have node version 14.17.0 installed.

          1 Reply Last reply
          0
          • toggledbitsT Offline
            toggledbitsT Offline
            toggledbits
            wrote on last edited by
            #10

            Don't forget to complete the Reactor install instructions here: https://reactor.toggledbits.com/docs/Installation/#new-install-linux-various-bare-metal-without-docker

            Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

            cw-kidC 1 Reply Last reply
            0
            • toggledbitsT toggledbits

              Don't forget to complete the Reactor install instructions here: https://reactor.toggledbits.com/docs/Installation/#new-install-linux-various-bare-metal-without-docker

              cw-kidC Offline
              cw-kidC Offline
              cw-kid
              wrote on last edited by
              #11

              @toggledbits

              OK making some progress slowly. I now have MSR up and running automatically after a system reboot.

              And I am on node js version 14.17.0

              Now to copy everything from my Rpi installation to the new HP Thin Client installation to get all my rules moved over.

              I assume I can just copy the entire reactor folder from one machine to the other.

              1 Reply Last reply
              1
              • toggledbitsT Offline
                toggledbitsT Offline
                toggledbits
                wrote on last edited by
                #12

                You just need config and storage subfolders. It won't hurt to copy everything, but it's overkill.

                Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                1 Reply Last reply
                1
                • cw-kidC Offline
                  cw-kidC Offline
                  cw-kid
                  wrote on last edited by
                  #13

                  OK many thanks.

                  Just looking at setting a static LAN IP first on the new HP thin client box.

                  1 Reply Last reply
                  0
                  • toggledbitsT Offline
                    toggledbitsT Offline
                    toggledbits
                    wrote on last edited by
                    #14

                    Probably a good idea to make sure you have NTP running on the box as well (network time).

                    Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                    cw-kidC 2 Replies Last reply
                    0
                    • toggledbitsT toggledbits

                      Probably a good idea to make sure you have NTP running on the box as well (network time).

                      cw-kidC Offline
                      cw-kidC Offline
                      cw-kid
                      wrote on last edited by
                      #15

                      @toggledbits said in Issues installing MSR on Debian 10 Linux:

                      NTP running on the box

                      OK I'll have to look in to how to do that then also.

                      1 Reply Last reply
                      0
                      • rafale77R Offline
                        rafale77R Offline
                        rafale77
                        wrote on last edited by
                        #16

                        @cw-kid, yeah it takes a little googling to set up and brand new debian OS but I am sure you will get there. I went through the same thing setting up my T640. Debian takes a little bit more work than ubuntu which has a lot of these setup by default.

                        cw-kidC 1 Reply Last reply
                        0
                        • toggledbitsT toggledbits

                          Probably a good idea to make sure you have NTP running on the box as well (network time).

                          cw-kidC Offline
                          cw-kidC Offline
                          cw-kid
                          wrote on last edited by cw-kid
                          #17

                          @toggledbits

                          I'm reading this article about Debian and time here.

                          The date and time is currently set correctly:

                          ebdf9d21-924e-4882-86f2-a9379151a8ff-image.png

                          "By default, Debian 10 runs the standard ntpd server to keep your system time synchronized with a pool of external time servers. We can check that it’s running with the systemctl command:"

                          sudo systemctl status ntp
                          

                          When I run this command in Putty it says:

                          Unit ntp.service could not be found.
                          

                          It goes on to say "To get more information about the status of ntpd we can use the ntpq command:"

                          ntpq -p
                          

                          I get the response:

                          -bash: ntpq: command not found
                          

                          So maybe its not currently installed on my installation.

                          its only a 16GB SSD in the HP Thin Client, so I don't have a desktop environment installed only SSH server etc.

                          I will look at installing this ntpd service next.

                          EDIT:

                          Ran this command to install it:

                          apt-get install ntp
                          

                          Now the above commands are working.

                          6e29b00a-150e-49c7-9431-113e74dbaae7-image.png

                          89006b54-fc75-44b9-a6c5-ecec6f5d950d-image.png

                          1 Reply Last reply
                          0
                          • rafale77R rafale77

                            @cw-kid, yeah it takes a little googling to set up and brand new debian OS but I am sure you will get there. I went through the same thing setting up my T640. Debian takes a little bit more work than ubuntu which has a lot of these setup by default.

                            cw-kidC Offline
                            cw-kidC Offline
                            cw-kid
                            wrote on last edited by cw-kid
                            #18

                            @rafale77

                            Hi, well I bought the HP T520 Thin Client because of what you said to me previously. It was cheap enough from eBay.

                            I had some issues with the power supply however as it didn't come with one.
                            I did have a spare suitably spec'd laptop power supply, but it had the wrong DC connector plug on the end of it.

                            So I ordered the correct "DC Tip 7.4x5.0mm Power Plug Socket Connector" off eBay and cut the other one off and soldered the new one on.

                            However the HP Thin Client was not turning on, no power nothing at all and totally dead.

                            I then read that you have to use a genuine HP power supply, as they have some kind of checking so that the thin clients won't power on if you are using a 3rd party power supply.

                            Corporate Greed !

                            I then found an article about hacking the unit and soldering in a 240K resister on the back of the power input jack and I did this today and amazingly it worked and the thin client powered on.

                            alt text

                            alt text

                            One thing I can't figure out how to do yet is to update the BIOS without having one of their supported OS installed.

                            rafale77R 1 Reply Last reply
                            0
                            • cw-kidC cw-kid

                              @rafale77

                              Hi, well I bought the HP T520 Thin Client because of what you said to me previously. It was cheap enough from eBay.

                              I had some issues with the power supply however as it didn't come with one.
                              I did have a spare suitably spec'd laptop power supply, but it had the wrong DC connector plug on the end of it.

                              So I ordered the correct "DC Tip 7.4x5.0mm Power Plug Socket Connector" off eBay and cut the other one off and soldered the new one on.

                              However the HP Thin Client was not turning on, no power nothing at all and totally dead.

                              I then read that you have to use a genuine HP power supply, as they have some kind of checking so that the thin clients won't power on if you are using a 3rd party power supply.

                              Corporate Greed !

                              I then found an article about hacking the unit and soldering in a 240K resister on the back of the power input jack and I did this today and amazingly it worked and the thin client powered on.

                              alt text

                              alt text

                              One thing I can't figure out how to do yet is to update the BIOS without having one of their supported OS installed.

                              rafale77R Offline
                              rafale77R Offline
                              rafale77
                              wrote on last edited by
                              #19

                              @cw-kid

                              I don't have this exact model but... my HP desktops all have the ability to update the BIOS from within the UEFI BIOS. Have you tried that? Sorry for the song and dance on the power supply. I never encountered this since I always got power bricks with the ones I bought and I actually have spare power supplies... Great soldering job though!

                              cw-kidC 1 Reply Last reply
                              0
                              • rafale77R rafale77

                                @cw-kid

                                I don't have this exact model but... my HP desktops all have the ability to update the BIOS from within the UEFI BIOS. Have you tried that? Sorry for the song and dance on the power supply. I never encountered this since I always got power bricks with the ones I bought and I actually have spare power supplies... Great soldering job though!

                                cw-kidC Offline
                                cw-kidC Offline
                                cw-kid
                                wrote on last edited by
                                #20

                                @rafale77

                                There is an option in the BIOS menu to update / flash the BIOS but when I click OK on it, it says:

                                "Can not find bios update interface"

                                I've not really looked in to it properly yet as I was keen to get MSR up and running first.

                                From the quick Google searches I did, most suggested you need to have one of the HP supported operating systems installed to be able to update the BIOS.

                                But there must be some work around some how. I need to read in to it more.

                                1 Reply Last reply
                                0
                                • cw-kidC Offline
                                  cw-kidC Offline
                                  cw-kid
                                  wrote on last edited by cw-kid
                                  #21

                                  @toggledbits I copied over the storage and config folder contents from the Rpi to the HP Thin Client and then restarted MSR on the thin client.

                                  I did edit the base URL in the Reactor.yaml file.

                                  I've stopped the MSR service on the Rpi so now the thin client is the only one running..

                                  None of my scheduled rulesets based around sunset have run their actions this evening for some reason.

                                  The time shown in the top of the MSR Web GUI is the correct time.

                                  So seems I need to look into this further.

                                  There is another schedule up coming, the garden lights should turn on 20 minutes after sunset, that is in about 20 minutes time from now, so will see if that happens?

                                  EDIT:

                                  These are the before sunset rules that the other rules reference in their triggers.

                                  20 and 40 minutes before sunset, not sure why both say true as of the same time at 20:48pm.

                                  e9f128b8-e60a-42e8-9290-7491c94a8650-image.png

                                  The after sunset 20 minutes rule says:

                                  waiting for 21:21:00

                                  Its now 21:25pm and my garden lights have NOT turned on, so something not right here.

                                  This is the summary card for the rule that turns on the garden lights:

                                  295b0a4f-eea8-4c12-b9c6-70e130b00e9d-image.png

                                  1 Reply Last reply
                                  0
                                  • cw-kidC Offline
                                    cw-kidC Offline
                                    cw-kid
                                    wrote on last edited by cw-kid
                                    #22

                                    Not sure which rule this is, but I am seeing several errors in the log like these:

                                    2021-05-15T19:48:14.906Z <Rule:5:Rule.js:957> Rule#rule-km50yfxo._evaluate() mutex acquired, evaluating
                                    2021-05-15T19:48:14.907Z <Rule:5:Rule.js:961> Rule#rule-km50yfxo update rate is 1/min limit 60/min
                                    2021-05-15T19:48:14.908Z <Rule:5:Rule.js:883> Rule#rule-km50yfxo evaluateExpressions() with 0 expressions
                                    2021-05-15T19:48:14.910Z <Rule:5:Rule.js:973> Rule#rule-km50yfxo._evaluate() trigger state now true (was true)
                                    2021-05-15T19:48:14.911Z <Rule:5:Rule.js:1351> Rule#rule-km50yfxo cond cond5hu03sp timer schedule 1621119600000<16/05/2021, 00:00:00>
                                    2021-05-15T19:48:14.913Z <Rule:5:Rule.js:975> Rule#rule-km50yfxo._evaluate() constraints state false
                                    2021-05-15T19:48:14.913Z <Rule:null> Rule#rule-km50yfxo rule state now false, changed no
                                    2021-05-15T19:48:14.915Z <Rule:CRIT> Error: EACCES: permission denied, open '/home/stuart/reactor/storage/states/cs-rule-km50yfxo.json'
                                    Error: EACCES: permission denied, open '/home/stuart/reactor/storage/states/cs-rule-km50yfxo.json'
                                        at Object.openSync (fs.js:498:3)
                                        at Object.writeFileSync (fs.js:1524:35)
                                        at IndividualFileStrategy.saveDataObject (/home/stuart/reactor/server/lib/IndividualFileStrategy.js:137:29)
                                        at Container.saveDataObject (/home/stuart/reactor/server/lib/Container.js:94:54)
                                        at Data.save (/home/stuart/reactor/server/lib/Data.js:152:49)
                                        at Rule._evaluate (/home/stuart/reactor/server/lib/Rule.js:985:365)
                                        at runMicrotasks (<anonymous>)
                                        at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                        at async /home/stuart/reactor/server/lib/Rule.js:940:17
                                    

                                    Think something may have gone wrong with copying over the stuff from the Pi.

                                    This is that folder in WinSCP on the HP Thin Client.

                                    50a14a12-f394-41ed-b12a-5b7cedda1857-image.png

                                    I installed MSR as a none root user aka as my own username name. But these rule set files most are saying root as the owner.

                                    I was logged in to WinSCP as root user when I did the copy so maybe that is why.

                                    If I try logging in to WinSCP as my username instead of root and then doing the copy again from the Pi to the Thin Client it doesn't work and I don't seem to have the permissions to do it.

                                    dbec463b-855f-4275-9ec9-ff782ac1ee61-image.png

                                    If instead I try to change the group and owner of a file from root to my username I can't do that either:

                                    d1b0a698-aff6-4e8d-8ef8-e75642c2e85f-image.png

                                    So I am stuck now and don't know what to do.....

                                    OK I logged back in to WinSCP as root and now I can change all the files their group and owner from root to my own user name. I have done that now for all of them.

                                    So hopefully that fixes the problem? Will have to wait for later schedules to happen later this evening to see.

                                    1 Reply Last reply
                                    0
                                    • cw-kidC Offline
                                      cw-kidC Offline
                                      cw-kid
                                      wrote on last edited by
                                      #23

                                      A scheduled rule set just ran actually and turned on the RGBW light strip in the kitchen, so think it's working now.

                                      1 Reply Last reply
                                      0
                                      • toggledbitsT Offline
                                        toggledbitsT Offline
                                        toggledbits
                                        wrote on last edited by toggledbits
                                        #24

                                        Make sure your system time zone is set to local time. If the default is UTC or something else, all time-based rules will be a mess. The displayed time in the GUI is browser time, not system (host) time.

                                        Fix permissions in your Reactor config and storage with this:

                                        sudo chown -R stuart:stuart config/ storage/
                                        

                                        Edit: To see current host time configuration:

                                        http://your-msr-host-ip:8111/diag/sun
                                        

                                        Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                                        cw-kidC 1 Reply Last reply
                                        0
                                        • toggledbitsT toggledbits

                                          Make sure your system time zone is set to local time. If the default is UTC or something else, all time-based rules will be a mess. The displayed time in the GUI is browser time, not system (host) time.

                                          Fix permissions in your Reactor config and storage with this:

                                          sudo chown -R stuart:stuart config/ storage/
                                          

                                          Edit: To see current host time configuration:

                                          http://your-msr-host-ip:8111/diag/sun
                                          
                                          cw-kidC Offline
                                          cw-kidC Offline
                                          cw-kid
                                          wrote on last edited by cw-kid
                                          #25

                                          @toggledbits said in Issues installing MSR on Debian 10 Linux:

                                          http://your-msr-host-ip:8111/diag/sun

                                          The host time is currently 16/05/2021, 14:20:58 offset 60 minutes from UTC (TZ=undefined); location (lat,lon) 53.99078,-1.5373 elev 127; sunrise 16/05/2021, 05:01:40, sunset 16/05/2021, 21:03:33.
                                          {"sunrise":1621137700000,"sunset":1621195413000,"civdawn":1621134941000,"civdusk":1621198173000,"nautdawn":1621130939000,"nautdusk":1621202174000,"astrodawn":null,"astrodusk":null,"solarnoon":1621166557000,"daylength":16.031,"angle":14.6}
                                          

                                          Time looks to be correct, however it says "TZ=undefined".

                                          None of my schedule rules were running last night because of the permissions issue when I copied them from the Pi to the Thin Client.

                                          I fixed that and then they started working again OK.

                                          I've got everything moved over from the Pi now to the new Thin Client, also setup today Node-Red and Java HA-Bridge.

                                          @rafale77

                                          What's the best way to be backing up Debian ?

                                          The SSD is only 16GB so guess I could take a full system snapshot rather than just backing up certain files and folders.

                                          781ce661-d0b4-4f34-b804-24a57ec748d0-image.png

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Recent Topics

                                          • Gradually turn on lights.
                                            G
                                            gwp1
                                            0
                                            4
                                            71

                                          • Stop the MSR by an external switch on Hubitat.
                                            wmarcolinW
                                            wmarcolin
                                            0
                                            1
                                            8

                                          • Error After Upgrade
                                            G
                                            gwp1
                                            0
                                            4
                                            69

                                          • Reset attribute value of entity in event handler
                                            R
                                            RHCPNG
                                            0
                                            5
                                            142

                                          • Need help figuring out how to delay a reset on reaction
                                            G
                                            gwp1
                                            0
                                            22
                                            748

                                          • Way to search for rules (rule state) in other rules
                                            T
                                            tamorgen
                                            0
                                            3
                                            78

                                          • Links to MSR from HA
                                            Tom_DT
                                            Tom_D
                                            0
                                            1
                                            68

                                          • Set Reaction > Script Action
                                            wmarcolinW
                                            wmarcolin
                                            0
                                            11
                                            399

                                          • Wiring Samotech SM308-S into light fitting
                                            akbooerA
                                            akbooer
                                            0
                                            2
                                            128

                                          • Errors after updating to MQTTController build 25139
                                            toggledbitsT
                                            toggledbits
                                            0
                                            6
                                            230

                                          • 🎉 My very first MSR controller: OpenSprinkler
                                            therealdbT
                                            therealdb
                                            5
                                            13
                                            890

                                          • Advice reqeusted to migrate MSR from Bare Metal to Container
                                            T
                                            tamorgen
                                            0
                                            5
                                            236
                                          Powered by NodeBB | Contributors
                                          Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Unsolved