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. Support for Ezlo Atom controllers?
Date/time condition
tunnusT
Topic thumbnail image
Multi-System Reactor
Device log?
G
@toggledbits is there a log that will show me what rule is turning on a specific device? I've got a switch that has been kicking on at 2200 ET for several nights now and the reactor.log doesn't have a thing in it that I can see on a device level (it being more rules-based).
Multi-System Reactor
Midnight crossing not working in date/time condition (build 25325)
tunnusT
Topic thumbnail image
Multi-System Reactor
Error: Command timeout
G
at _ClientAPI._commandTimeout (http://192.168.1.100:8111/client/ClientAPI.js:807:179 Seeing this randomly when returning to open browser tab after being away awhile. Once, maybe twice a day. "What did you do to trigger it?" Literally nothing, just walked away and returned and there it was. Actions taken in reasonably close proximity to this particular instance of it popping up: I'd restarted the MSR container in Portainer. I'll try to grab some logs here shortly.
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
[Solved] Local expression in Rule does not evaluate as they used to do
CrilleC
Topic thumbnail image
Multi-System Reactor
Home Assistant 2025.11.2 and latest-25315
CrilleC
Topic thumbnail image
Multi-System Reactor
Notice to Docker + ARM Users (RPi 3/4/5 and others)
toggledbitsT
This post does not apply to users of Intel/AMD-based systems. If you are using a Reactor image tagged latest-amd64 or stable-amd64, then this post does not apply to you. It also does not apply to bare-metal installs; it's for users of docker images on ARM-based systems only (principally Raspberry Pi hosts, but could be others). After January 15, 2026, I will no longer produce the aarch64-tagged docker image for Reactor. The ARM images will be arm64 for 64-bit operating systems, and armv7l for 32-bit operating systems. For those of you running a container from the aarch64 image today, this will be a relatively simple change: you just need to switch the image used for your docker container to a differently-tagged image. If you are using docker-compose, then this is a relatively simple matter of changing the image line in your docker-compose.yaml file and then stopping (docker-compose down) and restarting (docker-compose up -d) your Reactor daemon. But there's a catch... not all of you can safely just switch from the aarch64 image to the arm64 image. And, you can't just trust the output of uname -m, for example, because this exposes the CPU architecture, but not the word size of the OS running on that CPU. For Raspberry Pi systems, the transition to 64-bit operating systems was long (starting in 2016) and not always obvious — although there was a first "official" 64-bit OS for RPis in 2020, it did not become a default recommendation in the Raspberry Pi Imager until 2021, and then that was only the default for Pi 3/4 systems with >4GB RAM; it was 2022 before it was universally recommended for all 64-bit CPUs regardless of RAM size. Depending on when you first imaged your RPi system and what default you may have been offered/chosen, you could today easily have a 64-bit CPU Raspberry Pi running a 32-bit version of the operating system. Upgrades along the way would not change this; changing it to fully 64-bit requires a full reimage of the system. To establish if your OS is 64- or 32-bit, log in to your Pi and run: sudo dpkg-architecture -q DEB_HOST_ARCH. If the response is arm64 or aarch64, then you are running a 64-bit OS and you should use the arm64-tagged image. If it's anything else, you are running a 32-bit OS, and you should use the armv7l-tagged image. pi@rpi4-1:~ $ sudo dpkg-architecture -q DEB_HOST_ARCH armhf pi@rpi4-1:~ $ uname -m aarch64 pi@rpi4-1:~ $ In the example above, the uname command reports that the CPU is 64-bit architecture (aarch64), which is true for the host on which I ran these commands, but the DEB_HOST_ARCH value is armhf, indicating a 32-bit operating system. This system has to use the armv7l-tagged image. Other systems will have their own ways of determining the word size of the running OS. Since the majority of Reactor users running ARM systems are on Raspberry Pis, I am able to supply the above instructions, but if you happen to have a different ARM system, you'll need to do some web searching to figure out how to expose that information. Or, you can just try the arm64 image, and if it doesn't start up, try the armv7l image. Remember to always back up your system before making any changes. For everyone, please make this change as soon as possible, and if you have any trouble finding a working image, please (1) go back to the current aarch64 image; and (2) let me know in this thread along with as much detail about your host system as you can offer (including the output of the dpkg-architecture command mentioned above).
Multi-System Reactor
Requesting a proper ARM64/aarch64 Docker image (Pi 5 support)
M
Hi, I'm in the process of migrating from a Raspberry Pi 4 (ARMv7) to a Raspberry Pi 5 (ARMv8/aarch64), but I’ve run into an issue: there is no proper ARMv8/aarch64 image available. None of the existing images run on the Pi 5 - they all exit immediately with code 139 (segmentation fault), which typically indicates that the binaries inside the image are not compatible with the ARM64/aarch64 architecture used by the Pi 5. Would it be possible to publish a correct ARMv8/aarch64 (linux/arm64) image? Building one should be relatively straightforward using docker buildx with multi-arch support. For example, my own Node.js images are built this way: docker buildx build --push \ -t <localrepo>/<project>:<tag> \ --platform=linux/arm64,linux/amd64 \ --file ./apps/<project>/Dockerfile . This produces both the AMD64 and ARM64/v8 variants automatically. Also, as a side note, it may be best to avoid using Alpine as the base image for the ARM64 build, since musl-based builds often cause compatibility issues and unnecessary headaches. A glibc-based base image (e.g., Debian or Ubuntu) tends to work far more reliably on ARM64, especially for Node.js applications. @toggledbits - tagging you in case you missed this. Thanks, mgvra
Multi-System Reactor
Script action and custom timers
therealdbT
Sorry to write here without trying, but I’m flying today. Am I correct if i say that script action with alarm() makes it possible to execute a reaction in a given interval, lets say 15 seconds or 3.5 minutes? That sounds amazing, since I’ve used weird tricks, including a custom controller, just to do this.
Multi-System Reactor
Help resolve change in behaviour post update
CatmanV2C
Topic thumbnail image
Multi-System Reactor
Reactor w/HA 2025.11 error on set_datetime service call setting only time
CrilleC
@toggledbits Do you know if this is related to that PR or is it a change they made in 2025.11.1? [latest-25310]2025-11-11T13:16:24.319Z <HassController:INFO> HassController#hass perform x_hass_input_datetime.set_datetime on Entity#hass>input_datetime_vvb_dag with { "time": "10:45" } [latest-25310]2025-11-11T13:16:24.320Z <HassController:INFO> HassController#hass: sending payload for x_hass_input_datetime.set_datetime on Entity#hass>input_datetime_vvb_dag action: { "type": "call_service", "service_data": { "date": (null), "time": "10:45", "datetime": (null), "timestamp": (null) }, "domain": "input_datetime", "service": "set_datetime", "target": { "entity_id": "input_datetime.vvb_dag" } } [latest-25310]2025-11-11T13:16:24.321Z <HassController:ERR> HassController#hass request 1762866984320<2025-11-11 14:16:24> (call_service) failed: [Error] Not a parseable type for dictionary value @ data['date'] [-] [latest-25310]2025-11-11T13:16:24.321Z <HassController:WARN> HassController#hass action x_hass_input_datetime.set_datetime({ "time": "10:45" }) on Entity#hass>input_datetime_vvb_dag failed! [latest-25310]2025-11-11T13:16:24.321Z <HassController:INFO> Service call payload: {"type":"call_service","service_data":{"date":null,"time":"10:45","datetime":null,"timestamp":null},"domain":"input_datetime","service":"set_datetime","target":{"entity_id":"input_datetime.vvb_dag"},"id":1762866984320} [latest-25310]2025-11-11T13:16:24.322Z <HassController:INFO> Service data: {"fields":{"date":{"example":"\"2019-04-20\"","selector":{"text":{"multiline":false,"multiple":false}}},"time":{"example":"\"05:04:20\"","selector":{"time":{}}},"datetime":{"example":"\"2019-04-20 05:04:20\"","selector":{"text":{"multiline":false,"multiple":false}}},"timestamp":{"selector":{"number":{"min":0,"max":9223372036854776000,"mode":"box","step":1}}}},"target":{"entity":[{"domain":["input_datetime"]}]}} [latest-25310]2025-11-11T13:16:24.322Z <Engine:ERR> Engine#1 reaction rule-mgb8pfhs:S step 0 perform x_hass_input_datetime.set_datetime failed: [Error] Not a parseable type for dictionary value @ data['date'] [-] [latest-25310]2025-11-11T13:16:24.322Z <Engine:INFO> Engine#1 action args: { "time": "10:45" } [latest-25310]2025-11-11T13:16:24.322Z <Engine:INFO> Resuming reaction Sätt Schema VVB i Home Assistant<AKTIV> (rule-mgb8pfhs:S) from step 1 [latest-25310]2025-11-11T13:16:24.323Z <HassController:INFO> HassController#hass perform x_hass_input_datetime.set_datetime on Entity#hass>input_datetime_vvb_natt with { "time": "03:00", "timestamp": 0 } [latest-25310]2025-11-11T13:16:24.323Z <HassController:INFO> HassController#hass: sending payload for x_hass_input_datetime.set_datetime on Entity#hass>input_datetime_vvb_natt action: { "type": "call_service", "service_data": { "date": (null), "time": "03:00", "datetime": (null), "timestamp": 0 }, "domain": "input_datetime", "service": "set_datetime", "target": { "entity_id": "input_datetime.vvb_natt" } } [latest-25310]2025-11-11T13:16:24.324Z <HassController:ERR> HassController#hass request 1762866984323<2025-11-11 14:16:24> (call_service) failed: [Error] Not a parseable type for dictionary value @ data['date'] [-] [latest-25310]2025-11-11T13:16:24.324Z <HassController:WARN> HassController#hass action x_hass_input_datetime.set_datetime({ "time": "03:00", "timestamp": 0 }) on Entity#hass>input_datetime_vvb_natt failed! [latest-25310]2025-11-11T13:16:24.324Z <HassController:INFO> Service call payload: {"type":"call_service","service_data":{"date":null,"time":"03:00","datetime":null,"timestamp":0},"domain":"input_datetime","service":"set_datetime","target":{"entity_id":"input_datetime.vvb_natt"},"id":1762866984323} [latest-25310]2025-11-11T13:16:24.324Z <HassController:INFO> Service data: {"fields":{"date":{"example":"\"2019-04-20\"","selector":{"text":{"multiline":false,"multiple":false}}},"time":{"example":"\"05:04:20\"","selector":{"time":{}}},"datetime":{"example":"\"2019-04-20 05:04:20\"","selector":{"text":{"multiline":false,"multiple":false}}},"timestamp":{"selector":{"number":{"min":0,"max":9223372036854776000,"mode":"box","step":1}}}},"target":{"entity":[{"domain":["input_datetime"]}]}} [latest-25310]2025-11-11T13:16:24.324Z <Engine:ERR> Engine#1 reaction rule-mgb8pfhs:S step 1 perform x_hass_input_datetime.set_datetime failed: [Error] Not a parseable type for dictionary value @ data['date'] [-] [latest-25310]2025-11-11T13:16:24.324Z <Engine:INFO> Engine#1 action args: { "time": "03:00", "timestamp": 0 } [latest-25310]2025-11-11T13:16:24.325Z <Engine:INFO> Resuming reaction Sätt Schema VVB i Home Assistant<AKTIV> (rule-mgb8pfhs:S) from step 2 [latest-25310]2025-11-11T13:16:24.325Z <Engine:INFO> Sätt Schema VVB i Home Assistant<AKTIV> all actions completed.
Multi-System Reactor
Reactor Version 25310 : Office Light control via rule in reactor no longer working since last update.
P
Hello, I currently have an office light (connected via a Leviton Zwave Dimmer switch) controlled from a Gen5 Aeotech Zwave switch installed on my Synology 720+ NAS. I run HA(2025.11.10) in a virtual machine from my NAS and Reactor on the container manager of the same NAS. Prior to updating to 25304 the rule I had set to turn the light on to a specific dimming value worked correctly. Now the rule appears to follow the decision tree, however the reaction does not trigger setting the dimming or turning on the office light? Strangely I can still turn the light on and off as well as dim it directly from HASS..? I have tried using the ''try this action'' button in the rules reaction setting and it will not control the light and does not throw an error flagÉ Please help, P.S Reactor has been rock steady for me over the last few years and I'm a big fan of this solution.
Multi-System Reactor
[Solved] alarm() in global expression throws error in log.
CrilleC
Topic thumbnail image
Multi-System Reactor
[Solved] Define function issue in latest-25304
CrilleC
Topic thumbnail image
Multi-System Reactor
No Upgrade Notification for Build 25308?
CatmanV2C
FWIW I'm no longer getting a notification from MSR that there's an update. Just thought I'd mention it C
Multi-System Reactor
Strange behavior in MSR latest-25304 with disabled groups in Reaction
therealdbT
Topic thumbnail image
Multi-System Reactor
[Reactor] Variables not updating correctly in latest-25201-2aa18550
therealdbT
Topic thumbnail image
Multi-System Reactor
The reaction stopped working (Google Nest max playing a video)
F
Topic thumbnail image
Multi-System Reactor
Handling Dead Entities and Renamed Entities
PablaP
Hello all.. been a minute! I recently rebuilt my Z wave network and migrated to a new z wave stick. In order to prevent any downtime I kept my original z wave network up and ran a docker version of Z Wave JS UI with my new controller. This way I could add device by device without having any devices down. I finally moved all the devices over to my new stick today. The final step was to migrate everything from my Docker instance of Z Wave JS UI to the HA add-on of Z Wave JS UI. However during this migration some of the names didn't populate correctly which I later managed to import back into Z Wave JS UI. The issue was in Reactor it is stuck on the default names and the entities are not updating. I removed the controller from Reactor, restarted, hard refreshed, and added the controller back however the new entity names have not updated. Also it seems like the old entities from my previous instance of Z Wave JS UI are lingering and not being marked as dead (I believe a certain amount of time needs to lapse before they're marked as dead in Reactor). My goal is to basically purge all the entities for the 'ZWaveJS' controller in Reactor so it can pull all the updated entity names and only the entities that exist in Z Wave JS UI. I cannot find a quick way to do this, I know entities can be deleted one by one, but with over 100 entities this would take long I am guessing that if I added the controller with a new name in in the Reactor config it would pull the updated entities and names but I think that would break my rules since the entity IDs would change (I made sure to name all the entities the exact same as they were previously to prevent this issue).
Multi-System Reactor

