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. Integrate UPS with MSR
How to upgrade from an old version of MSR?
cw-kidC
Hello I haven't updated my installation of MSR in a very long time. Its a bare metal Linux install currently on version 24366-3de60836 I see the latest version is now latest-26011-c621bbc7 I assume I cannot just jump from a very old version to the latest version? Or can I? Thanks
Multi-System Reactor
Access control - allowing anonymous user to dashboard
tunnusT
Using build 25328 and having the following users.yaml configuration: users: # This section defines your valid users. admin: ******* groups: # This section defines your user groups. Optionally, it defines application # and API access restrictions (ACLs) for the group. Users may belong to # more than one group. Again, no required or special groups here. admin_group: users: - admin applications: true # special form allows access to ALL applications guests: users: "*" applications: - dashboard api_acls: # This ACL allows users in the "admin" group to access the API - url: "/api" group: admin_group allow: true log: true # This ACL allows anyone/thing to access the /api/v1/alive API endpoint - url: "/api/v1/alive" allow: true session: timeout: 7200 # (seconds) rolling: true # activity extends timeout when true # If log_acls is true, the selected ACL for every API access is logged. log_acls: true # If debug_acls is true, even more information about ACL selection is logged. debug_acls: true My goal is to allow anonymous user to dashboard, but MSR is still asking for a password when trying to access that. Nothing in the logs related to dashboard access. Probably an error in the configuration, but help needed to find that. Tried to put url: "/dashboard" under api_acls, but that was a long shot and didn't work.
Multi-System Reactor
VEC Virtual Switch Auto Off
S
I use Virtual Entity Controller virtual switches which I turn on via webhooks from other applications. Once a switch triggers and turns on, I can then activate associated rules. I would like each virtual switch to automatically turn off after a configurable time (e.g., 5 seconds, 10 seconds). Is there a better way to achieve this auto-off behavior instead of creating a separate rule for each switch that uses the 'Condition must be sustained for' option to turn it off? With a large number of these switches (and the associated turn-off rules), I'm checking to see if there is a simpler approach.If not, could this be a feature request to add an auto-off timer directly to the virtual switches. Thanks Reactor (Multi-hub) latest-26011-c621bbc7 VirtualEntityController v25356 Synology Docker
Multi-System Reactor
Upcoming Storage Change -- Got Back-ups?
toggledbitsT
TL;DR: Format of data in storage directory will soon change. Make sure you are backing up the contents of that directory in its entirety, and you preserve your backups for an extended period, particularly the backup you take right before upgrading to the build containing this change (date of that is still to be determined, but soon). The old data format will remain readable (so you'll be able to read your pre-change backups) for the foreseeable future. In support of a number of other changes in the works, I have found it necessary to change the storage format for Reactor objects in storage at the physical level. Until now, plain, standard JSON has been used to store the data (everything under the storage directory). This has served well, but has a few limitations, including no real support for native JavaScript objects like Date, Map, Set, and others. It also is unable to store data that contains "loops" — objects that reference themselves in some way. I'm not sure exactly when, but in the not-too-distant future I will publish a build using the new data format. It will automatically convert existing JSON data to the new format. For the moment, it will save data in both the new format and the old JSON format, preferring the former when loading data from storage. I have been running my own home with this new format for several months, and have no issues with data loss or corruption. A few other things to know: If you are not already backing up your storage directory, you should be. At a minimum, back this directory up every time you make big changes to your Rules, Reactions, etc. Your existing JSON-format backups will continue to be readable for the long-term (years). The code that loads data from these files looks for the new file format first (which will have a .dval suffix), and if not found, will happily read (and convert) a same-basenamed .json file (i.e. it looks for ruleid.dval first, and if it doesn't find it, it tries to load ruleid.json). I'll publish detailed instructions for restoring from old backups when the build is posted (it's easy). The new .dval files are not directly human-readable or editable as easily as the old .json files. A new utility will be provided in the tools directory to convert .dval data to .json format, which you can then read or edit if you find that necessary. However, that may not work for all future data, as my intent is to make more native JavaScript objects directly storable, and many of those objects cannot be stored in JSON. You may need to modify your backup tools/scripts to pick up the new files: if you explicitly name .json files (rather than just specifying the entire storage directory) in your backup configuration, you will need to add .dval files to get a complete, accurate backup. I don't think this will be an issue for any of you; I imagine that you're all just backing up the entire contents of storage regardless of format/name, that is the safest (and IMO most correct) way to go (if that's not what you're doing, consider changing your approach). The current code stores the data in both the .dval form and the .json form to hedge against any real-world problems I don't encounter in my own use. Some future build will drop this redundancy (i.e. save only to .dval form). However, the read code for the .json form will remain in any case. This applies only to persistent storage that Reactor creates and controls under the storage tree. All other JSON data files (e.g. device data for Controllers) are unaffected by this change and will remain in that form. YAML files are also unaffected by this change. This thread is open for any questions or concerns.
Multi-System Reactor
Oddness in Copy/Move of Reactions
G
Topic thumbnail image
Multi-System Reactor
[Solved] function isRuleEnabled() issue
CrilleC
Topic thumbnail image
Multi-System Reactor
[Reactor] Problem with Global Reactions and groups
therealdbT
Topic thumbnail image
Multi-System Reactor
Possible feature request 2?
CatmanV2C
Just another thought. Adding devices from my Home Assistant / Zigbee2MQTT integration. Works perfectly but they always add as their IEEE address. Some of these devices have up to 10 entities associated, and the moment they are renamed to something sensible, each of those entities 'ceases to exist' in MSR. I like things tidy, and deleting each defunct entity needs 3 clicks. Any chance of a 'bulk delete' option? No biggy as I've pretty much finished my Z-wave migration and I don't expect to be adding more than 2 new Zigbee devices Cheers C
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
Copying a global reaction
tunnusT
With build 25328, if you copy a global reaction, a new reaction does not appear in the UI unless you do a refresh. I recall this used to work without needing this page refresh? Anyway, only a minor nuisance.
Multi-System Reactor
[Reactor] Bug when sending MQTT boolean payloads
therealdbT
Topic thumbnail image
Multi-System Reactor
Difficulty defining repeating annual period
R
I have tried numerous ways to define a recurring annual period, for example from December 15 to January 15. No matter which method I try - after and before, between, after and/not after, Reactor reports "waiting for invalid date, invalid date. Some constructs also seem to cause Reactor to hang, timeout and restart. For example "before January 15 is evaluated as true, but reports "waiting for invalid date, invalid date". Does anyone have a tried and true method to define a recurring annual period? I think the "between" that I used successfully in the past may have broken with one of the updates.
Multi-System Reactor
Need help with sequence
T
Good evening all, For about the past week or so, I've been having problems with a specific rule in my home automation that controls when my home goes from an Away mode to Home mode. One of the conditions it checked for was my alarm panel, when it changed from Armed Away to Disarmed. There seems to have been a firmware update on the panel that added an intermittent step of "pending", and I can't say for certain it happens 100% of the time. Is there a way to write a condition that so it changes from one condition, to the next, and then another condition? As in, Home alarm changes from armed_away to pending to disarmed. Thanks.
Multi-System Reactor
Possible feature request?
CatmanV2C
No idea how easy this would be. During my migration away from Z-wave I've been replacing the Z-wave devices with Sonoff which has broken some of my automations. Any chance of a 'Test Reaction' function to call out which ones are broken because an entity no longer exists? Without actually running the reaction? Or does this exist already and I'm just not aware of how to do it? Obviously I can see entities that are no longer available, but not quite what I'm looking for. I guess it's something of an edge case so no huge issue. TIA! C
Multi-System Reactor
Logic Assistance: Exterior Lights on when Illuminance Below Threshold
PablaP
Topic thumbnail image
Multi-System Reactor
Time series documentation
tunnusT
Is the current manual (incl. examples) up to date with how retention value is handled in time series configuration? Referring to this post
Multi-System Reactor
MQTT templates for ZIgbee scene controller, or a better way?
CatmanV2C
Topic thumbnail image
Multi-System Reactor
Reset a delay
CatmanV2C
I'm sure this has been asked, and answered, but damned if I can figure it out Use case: I have a rear garden with lights. A door from the kitchen into the garden and a door from the garage. Currently if I open the kitchen door the lights come on (yay) and a 3 minute delay starts. After 3 minutes, no matter what else happens, the lights go off (Boo! But also yay!) What I would like is for the 3 minute delay until the lights go off to start from the latest door open event. That is, if I'm going from kitchen to garage, and back again, the lights stay on until there's three minutes of no activity. I've tried 'hacking' with a virtual switch, but can't seem to stop the delay. Any pointers? TIA C
Multi-System Reactor
Reactor Loading Screen Safari
S
Topic thumbnail image
Multi-System Reactor
Constraints states visually do not match actual
S
Topic thumbnail image
Multi-System Reactor

Integrate UPS with MSR

Scheduled Pinned Locked Moved Multi-System Reactor
25 Posts 5 Posters 5.4k Views 5 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

    An integration requires something to talk to, and in my experience, most of these desktop applications for home/SOHO UPS systems don't offer anything. So first question is to find out if the application publishes a web service or has other similar capabilities.

    Failing that, you can use a NUT (Network UPS Tools) server, which can be configured for client access so that other systems in your network that are NUT-compatible can get UPS status info. But, you probably will not be able to run NUT and the Tripp-Lite app side-by-side, as they will both want authoritative control of the serial (USB) port. So going down this path, you'll have to use NUT as your control software for the UPS on your Windows system.

    I use NUT on Linux (and I have a Reactor controller for it that I can publish). I know nothing about it on Windows.

    wmarcolinW Offline
    wmarcolinW Offline
    wmarcolin
    wrote on last edited by
    #4

    @toggledbits

    As always Patrick, thank you for your attention.

    I will follow your recommendation at the weekend and see if I can then have control by NUT, if this is possible then I communicate to you with your usual kindness to help us to then have access via MSR.

    Thank you very much and I will inform you next week.

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

      OK. I had to cobble-up some documentation, and I'm a bit swamped this week so forgive any spelling and grammar transgressions arising from my haste.

      NUTController build 22151 can now be downloaded from extras and the docs are here.

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

      K 1 Reply Last reply
      1
      • toggledbitsT toggledbits

        OK. I had to cobble-up some documentation, and I'm a bit swamped this week so forgive any spelling and grammar transgressions arising from my haste.

        NUTController build 22151 can now be downloaded from extras and the docs are here.

        K Offline
        K Offline
        kfxo
        wrote on last edited by kfxo
        #6

        @toggledbits

        Getting this error in the log when restarting Reactor after performing the installation steps for NUT controller. I am on Reactor 22149 installed on Ubuntu in Docker.

        [latest-22149]2022-06-01T16:54:36.344Z <Structure:INFO> Structure#1 loading controller interface nut (NUTController)
        [latest-22149]2022-06-01T16:54:36.345Z <Controller:CRIT> Controller: failed to load nut implementation /var/reactor/ext/NUTController/NUTController.js: [TypeError]TypeError: Incompatible base version; is 22125, requires at least 22145
        [latest-22149]2022-06-01T16:54:36.346Z <Controller:CRIT> TypeError: Incompatible base version; is 22125, requires at least 22145
        TypeError: Incompatible base version; is 22125, requires at least 22145
            at Function.requires (/opt/reactor/server/lib/Controller.js:327:19)
            at Object.<anonymous> (/var/reactor/ext/NUTController/NUTController.js:9:53)
            at Module._compile (node:internal/modules/cjs/loader:1103:14)
            at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
            at Module.load (node:internal/modules/cjs/loader:981:32)
            at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:168:29)
            at ModuleJob.run (node:internal/modules/esm/module_job:197:25)
            at async Promise.all (index 0)
            at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
        [latest-22149]2022-06-01T16:54:36.346Z <Structure:ERR> Structure#1 controller nut (NUT) skipped, implementation could not be loaded.
        

        edit: Fixed in build 22152. See below.

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

          Whoops! Sorry. I'm using a slightly newer version of some classes. Fixed now, 22152 build of NUTController available for download.

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

          K S 2 Replies Last reply
          0
          • toggledbitsT toggledbits

            Whoops! Sorry. I'm using a slightly newer version of some classes. Fixed now, 22152 build of NUTController available for download.

            K Offline
            K Offline
            kfxo
            wrote on last edited by
            #8

            @toggledbits said in Integrate UPS with MSR:

            Fixed now, 22152 build of NUTController available for download.

            Confirmed fixed. Thanks.

            1 Reply Last reply
            1
            • wmarcolinW Offline
              wmarcolinW Offline
              wmarcolin
              wrote on last edited by
              #9

              @toggledbits

              NUT installed and running, it was a long way, I had to install VirtualBox and create a Linux VM because I couldn't find anywhere how to have NUT for Windows.

              Now I see that to install NUTController you have to be Linux too? If your answer is yes, then I will have another huge journey, move the MSR from Windows bare-metal to this VM I created, and we will have to read a lot of manual, I know nothing of Linux.

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

                It should run fine under Windows. Just create an ext directory in your Reactor install directory, unzip the archive, and copy the NutController folder into ext. If you look at the install.sh script, all it does is install dependencies using npm, so instead of running the script, just run the npm command manually:

                npm i --no-save --omit dev
                

                Configuration steps are the same, but depending on how your VM is configured, you may need to do some network tricks in VirtualBox to make sure that NUTController can access the IP port of your NUT server in the VM. Can't help you there. VirtualBox is not my jam.

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

                wmarcolinW 1 Reply Last reply
                0
                • toggledbitsT toggledbits

                  Whoops! Sorry. I'm using a slightly newer version of some classes. Fixed now, 22152 build of NUTController available for download.

                  S Offline
                  S Offline
                  SweetGenius
                  wrote on last edited by
                  #11

                  @toggledbits said in Integrate UPS with MSR:

                  22152 build of NUTController available for download.<

                  Thanks for publishing this. I am now using it on MSR Synology docker. Love it.

                  Synology Docker MSR, Hubitat, Home Assistant, Homebridge, ZwaveJS, MQTT, NUT controller.

                  1 Reply Last reply
                  0
                  • toggledbitsT toggledbits

                    It should run fine under Windows. Just create an ext directory in your Reactor install directory, unzip the archive, and copy the NutController folder into ext. If you look at the install.sh script, all it does is install dependencies using npm, so instead of running the script, just run the npm command manually:

                    npm i --no-save --omit dev
                    

                    Configuration steps are the same, but depending on how your VM is configured, you may need to do some network tricks in VirtualBox to make sure that NUTController can access the IP port of your NUT server in the VM. Can't help you there. VirtualBox is not my jam.

                    wmarcolinW Offline
                    wmarcolinW Offline
                    wmarcolin
                    wrote on last edited by
                    #12

                    @toggledbits

                    Hi Patrick

                    Well, I got all the installations done, and NUT is connected to the MSR.

                    6a1adacb-a7c6-4b97-9625-c10705211279-image.png

                    Looking at the Reactor log, no error:

                    [latest-22149]2022-06-07T04:07:18.147Z <Structure:INFO> Structure#1 loading controller interface nut (NUTController)
                    [latest-22149]2022-06-07T04:07:18.158Z <default:null> Module NUTController v22152
                    
                    [latest-22149]2022-06-07T04:07:18.272Z <Structure:INFO> Starting controller NUTController#nut
                    [latest-22149]2022-06-07T04:07:18.276Z <NUTController:NOTICE> NUTController#nut connecting to NUT server at "192.168.33.25":3493
                    [latest-22149]2022-06-07T04:07:18.278Z <NUTController:INFO> NUTController#nut started NUT client connection; waiting for ready
                    
                    [latest-22149]2022-06-07T04:07:19.258Z <NUTController:INFO> NUTController#nut connected and ready!
                    [latest-22149]2022-06-07T04:07:19.260Z <NUTController:NOTICE> Controller NUTController#nut is now online.
                    
                    

                    In the VM using the command: upsc smart1500lcd@192.168.33.25 shows all the UPS data.

                    a419b2a1-c38a-4eb4-9ce8-17b902362cfa-image.png

                    So, my difficulty as can be seen on the first screen, that I don't get the detailed UPS information in the MSR.

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

                      You are not searching correctly in the Entities list. Your UPS name does not have "nut" in it. Rather than seaching for entities containing the word "nut", clear all fields and select your NUTController instance in the controller filter field.

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

                      wmarcolinW 2 Replies Last reply
                      0
                      • toggledbitsT toggledbits

                        You are not searching correctly in the Entities list. Your UPS name does not have "nut" in it. Rather than seaching for entities containing the word "nut", clear all fields and select your NUTController instance in the controller filter field.

                        wmarcolinW Offline
                        wmarcolinW Offline
                        wmarcolin
                        wrote on last edited by
                        #14

                        @toggledbits

                        46b2bc66-474c-4265-ab1c-01627b00beb1-imagen.png

                        60ded43a-08f9-48c9-827e-a8248b068f08-imagen.png

                        😊 😊 😊

                        Perfect, and thanks again!!!

                        1 Reply Last reply
                        1
                        • wmarcolinW Offline
                          wmarcolinW Offline
                          wmarcolin
                          wrote on last edited by
                          #15

                          Hi!

                          A query, my NUT service stops working recurrently, and when I make the query upsc myups@localhost I get the message Error: Data stale.

                          To get it working again I have to run upsdrvctl start to restart.

                          Has anyone experienced this difficulty?

                          1 Reply Last reply
                          0
                          • toggledbitsT toggledbits

                            You are not searching correctly in the Entities list. Your UPS name does not have "nut" in it. Rather than seaching for entities containing the word "nut", clear all fields and select your NUTController instance in the controller filter field.

                            wmarcolinW Offline
                            wmarcolinW Offline
                            wmarcolin
                            wrote on last edited by
                            #16

                            @toggledbits

                            Okay, job done, UPS > NUT > MSR > HE 😁

                            b1f2e9c1-c0ca-4a0d-9311-6536575369e9-image.png

                            The only thing that bothers me is that the UPS drive stops working without explanation, and I had to put a routine in crontab for it to restart every 10 minutes, I find this horrible but it was the only solution from everything I read, and I am not the only one to do it.

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

                              Does the NUTController's system entity show that the connection is down when that happens? If so, and NUT is running on the same host as MSR, it's probably pretty easy to just write a rule that restarts the NUT service when the controller has been marked down for X minutes (sustained for).

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

                              wmarcolinW 1 Reply Last reply
                              0
                              • toggledbitsT toggledbits

                                Does the NUTController's system entity show that the connection is down when that happens? If so, and NUT is running on the same host as MSR, it's probably pretty easy to just write a rule that restarts the NUT service when the controller has been marked down for X minutes (sustained for).

                                wmarcolinW Offline
                                wmarcolinW Offline
                                wmarcolin
                                wrote on last edited by
                                #18

                                @toggledbits

                                The NUT and MSR are in the same HW, but NUT is in a Linux VM, and MSR I run in Windows.

                                I was able to build a rule in MSR that analyzes 3 attributes of NUT, that if they stay without changing the content in 5 minutes gives me an alert of failure.

                                Strange, when I look at the service, it is all active, what crashes is the UPS driver, so I have to run

                                upsdrvctl stop
                                upsdrvctl start
                                

                                Now, is it possible via Windows MSR to trigger a command in the Linux VM to do this restart? It would avoid having to crontab, only reboot in real failure conditions, and not every 10 minutes.

                                Thanks.

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  Andr
                                  wrote on last edited by
                                  #19

                                  I rescued an Eaton Ellipse ups from work that come back to life with fresh batteries.👍

                                  Thought it would be easy to get some kind of system status or notification (from Windows) that somehow could be picked up in Reactor or at least in HA. Oh my... what a horror 😱

                                  After a long time following this guide I got NUT up and running on Windows @wmarcolin (Another VM is not a resonable option here)
                                  Monitor a UPS attached to a Windows machine

                                  Then I added the HA integration just to se if it worked and it actually did 😂

                                  So now I want over the finish line, and install NUTController in Reactor.
                                  It looked easy, but still, no luck.
                                  This got me thinking on another possible solution. Reactor already monitors "System Memory" "Uptime" and so on, so maybe it also could monitor Powersource, Battery Level, Charging State? Then let Reactor react with its magic @toggledbits ?
                                  For a Windows user that seems a lot easier and efficient as Windows just handle my UPS as the battery it actually is so it looked like "a laptop".

                                  Anyway, here is were I got stuck. No clue what more to try since the Nutserver is up and running and speaks with HA.
                                  reactor.log gives me two errors:

                                  [latest-23196]2023-07-28T19:34:28.862Z <Structure:CRIT> TypeError: self.nut.setUsername is not a function [-]
                                  TypeError: self.nut.setUsername is not a function
                                      at NUTController.start_client (c:\reactor\ext\NUTController\NUTController.js:221:22)
                                      at NUTController.start (c:\reactor\ext\NUTController\NUTController.js:44:14)
                                      at Structure.start (c:\reactor\server\lib\Structure.js:362:56)
                                  [latest-23196]2023-07-28T19:34:28.863Z <NUTController:CRIT> TypeError: Cannot read properties of undefined (reading 'end') [-]
                                  TypeError: Cannot read properties of undefined (reading 'end')
                                      at Nut.close (c:\reactor\ext\NUTController\node_modules\node-nut\node-nut.js:65:15)
                                      at NUTController.stop (c:\reactor\ext\NUTController\NUTController.js:53:26)
                                      at c:\reactor\server\lib\Structure.js:366:48
                                  [latest-23196]2023-07-28T19:34:28.864Z <Controller:NOTICE> NUTController#nut stopping
                                  

                                  NUTController.js:221:22 looks like this
                                  9b161b1b-c295-4bc0-8dcc-d3e5fd312ce5-image.png

                                  NUTController.js:44:14
                                  5dd6d92a-de87-4f01-8b8f-86ab5acdec8b-image.png

                                  Structure.js:362:56
                                  5a3aaa2e-f656-4592-a39b-0d8c74f9f091-image.png

                                  node-nut.js:65:15
                                  3be79aba-bf05-4849-96e6-5dd041c8a21c-image.png

                                  NUTController.js:53:26
                                  ebacb9f9-9cae-402d-a74c-b21d03c518ed-image.png

                                  Structure.js:366:48
                                  5a3aaa2e-f656-4592-a39b-0d8c74f9f091-image.png

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

                                    Go into the extension directory (ext/NutController) and run npm list and post the output here.

                                    Also you need to show your NutController config.

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

                                    A 1 Reply Last reply
                                    0
                                    • toggledbitsT toggledbits

                                      Go into the extension directory (ext/NutController) and run npm list and post the output here.

                                      Also you need to show your NutController config.

                                      A Offline
                                      A Offline
                                      Andr
                                      wrote on last edited by Andr
                                      #21

                                      @toggledbits
                                      So, back from vacation so time to take another shot at this 🙂

                                      npm list:

                                      C:\reactor\ext\NUTController>npm list
                                      npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
                                      reactor-nutcontroller@0.1.22305 C:\reactor\ext\NUTController
                                      `-- node-nut@1.0.3
                                      

                                      NutController config

                                      
                                        - id: nut
                                          implementation: NUTController
                                          enabled: true
                                          #name: Eddie UPS NUTController
                                          config:
                                            server: 22.33.44.11        # modify the IP address as needed
                                            port: 3493              # optional, default shown
                                            username: "***"      # optional, no user auth if not set
                                            password: "***"  # optional, must be specified if username is used
                                      
                                      
                                      
                                      1 Reply Last reply
                                      0
                                      • toggledbitsT Offline
                                        toggledbitsT Offline
                                        toggledbits
                                        wrote on last edited by
                                        #22

                                        Try commenting out the username from config. Authentication isn't needed for the queries being used.

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

                                        A 1 Reply Last reply
                                        0
                                        • toggledbitsT toggledbits

                                          Try commenting out the username from config. Authentication isn't needed for the queries being used.

                                          A Offline
                                          A Offline
                                          Andr
                                          wrote on last edited by
                                          #23

                                          @toggledbits
                                          Yep, that did it 😊
                                          Thanks once again @toggledbits

                                          Any thougts about getting more System Info into MSR by the way?
                                          This got me thinking on another possible solution. Reactor already monitors "System Memory" "Uptime" and so on, so maybe it also could monitor Powersource, Battery Level, Charging State? Then let Reactor react with its magic

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


                                          Recent Topics

                                          • How to upgrade from an old version of MSR?
                                            cw-kidC
                                            cw-kid
                                            0
                                            1
                                            6

                                          • Access control - allowing anonymous user to dashboard
                                            toggledbitsT
                                            toggledbits
                                            0
                                            2
                                            59

                                          • VEC Virtual Switch Auto Off
                                            S
                                            SweetGenius
                                            1
                                            1
                                            48

                                          • Upcoming Storage Change -- Got Back-ups?
                                            toggledbitsT
                                            toggledbits
                                            2
                                            1
                                            38

                                          • Oddness in Copy/Move of Reactions
                                            G
                                            gwp1
                                            0
                                            1
                                            68

                                          • [Solved] function isRuleEnabled() issue
                                            CrilleC
                                            Crille
                                            0
                                            4
                                            107

                                          • [Reactor] Problem with Global Reactions and groups
                                            therealdbT
                                            therealdb
                                            0
                                            3
                                            119

                                          • Possible feature request 2?
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            3
                                            90

                                          • Reactor (Multi-System/Multi-Hub) Announcements
                                            toggledbitsT
                                            toggledbits
                                            5
                                            133
                                            80.2k

                                          • Genuinely impressed with Zigbee and HA / Reactor
                                            CatmanV2C
                                            CatmanV2
                                            1
                                            9
                                            397

                                          • Copying a global reaction
                                            toggledbitsT
                                            toggledbits
                                            0
                                            3
                                            122

                                          • [HowTo] Using HABridge with Reactor
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            9
                                            460
                                          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