Support for Ezlo Atom controllers?

Scheduled Pinned Locked Moved Multi-System Reactor
51 Posts 3 Posters 7.9k 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 Offline
    toggledbitsT Offline
    toggledbits
    wrote on last edited by
    #17

    How is MSR installed, and how are you running/starting it?

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

    F 1 Reply Last reply
    0
    • toggledbitsT toggledbits

      How is MSR installed, and how are you running/starting it?

      F Offline
      F Offline
      Fanan
      wrote on last edited by
      #18

      @toggledbits
      MSR is installed on Windows 10, bare metall.
      I open up Windows Powershell and navigate to the MSR folder, and then type "node app.js".
      Everything else is working. I have a Vera and a Home Assistant up and running since months back... It's just the Ezlo that's not working.

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

        OK. You need to set the shell environment variable NODE_PATH to the install directory where Reactor lives (the directory that contains Reactor's app.js file).

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

        F 1 Reply Last reply
        0
        • toggledbitsT toggledbits

          OK. You need to set the shell environment variable NODE_PATH to the install directory where Reactor lives (the directory that contains Reactor's app.js file).

          F Offline
          F Offline
          Fanan
          wrote on last edited by
          #20

          @toggledbits . Thanks. Did that. Sadly it still don't work. Got this instead:

          PS D:\msr> node app.js
          basedir D:\msr
          confdir D:\msr\config
          datadir D:\msr\storage
          logsdir D:\msr\logs
          plugindir D:\msr\ext
          module.paths [ 'D:\\msr\\node_modules', 'D:\\node_modules' ]
          NODE_PATH D:\MSR
          Logging stream path spec may be using pre-21075 form; please remove ./logs/ from the path!
          2021-07-30T13:10:38.707Z <app:null> Reactor latest-21203-9503e5d starting on v15.11.0
          2021-07-30T13:10:38.708Z <app:INFO> Process ID 16096; platform win32/x64 Windows 10 Pro
          2021-07-30T13:10:38.709Z <app:INFO> Basedir D:\msr; data in D:\msr\storage
          2021-07-30T13:10:38.709Z <app:INFO> NODE_PATH D:\MSR; module paths [ "D:\\msr\\node_modules", "D:\\node_modules" ]
          2021-07-30T13:10:38.751Z <Plugin:null> Module Plugin v21173
          2021-07-30T13:10:38.757Z <default:INFO> Module Entity v21177
          2021-07-30T13:10:38.760Z <Controller:null> Module Controller v21191
          2021-07-30T13:10:38.761Z <default:null> Module Structure v21196
          2021-07-30T13:10:38.766Z <default:null> Module Ruleset v21096
          2021-07-30T13:10:38.766Z <default:null> Module Rulesets v21096
          2021-07-30T13:10:38.781Z <default:null> Module Rule v21168
          2021-07-30T13:10:38.786Z <default:null> Module Engine v21197
          2021-07-30T13:10:38.787Z <default:null> Module httpapi v21200
          2021-07-30T13:10:38.790Z <default:null> Module httpproxy v21054
          2021-07-30T13:10:38.806Z <default:null> Module wsapi v21196
          2021-07-30T13:10:38.810Z <app:NOTICE> Starting Structure...
          2021-07-30T13:10:38.814Z <Structure:INFO> Structure#1 starting controller interface vera (VeraController)
          2021-07-30T13:10:38.820Z <Structure:INFO> Structure#1 starting controller interface ezlo (EzloController)
          2021-07-30T13:10:38.822Z <Structure:INFO> Structure#1 starting controller interface hass (HassController)
          2021-07-30T13:10:38.823Z <Structure:INFO> Structure#1 starting controller interface reactor_system (SystemController)
          2021-07-30T13:10:38.860Z <default:null> Module VeraController v21202
          2021-07-30T13:10:38.924Z <default:null> Module HassController v21191
          2021-07-30T13:10:38.926Z <default:null> Module SystemController v21102
          2021-07-30T13:10:38.929Z <VeraController:NOTICE> VeraController#vera starting
          2021-07-30T13:10:38.960Z <VeraController:INFO> VeraController#vera loaded mapping ver 21202 rev 1 format 1 notice
          2021-07-30T13:10:38.970Z <Controller:CRIT> Controller: failed to load ezlo implementation file:///D:/msr/server/lib/EzloController.js: TypeError: Cannot read property 'getConfig' of undefined
          2021-07-30T13:10:38.970Z <Controller:CRIT> TypeError: Cannot read property 'getConfig' of undefined
          TypeError: Cannot read property 'getConfig' of undefined
              at Function.getInstance (D:\MSR\server\lib\Configuration.js:128:89)
              at Object.<anonymous> (D:\MSR\server\lib\Logger.js:154:49)
              at Module._compile (node:internal/modules/cjs/loader:1092:14)
              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
              at Module.load (node:internal/modules/cjs/loader:972:32)
              at Function.Module._load (node:internal/modules/cjs/loader:813:14)
              at Module.require (node:internal/modules/cjs/loader:996:19)
              at require (node:internal/modules/cjs/helpers:92:18)
              at Object.<anonymous> (D:\MSR\server\lib\Capabilities.js:71:99)
              at Module._compile (node:internal/modules/cjs/loader:1092:14)
          TypeError: Cannot read property 'getConfig' of undefined
              at Function.getInstance (D:\MSR\server\lib\Configuration.js:128:89)
              at Object.<anonymous> (D:\MSR\server\lib\Logger.js:154:49)
              at Module._compile (node:internal/modules/cjs/loader:1092:14)
              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
              at Module.load (node:internal/modules/cjs/loader:972:32)
              at Function.Module._load (node:internal/modules/cjs/loader:813:14)
              at Module.require (node:internal/modules/cjs/loader:996:19)
              at require (node:internal/modules/cjs/helpers:92:18)
              at Object.<anonymous> (D:\MSR\server\lib\Capabilities.js:71:99)
              at Module._compile (node:internal/modules/cjs/loader:1092:14)
          
          1 Reply Last reply
          0
          • toggledbitsT Offline
            toggledbitsT Offline
            toggledbits
            wrote on last edited by
            #21

            Fix the case on your NODE_PATH value so it matches the actual case of every element of the directory path and give it a try.

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

            F 1 Reply Last reply
            1
            • toggledbitsT toggledbits

              Fix the case on your NODE_PATH value so it matches the actual case of every element of the directory path and give it a try.

              F Offline
              F Offline
              Fanan
              wrote on last edited by Fanan
              #22

              @toggledbits
              I've tried and tried - but I can't get it to work (getting the Ezlo Plus to work in MSR). I've several times tried every step. I use the Windows 10 bare metal install (reactor-latest-21221-4a447cb).
              I have repeatedly used:

              npm install --loglevel error --no-save
              set NODE_PATH=D:\reactor
              

              All cases are correct.

              This is what I get:

              2021-08-12T17:45:38.541Z <Controller:CRIT> Controller: failed to load ezlo implementation file:///D:/reactor/server/lib/EzloController.js: Error: Cannot find module 'server/lib/Configuration'
              Require stack:
              - D:\reactor\server\lib\EzloController.js
              2021-08-12T17:45:38.542Z <Controller:CRIT> Error: Cannot find module 'server/lib/Configuration'
              Require stack:
              - D:\reactor\server\lib\EzloController.js
              Error: Cannot find module 'server/lib/Configuration'
              Require stack:
              - D:\reactor\server\lib\EzloController.js
                  at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                  at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                  at Module.require (node:internal/modules/cjs/loader:1005:19)
                  at require (node:internal/modules/cjs/helpers:94:18)
                  at Object.<anonymous> (D:\reactor\server\lib\EzloController.js:506:144)
                  at Module._compile (node:internal/modules/cjs/loader:1101:14)
                  at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153: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:201:29)
              Error: Cannot find module 'server/lib/Configuration'
              Require stack:
              - D:\reactor\server\lib\EzloController.js
                  at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                  at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                  at Module.require (node:internal/modules/cjs/loader:1005:19)
                  at require (node:internal/modules/cjs/helpers:94:18)
                  at Object.<anonymous> (D:\reactor\server\lib\EzloController.js:506:144)
                  at Module._compile (node:internal/modules/cjs/loader:1101:14)
                  at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153: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:201:29) {
                code: 'MODULE_NOT_FOUND',
                requireStack: [ 'D:\\reactor\\server\\lib\\EzloController.js' ]
              }
              

              I do have the files that's MSR is asking for (eg. D:\reactor\server\lib\EzloController.js). So it's so strange! Do you know what could be wrong?
              Best regards,
              /Fanan

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

                Working for me:

                C:\Users\Patrick\Documents\MSR>set NODE_PATH=C:\Users\Patrick\Documents\MSR
                
                C:\Users\Patrick\Documents\MSR>node app.js
                basedir C:\Users\Patrick\Documents\MSR
                confdir C:\Users\Patrick\Documents\MSR\config
                datadir C:\Users\Patrick\Documents\MSR\storage
                logsdir C:\Users\Patrick\Documents\MSR\logs
                plugindir C:\Users\Patrick\Documents\MSR\ext
                module.paths [
                  'C:\\Users\\Patrick\\Documents\\MSR\\node_modules',
                  'C:\\Users\\Patrick\\Documents\\node_modules',
                  'C:\\Users\\Patrick\\node_modules',
                  'C:\\Users\\node_modules',
                  'C:\\node_modules'
                ]
                NODE_PATH C:\Users\Patrick\Documents\MSR
                2021-08-12T18:39:38.096Z <app:null> Reactor ###BUILDVERSION### starting on v14.15.5
                2021-08-12T18:39:38.097Z <app:INFO> Process ID 26416; platform win32/x64 Windows 10 Pro
                2021-08-12T18:39:38.099Z <app:INFO> Basedir C:\Users\Patrick\Documents\MSR; data in C:\Users\Patrick\Documents\MSR\storage
                2021-08-12T18:39:38.099Z <app:INFO> NODE_PATH C:\Users\Patrick\Documents\MSR; module paths [ "C:\\Users\\Patrick\\Documents\\MSR\\node_modules", "C:\\Users\\Patrick\\Documents\\node_modules", "C:\\Users\\Patrick\\node_modules", "C:\\Users\\node_modules", "C:\\node_modules" ]
                2021-08-12T18:39:38.100Z <app:INFO> process.env=[object Object]
                2021-08-12T18:39:38.100Z <app:INFO> process.env.TEST=(undefined)
                2021-08-12T18:39:38.145Z <Plugin:null> Module Plugin v21173
                2021-08-12T18:39:38.152Z <default:INFO> Module Entity v21177
                2021-08-12T18:39:38.155Z <Controller:null> Module Controller v21191
                2021-08-12T18:39:38.156Z <default:null> Module Structure v21216
                2021-08-12T18:39:38.162Z <default:null> Module Ruleset v21096
                2021-08-12T18:39:38.162Z <default:null> Module Rulesets v21096
                2021-08-12T18:39:38.181Z <default:null> Module Rule v21221
                2021-08-12T18:39:38.185Z <default:null> Module Engine v21213
                2021-08-12T18:39:38.186Z <default:null> Module httpapi v21215
                2021-08-12T18:39:38.189Z <default:null> Module httpproxy v21054
                2021-08-12T18:39:38.209Z <default:null> Module wsapi v21196
                2021-08-12T18:39:38.212Z <app:NOTICE> Starting Structure...
                2021-08-12T18:39:38.214Z <Structure:NOTICE> Structure#1 plugin ID influx disabled; skipping
                2021-08-12T18:39:38.216Z <Structure:INFO> Structure#1 starting controller interface ezlo (EzloController)
                2021-08-12T18:39:38.220Z <Structure:INFO> Structure#1 starting controller interface reactor_system (SystemController)
                2021-08-12T18:39:38.249Z <default:null> Module EzloController v21218
                2021-08-12T18:39:38.251Z <default:null> Module SystemController v21102
                2021-08-12T18:39:38.254Z <EzloController:null> EzloController#ezlo created, config { "source": "wss://192.168.0.67:17000", "serial": "900xxxxx", "username": "xxxxx", "password": "xxxxx", "auto_rediscover": false }
                2021-08-12T18:39:38.255Z <EzloController:null> EzloController#ezlo instance log level (null) (4)
                2021-08-12T18:39:38.269Z <Controller:INFO> EzloController#ezlo device mapping data loaded; checking...
                2021-08-12T18:39:38.272Z <Controller:INFO> EzloController#ezlo performing cloud auth to get local access token
                2021-08-12T18:39:38.324Z <Controller:NOTICE> Controller SystemController#reactor_system is now online.
                2021-08-12T18:39:38.395Z <app:INFO> Structure running; pausing for controllers' initial ready
                2021-08-12T18:39:39.934Z <Controller:INFO> EzloController#ezlo cloud auth phase complete (local access token acquired)
                2021-08-12T18:39:39.936Z <Controller:INFO> EzloController#ezlo opening local hub connection to "900xxxxx" at wss://192.168.0.67:17000
                2021-08-12T18:39:39.938Z <Controller:NOTICE> EzloController#ezlo configured to ignore host ("900xxxxx") certificate
                2021-08-12T18:39:39.940Z <Controller:NOTICE> EzloController#ezlo connecting via WS to wss://192.168.0.67:17000
                2021-08-12T18:39:40.038Z <Controller:NOTICE> EzloController#ezlo successful hub login; performing inventory
                2021-08-12T18:39:40.227Z <Controller:INFO> EzloController#ezlo data load complete; 21 devices received, 26 entities registered; 66 items.
                2021-08-12T18:39:40.227Z <Controller:INFO> EzloController#ezlo hub inventory complete/successful; 187ms
                2021-08-12T18:39:40.229Z <Controller:NOTICE> Controller EzloController#ezlo is now online.
                2021-08-12T18:39:40.231Z <app:NOTICE> Starting Reaction Engine...
                2021-08-12T18:39:40.233Z <Engine:INFO> Reaction Engine starting
                2021-08-12T18:39:40.234Z <Engine:INFO> Checking rule sets...
                2021-08-12T18:39:40.237Z <Engine:INFO> Checking rules...
                2021-08-12T18:39:40.237Z <Engine:INFO> Data check complete; no corrections.
                2021-08-12T18:39:40.240Z <Engine:NOTICE> Reaction Engine running!
                2021-08-12T18:39:40.241Z <app:NOTICE> Starting HTTP server and API...
                2021-08-12T18:39:40.245Z <app:NOTICE> Startup complete
                2021-08-12T18:39:40.249Z <httpapi:NOTICE> HTTP API v1 21215 base URL http://192.168.0.164:8111; listening
                2021-08-12T18:39:40.258Z <app:NOTICE> HTTP server running; registering proxy endpoints.
                2021-08-12T18:39:40.259Z <app:NOTICE> Starting WSAPI...
                2021-08-12T18:39:40.260Z <wsapi:NOTICE> wsapi: starting version 21196
                2021-08-12T18:39:40.343Z <Engine:INFO> Engine#1 master timer tick, local time "8/12/2021, 2:39:40 PM" (TZ offset -240 mins from UTC)
                

                Your snippets don't show the current startup information, which would be useful. Make sure that NODE_PATH appears with the correct value in the startup messages, as shown in the log above.

                Also works under PowerShell:

                PS C:\Users\Patrick\Documents\MSR> $env:NODE_PATH = 'C:\Users\Patrick\Documents\MSR'
                PS C:\Users\Patrick\Documents\MSR> $env:NODE_PATH
                C:\Users\Patrick\Documents\MSR
                PS C:\Users\Patrick\Documents\MSR> node app.js
                basedir C:\Users\Patrick\Documents\MSR
                confdir C:\Users\Patrick\Documents\MSR\config
                datadir C:\Users\Patrick\Documents\MSR\storage
                logsdir C:\Users\Patrick\Documents\MSR\logs
                plugindir C:\Users\Patrick\Documents\MSR\ext
                module.paths [
                  'C:\\Users\\Patrick\\Documents\\MSR\\node_modules',
                  'C:\\Users\\Patrick\\Documents\\node_modules',
                  'C:\\Users\\Patrick\\node_modules',
                  'C:\\Users\\node_modules',
                  'C:\\node_modules'
                ]
                NODE_PATH C:\Users\Patrick\Documents\MSR
                2021-08-12T18:45:56.225Z <app:null> Reactor ###BUILDVERSION### starting on v14.15.5
                2021-08-12T18:45:56.226Z <app:INFO> Process ID 25296; platform win32/x64 Windows 10 Pro
                2021-08-12T18:45:56.227Z <app:INFO> Basedir C:\Users\Patrick\Documents\MSR; data in C:\Users\Patrick\Documents\MSR\storage
                2021-08-12T18:45:56.227Z <app:INFO> NODE_PATH C:\Users\Patrick\Documents\MSR; module paths [ "C:\\Users\\Patrick\\Documents\\MSR\\node_modules", "C:\\Users\\Patrick\\Documents\\node_modules", "C:\\Users\\Patrick\\node_modules", "C:\\Users\\node_modules", "C:\\node_modules" ]
                2021-08-12T18:45:56.228Z <app:INFO> process.env=[object Object]
                2021-08-12T18:45:56.228Z <app:INFO> process.env.TEST=(undefined)
                2021-08-12T18:45:56.271Z <Plugin:null> Module Plugin v21173
                2021-08-12T18:45:56.279Z <default:INFO> Module Entity v21177
                2021-08-12T18:45:56.282Z <Controller:null> Module Controller v21191
                2021-08-12T18:45:56.283Z <default:null> Module Structure v21216
                2021-08-12T18:45:56.287Z <default:null> Module Ruleset v21096
                2021-08-12T18:45:56.287Z <default:null> Module Rulesets v21096
                2021-08-12T18:45:56.303Z <default:null> Module Rule v21221
                2021-08-12T18:45:56.310Z <default:null> Module Engine v21213
                2021-08-12T18:45:56.310Z <default:null> Module httpapi v21215
                2021-08-12T18:45:56.312Z <default:null> Module httpproxy v21054
                2021-08-12T18:45:56.332Z <default:null> Module wsapi v21196
                2021-08-12T18:45:56.334Z <app:NOTICE> Starting Structure...
                2021-08-12T18:45:56.338Z <Structure:NOTICE> Structure#1 plugin ID influx disabled; skipping
                2021-08-12T18:45:56.339Z <Structure:INFO> Structure#1 starting controller interface ezlo (EzloController)
                2021-08-12T18:45:56.344Z <Structure:INFO> Structure#1 starting controller interface reactor_system (SystemController)
                2021-08-12T18:45:56.370Z <default:null> Module EzloController v21218
                2021-08-12T18:45:56.372Z <default:null> Module SystemController v21102
                2021-08-12T18:45:56.375Z <EzloController:null> EzloController#ezlo created, config { "source": "wss://192.168.0.67:17000", "serial": "900xxxxx", "username": "xxxxx", "password": "xxxxx", "auto_rediscover": false }
                2021-08-12T18:45:56.375Z <EzloController:null> EzloController#ezlo instance log level (null) (4)
                2021-08-12T18:45:56.385Z <Controller:INFO> EzloController#ezlo device mapping data loaded; checking...
                2021-08-12T18:45:56.386Z <Controller:INFO> EzloController#ezlo performing cloud auth to get local access token
                2021-08-12T18:45:56.441Z <Controller:NOTICE> Controller SystemController#reactor_system is now online.
                2021-08-12T18:45:56.518Z <app:INFO> Structure running; pausing for controllers' initial ready
                2021-08-12T18:45:59.726Z <Controller:INFO> EzloController#ezlo cloud auth phase complete (local access token acquired)
                2021-08-12T18:45:59.727Z <Controller:INFO> EzloController#ezlo opening local hub connection to "900xxxxx" at wss://192.168.0.67:17000
                2021-08-12T18:45:59.727Z <Controller:NOTICE> EzloController#ezlo configured to ignore host ("900xxxxx") certificate
                2021-08-12T18:45:59.729Z <Controller:NOTICE> EzloController#ezlo connecting via WS to wss://192.168.0.67:17000
                2021-08-12T18:45:59.823Z <Controller:NOTICE> EzloController#ezlo successful hub login; performing inventory
                2021-08-12T18:46:00.006Z <Controller:INFO> EzloController#ezlo data load complete; 21 devices received, 26 entities registered; 66 items.
                2021-08-12T18:46:00.006Z <Controller:INFO> EzloController#ezlo hub inventory complete/successful; 182ms
                2021-08-12T18:46:00.007Z <Controller:NOTICE> Controller EzloController#ezlo is now online.
                2021-08-12T18:46:00.008Z <app:NOTICE> Starting Reaction Engine...
                2021-08-12T18:46:00.009Z <Engine:INFO> Reaction Engine starting
                2021-08-12T18:46:00.009Z <Engine:INFO> Checking rule sets...
                2021-08-12T18:46:00.012Z <Engine:INFO> Checking rules...
                2021-08-12T18:46:00.012Z <Engine:INFO> Data check complete; no corrections.
                2021-08-12T18:46:00.016Z <Engine:NOTICE> Reaction Engine running!
                2021-08-12T18:46:00.017Z <app:NOTICE> Starting HTTP server and API...
                2021-08-12T18:46:00.022Z <app:NOTICE> Startup complete
                2021-08-12T18:46:00.026Z <httpapi:NOTICE> HTTP API v1 21215 base URL http://192.168.0.164:8111; listening
                2021-08-12T18:46:00.039Z <app:NOTICE> HTTP server running; registering proxy endpoints.
                2021-08-12T18:46:00.040Z <app:NOTICE> Starting WSAPI...
                2021-08-12T18:46:00.042Z <wsapi:NOTICE> wsapi: starting version 21196
                2021-08-12T18:46:00.123Z <Engine:INFO> Engine#1 master timer tick, local time "8/12/2021, 2:46:00 PM" (TZ offset -240 mins from UTC)
                

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

                F 1 Reply Last reply
                0
                • toggledbitsT toggledbits

                  Working for me:

                  C:\Users\Patrick\Documents\MSR>set NODE_PATH=C:\Users\Patrick\Documents\MSR
                  
                  C:\Users\Patrick\Documents\MSR>node app.js
                  basedir C:\Users\Patrick\Documents\MSR
                  confdir C:\Users\Patrick\Documents\MSR\config
                  datadir C:\Users\Patrick\Documents\MSR\storage
                  logsdir C:\Users\Patrick\Documents\MSR\logs
                  plugindir C:\Users\Patrick\Documents\MSR\ext
                  module.paths [
                    'C:\\Users\\Patrick\\Documents\\MSR\\node_modules',
                    'C:\\Users\\Patrick\\Documents\\node_modules',
                    'C:\\Users\\Patrick\\node_modules',
                    'C:\\Users\\node_modules',
                    'C:\\node_modules'
                  ]
                  NODE_PATH C:\Users\Patrick\Documents\MSR
                  2021-08-12T18:39:38.096Z <app:null> Reactor ###BUILDVERSION### starting on v14.15.5
                  2021-08-12T18:39:38.097Z <app:INFO> Process ID 26416; platform win32/x64 Windows 10 Pro
                  2021-08-12T18:39:38.099Z <app:INFO> Basedir C:\Users\Patrick\Documents\MSR; data in C:\Users\Patrick\Documents\MSR\storage
                  2021-08-12T18:39:38.099Z <app:INFO> NODE_PATH C:\Users\Patrick\Documents\MSR; module paths [ "C:\\Users\\Patrick\\Documents\\MSR\\node_modules", "C:\\Users\\Patrick\\Documents\\node_modules", "C:\\Users\\Patrick\\node_modules", "C:\\Users\\node_modules", "C:\\node_modules" ]
                  2021-08-12T18:39:38.100Z <app:INFO> process.env=[object Object]
                  2021-08-12T18:39:38.100Z <app:INFO> process.env.TEST=(undefined)
                  2021-08-12T18:39:38.145Z <Plugin:null> Module Plugin v21173
                  2021-08-12T18:39:38.152Z <default:INFO> Module Entity v21177
                  2021-08-12T18:39:38.155Z <Controller:null> Module Controller v21191
                  2021-08-12T18:39:38.156Z <default:null> Module Structure v21216
                  2021-08-12T18:39:38.162Z <default:null> Module Ruleset v21096
                  2021-08-12T18:39:38.162Z <default:null> Module Rulesets v21096
                  2021-08-12T18:39:38.181Z <default:null> Module Rule v21221
                  2021-08-12T18:39:38.185Z <default:null> Module Engine v21213
                  2021-08-12T18:39:38.186Z <default:null> Module httpapi v21215
                  2021-08-12T18:39:38.189Z <default:null> Module httpproxy v21054
                  2021-08-12T18:39:38.209Z <default:null> Module wsapi v21196
                  2021-08-12T18:39:38.212Z <app:NOTICE> Starting Structure...
                  2021-08-12T18:39:38.214Z <Structure:NOTICE> Structure#1 plugin ID influx disabled; skipping
                  2021-08-12T18:39:38.216Z <Structure:INFO> Structure#1 starting controller interface ezlo (EzloController)
                  2021-08-12T18:39:38.220Z <Structure:INFO> Structure#1 starting controller interface reactor_system (SystemController)
                  2021-08-12T18:39:38.249Z <default:null> Module EzloController v21218
                  2021-08-12T18:39:38.251Z <default:null> Module SystemController v21102
                  2021-08-12T18:39:38.254Z <EzloController:null> EzloController#ezlo created, config { "source": "wss://192.168.0.67:17000", "serial": "900xxxxx", "username": "xxxxx", "password": "xxxxx", "auto_rediscover": false }
                  2021-08-12T18:39:38.255Z <EzloController:null> EzloController#ezlo instance log level (null) (4)
                  2021-08-12T18:39:38.269Z <Controller:INFO> EzloController#ezlo device mapping data loaded; checking...
                  2021-08-12T18:39:38.272Z <Controller:INFO> EzloController#ezlo performing cloud auth to get local access token
                  2021-08-12T18:39:38.324Z <Controller:NOTICE> Controller SystemController#reactor_system is now online.
                  2021-08-12T18:39:38.395Z <app:INFO> Structure running; pausing for controllers' initial ready
                  2021-08-12T18:39:39.934Z <Controller:INFO> EzloController#ezlo cloud auth phase complete (local access token acquired)
                  2021-08-12T18:39:39.936Z <Controller:INFO> EzloController#ezlo opening local hub connection to "900xxxxx" at wss://192.168.0.67:17000
                  2021-08-12T18:39:39.938Z <Controller:NOTICE> EzloController#ezlo configured to ignore host ("900xxxxx") certificate
                  2021-08-12T18:39:39.940Z <Controller:NOTICE> EzloController#ezlo connecting via WS to wss://192.168.0.67:17000
                  2021-08-12T18:39:40.038Z <Controller:NOTICE> EzloController#ezlo successful hub login; performing inventory
                  2021-08-12T18:39:40.227Z <Controller:INFO> EzloController#ezlo data load complete; 21 devices received, 26 entities registered; 66 items.
                  2021-08-12T18:39:40.227Z <Controller:INFO> EzloController#ezlo hub inventory complete/successful; 187ms
                  2021-08-12T18:39:40.229Z <Controller:NOTICE> Controller EzloController#ezlo is now online.
                  2021-08-12T18:39:40.231Z <app:NOTICE> Starting Reaction Engine...
                  2021-08-12T18:39:40.233Z <Engine:INFO> Reaction Engine starting
                  2021-08-12T18:39:40.234Z <Engine:INFO> Checking rule sets...
                  2021-08-12T18:39:40.237Z <Engine:INFO> Checking rules...
                  2021-08-12T18:39:40.237Z <Engine:INFO> Data check complete; no corrections.
                  2021-08-12T18:39:40.240Z <Engine:NOTICE> Reaction Engine running!
                  2021-08-12T18:39:40.241Z <app:NOTICE> Starting HTTP server and API...
                  2021-08-12T18:39:40.245Z <app:NOTICE> Startup complete
                  2021-08-12T18:39:40.249Z <httpapi:NOTICE> HTTP API v1 21215 base URL http://192.168.0.164:8111; listening
                  2021-08-12T18:39:40.258Z <app:NOTICE> HTTP server running; registering proxy endpoints.
                  2021-08-12T18:39:40.259Z <app:NOTICE> Starting WSAPI...
                  2021-08-12T18:39:40.260Z <wsapi:NOTICE> wsapi: starting version 21196
                  2021-08-12T18:39:40.343Z <Engine:INFO> Engine#1 master timer tick, local time "8/12/2021, 2:39:40 PM" (TZ offset -240 mins from UTC)
                  

                  Your snippets don't show the current startup information, which would be useful. Make sure that NODE_PATH appears with the correct value in the startup messages, as shown in the log above.

                  Also works under PowerShell:

                  PS C:\Users\Patrick\Documents\MSR> $env:NODE_PATH = 'C:\Users\Patrick\Documents\MSR'
                  PS C:\Users\Patrick\Documents\MSR> $env:NODE_PATH
                  C:\Users\Patrick\Documents\MSR
                  PS C:\Users\Patrick\Documents\MSR> node app.js
                  basedir C:\Users\Patrick\Documents\MSR
                  confdir C:\Users\Patrick\Documents\MSR\config
                  datadir C:\Users\Patrick\Documents\MSR\storage
                  logsdir C:\Users\Patrick\Documents\MSR\logs
                  plugindir C:\Users\Patrick\Documents\MSR\ext
                  module.paths [
                    'C:\\Users\\Patrick\\Documents\\MSR\\node_modules',
                    'C:\\Users\\Patrick\\Documents\\node_modules',
                    'C:\\Users\\Patrick\\node_modules',
                    'C:\\Users\\node_modules',
                    'C:\\node_modules'
                  ]
                  NODE_PATH C:\Users\Patrick\Documents\MSR
                  2021-08-12T18:45:56.225Z <app:null> Reactor ###BUILDVERSION### starting on v14.15.5
                  2021-08-12T18:45:56.226Z <app:INFO> Process ID 25296; platform win32/x64 Windows 10 Pro
                  2021-08-12T18:45:56.227Z <app:INFO> Basedir C:\Users\Patrick\Documents\MSR; data in C:\Users\Patrick\Documents\MSR\storage
                  2021-08-12T18:45:56.227Z <app:INFO> NODE_PATH C:\Users\Patrick\Documents\MSR; module paths [ "C:\\Users\\Patrick\\Documents\\MSR\\node_modules", "C:\\Users\\Patrick\\Documents\\node_modules", "C:\\Users\\Patrick\\node_modules", "C:\\Users\\node_modules", "C:\\node_modules" ]
                  2021-08-12T18:45:56.228Z <app:INFO> process.env=[object Object]
                  2021-08-12T18:45:56.228Z <app:INFO> process.env.TEST=(undefined)
                  2021-08-12T18:45:56.271Z <Plugin:null> Module Plugin v21173
                  2021-08-12T18:45:56.279Z <default:INFO> Module Entity v21177
                  2021-08-12T18:45:56.282Z <Controller:null> Module Controller v21191
                  2021-08-12T18:45:56.283Z <default:null> Module Structure v21216
                  2021-08-12T18:45:56.287Z <default:null> Module Ruleset v21096
                  2021-08-12T18:45:56.287Z <default:null> Module Rulesets v21096
                  2021-08-12T18:45:56.303Z <default:null> Module Rule v21221
                  2021-08-12T18:45:56.310Z <default:null> Module Engine v21213
                  2021-08-12T18:45:56.310Z <default:null> Module httpapi v21215
                  2021-08-12T18:45:56.312Z <default:null> Module httpproxy v21054
                  2021-08-12T18:45:56.332Z <default:null> Module wsapi v21196
                  2021-08-12T18:45:56.334Z <app:NOTICE> Starting Structure...
                  2021-08-12T18:45:56.338Z <Structure:NOTICE> Structure#1 plugin ID influx disabled; skipping
                  2021-08-12T18:45:56.339Z <Structure:INFO> Structure#1 starting controller interface ezlo (EzloController)
                  2021-08-12T18:45:56.344Z <Structure:INFO> Structure#1 starting controller interface reactor_system (SystemController)
                  2021-08-12T18:45:56.370Z <default:null> Module EzloController v21218
                  2021-08-12T18:45:56.372Z <default:null> Module SystemController v21102
                  2021-08-12T18:45:56.375Z <EzloController:null> EzloController#ezlo created, config { "source": "wss://192.168.0.67:17000", "serial": "900xxxxx", "username": "xxxxx", "password": "xxxxx", "auto_rediscover": false }
                  2021-08-12T18:45:56.375Z <EzloController:null> EzloController#ezlo instance log level (null) (4)
                  2021-08-12T18:45:56.385Z <Controller:INFO> EzloController#ezlo device mapping data loaded; checking...
                  2021-08-12T18:45:56.386Z <Controller:INFO> EzloController#ezlo performing cloud auth to get local access token
                  2021-08-12T18:45:56.441Z <Controller:NOTICE> Controller SystemController#reactor_system is now online.
                  2021-08-12T18:45:56.518Z <app:INFO> Structure running; pausing for controllers' initial ready
                  2021-08-12T18:45:59.726Z <Controller:INFO> EzloController#ezlo cloud auth phase complete (local access token acquired)
                  2021-08-12T18:45:59.727Z <Controller:INFO> EzloController#ezlo opening local hub connection to "900xxxxx" at wss://192.168.0.67:17000
                  2021-08-12T18:45:59.727Z <Controller:NOTICE> EzloController#ezlo configured to ignore host ("900xxxxx") certificate
                  2021-08-12T18:45:59.729Z <Controller:NOTICE> EzloController#ezlo connecting via WS to wss://192.168.0.67:17000
                  2021-08-12T18:45:59.823Z <Controller:NOTICE> EzloController#ezlo successful hub login; performing inventory
                  2021-08-12T18:46:00.006Z <Controller:INFO> EzloController#ezlo data load complete; 21 devices received, 26 entities registered; 66 items.
                  2021-08-12T18:46:00.006Z <Controller:INFO> EzloController#ezlo hub inventory complete/successful; 182ms
                  2021-08-12T18:46:00.007Z <Controller:NOTICE> Controller EzloController#ezlo is now online.
                  2021-08-12T18:46:00.008Z <app:NOTICE> Starting Reaction Engine...
                  2021-08-12T18:46:00.009Z <Engine:INFO> Reaction Engine starting
                  2021-08-12T18:46:00.009Z <Engine:INFO> Checking rule sets...
                  2021-08-12T18:46:00.012Z <Engine:INFO> Checking rules...
                  2021-08-12T18:46:00.012Z <Engine:INFO> Data check complete; no corrections.
                  2021-08-12T18:46:00.016Z <Engine:NOTICE> Reaction Engine running!
                  2021-08-12T18:46:00.017Z <app:NOTICE> Starting HTTP server and API...
                  2021-08-12T18:46:00.022Z <app:NOTICE> Startup complete
                  2021-08-12T18:46:00.026Z <httpapi:NOTICE> HTTP API v1 21215 base URL http://192.168.0.164:8111; listening
                  2021-08-12T18:46:00.039Z <app:NOTICE> HTTP server running; registering proxy endpoints.
                  2021-08-12T18:46:00.040Z <app:NOTICE> Starting WSAPI...
                  2021-08-12T18:46:00.042Z <wsapi:NOTICE> wsapi: starting version 21196
                  2021-08-12T18:46:00.123Z <Engine:INFO> Engine#1 master timer tick, local time "8/12/2021, 2:46:00 PM" (TZ offset -240 mins from UTC)
                  
                  F Offline
                  F Offline
                  Fanan
                  wrote on last edited by Fanan
                  #24

                  @toggledbits
                  Thanks! I now seem to have overcome the NODE_PATH.... So the next problem arise. I now get a message related to the Ezlo plus: "... ezlo failed to authenticate: Error: Request failed: 404 NOT FOUND."

                  I did a screenshot, so that I could easily hide my credentials. I have used my username as I use for both my Vera and Ezlo. I have checked them over and over - and they are correct. Is it something connected to the " "? Or what could it be?

                  91b3ef69-f368-4a32-92d6-c6cec0a3dcf8-image.png

                  The last lines are:

                  2021-08-13T12:04:13.950Z <Controller:ERR> EzloController#ezlo failed to authenticate: Error: Request failed: 404 NOT FOUND
                  2021-08-13T12:04:13.951Z <Controller:ERR> EzloController#ezlo failed to log in: auth failed
                  2021-08-13T12:04:15.034Z <VeraController:NOTICE> Controller VeraController#vera is now online.
                  2021-08-13T12:04:18.963Z <Controller:INFO> EzloController#ezlo performing cloud auth to get local access token
                  2021-08-13T12:04:19.460Z <Controller:ERR> EzloController#ezlo failed to authenticate: Error: Request failed: 404 NOT FOUND
                  2021-08-13T12:04:19.461Z <Controller:ERR> EzloController#ezlo failed to log in: auth failed
                  2021-08-13T12:04:24.470Z <Controller:INFO> EzloController#ezlo performing cloud auth to get local access token
                  2021-08-13T12:04:24.955Z <Controller:ERR> EzloController#ezlo failed to authenticate: Error: Request failed: 404 NOT FOUND
                  2021-08-13T12:04:24.956Z <Controller:ERR> EzloController#ezlo failed to log in: auth failed
                  
                  1 Reply Last reply
                  0
                  • toggledbitsT Offline
                    toggledbitsT Offline
                    toggledbits
                    wrote on last edited by toggledbits
                    #25

                    Username or password is incorrect. The "NOT FOUND" it is referring to is you.

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

                    F 1 Reply Last reply
                    0
                    • toggledbitsT toggledbits

                      Username or password is incorrect. The "NOT FOUND" it is referring to is you.

                      F Offline
                      F Offline
                      Fanan
                      wrote on last edited by
                      #26

                      @toggledbits
                      I also thought so. But it's not incorrect. I even tried to create another user profile. The profile is able to log in to Vera/Ezlo. But when I use the profiles credentials, I get the same error. I changed between my true profile and the test profile - and always get the same result. So it's more to the story.
                      This is from my yaml file. I guess it looks alright?
                      55c82243-9760-40a4-8cb6-2990ff4dc134-image.png

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

                        Are there any special characters in the password, like international characters? Also what region are you in?

                        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
                        0
                        • F Offline
                          F Offline
                          Fanan
                          wrote on last edited by Fanan
                          #28

                          Yes, there is a @ in my password. I'm in Europe/Sweden.

                          Vera/Ezlo has these demands on the passwords:
                          Password must be at least 8 characters long and include:

                          • at least one lowercase letter;
                          • at least one special character;
                          • uppercase letters or numbers.
                          1 Reply Last reply
                          0
                          • toggledbitsT Offline
                            toggledbitsT Offline
                            toggledbits
                            wrote on last edited by
                            #29

                            Is your username capitalized?

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

                            F 1 Reply Last reply
                            0
                            • toggledbitsT toggledbits

                              Is your username capitalized?

                              F Offline
                              F Offline
                              Fanan
                              wrote on last edited by
                              #30

                              @toggledbits
                              Yes. Everywhere.

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

                                OK. That's probably it. Try creating an account with an all lower-case username. Password is fine.

                                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
                                0
                                • F Offline
                                  F Offline
                                  Fanan
                                  wrote on last edited by
                                  #32

                                  Thanks! It worked! Finally after so many hours.... 😊 It was the low-case username that did the trick!
                                  Have a great weekend Patrick!
                                  /Fanan

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

                                    Excellent news. That's a bug I can fix, so I'll make sure that's in the next build and you can use your username the way you want it to be.

                                    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
                                    1
                                    • toggledbitsT toggledbits

                                      Excellent news. That's a bug I can fix, so I'll make sure that's in the next build and you can use your username the way you want it to be.

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

                                      @toggledbits

                                      "Note that Generation 1 Atoms are supported in this version, but only through the remote access API (so it's cloud-dependent). Gen2 and later Atoms/PlugHubs can run with local/LAN access (no cloud dependency)."

                                      Did you hear back from the Ezlo devs with the needed information for this? Or have you just gone ahead and used the learned knowledge from the forum ?

                                      My Atom is now at firmware version 0.8.539. However I am not totally sure if its a gen1 or gen2 Atom? I think its gen2 but not sure.

                                      Its still not appearing in the MSR Entities area however.

                                      I have tried with "set_anonymous_access: true" commented out and not commented out in the reactor.yaml file.

                                      I can't see anything in the MSR log to do with the Atom controller only the Ezlo Plus controller.

                                      Thanks

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

                                        I have heard nothing from the eZLO devs on anything. That's business as usual. Everything I've done, everything that everyone has done, in this respect has been done based on hearsay and tribal knowledge, no specifications or documentation from eZLO. May stop working at any time.

                                        Sounds like you have a Gen1 atom. You have to configure for cloud/remote access, it doesn't switch back and forth automatically. That involves just commenting out the source field. If the source field is not present, then the EzloController uses remote access to get to the device. But, there's bug that leaked in the remote access login that I just fixed. Are you on a docker container or bare metal install?

                                        The set_anonymous_access field is not available for Atom and PlugHub; it is not supported on these platforms.

                                        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

                                          I have heard nothing from the eZLO devs on anything. That's business as usual. Everything I've done, everything that everyone has done, in this respect has been done based on hearsay and tribal knowledge, no specifications or documentation from eZLO. May stop working at any time.

                                          Sounds like you have a Gen1 atom. You have to configure for cloud/remote access, it doesn't switch back and forth automatically. That involves just commenting out the source field. If the source field is not present, then the EzloController uses remote access to get to the device. But, there's bug that leaked in the remote access login that I just fixed. Are you on a docker container or bare metal install?

                                          The set_anonymous_access field is not available for Atom and PlugHub; it is not supported on these platforms.

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

                                          @toggledbits

                                          Bare metal Linux Debian install.

                                          I did try to comment out the source line earlier. I just tried again now. I also have set_anonymous_access commented out.

                                          The serial number of the Atom and the username and password look OK. Restarted MSR but still nothing in entities.

                                          If I login to https://home.getvera.com/ with same username and password I can see that Atom listed in the controllers.

                                          - id: ezlo-atom
                                            enabled: false
                                            implementation: EzloController
                                            name: Ezlo Atom
                                            config:
                                              # source: "wss://192.168.0.243:17000"  # change the IP address
                                              serial: "70060304"    # put your hub's serial here
                                              username: "myusername"  # put your username here between quotes
                                              password: "mypassword"  # and password
                                              # set_anonymous_access: true
                                          

                                          In the MSR log I see no mention of the word "atom"

                                          Maybe I need your bug fix first then.

                                          Cheers.

                                          EDIT:

                                          Bugger just spotted it says enabled "false" maybe that's why.

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


                                          Recent Topics

                                          • Date/time condition
                                            tunnusT
                                            tunnus
                                            0
                                            3
                                            38

                                          • Is there a way to turn this section (image in post) off?
                                            toggledbitsT
                                            toggledbits
                                            0
                                            1
                                            48

                                          • Device log?
                                            toggledbitsT
                                            toggledbits
                                            0
                                            2
                                            81

                                          • Midnight crossing not working in date/time condition (build 25325)
                                            tunnusT
                                            tunnus
                                            0
                                            3
                                            85

                                          • Error: Command timeout
                                            G
                                            gwp1
                                            0
                                            6
                                            198

                                          • Reactor (Multi-System/Multi-Hub) Announcements
                                            toggledbitsT
                                            toggledbits
                                            5
                                            131
                                            75.4k

                                          • [Solved] Local expression in Rule does not evaluate as they used to do
                                            CrilleC
                                            Crille
                                            0
                                            5
                                            285

                                          • Home Assistant 2025.11.2 and latest-25315
                                            G
                                            gwp1
                                            0
                                            6
                                            295

                                          • Notice to Docker + ARM Users (RPi 3/4/5 and others)
                                            toggledbitsT
                                            toggledbits
                                            1
                                            1
                                            105

                                          • Requesting a proper ARM64/aarch64 Docker image (Pi 5 support)
                                            M
                                            mgvra
                                            1
                                            3
                                            213

                                          • Script action and custom timers
                                            toggledbitsT
                                            toggledbits
                                            0
                                            4
                                            229
                                          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