HASS 2022.5 issue with ZwaveJS in MSR
-
Running zwavejs-22118-baab576 in MSR, HASSOS 2022.5.1
Due to an unreported issue in HASS, when I upgraded the 2022.5 yesterday, it dropped ZwaveJS2MQTT from my HASSOS build. Finally got it reinstalled and it appears to be working the way it was previously.
MSR is now showing zwavejs down and in entities, nothing is updating.Seeing this in the logs:
ZWaveJSController#zwavejs ws_open caught [Error]Error: connect ECONNREFUSED 192.168.0.16:3000Are there additional steps needed that are not mentioned in the manual?
At a loss to figure out what is causing issue. -
Well, I was hoping one of the HassOS users would chime in here. I don't use it. But, if memory serves, installing zwavejs-server or zwavejs2mqtt from inside HassOS installs it in a way where nothing outside of the HassOS container can access it. You have to install it outside of HassOS as a parallel package. Beyond that, no idea, but that would be my first guess. Other than that, you need to make sure the WS Server is enabled in zwavejs2mqtt (in its settings under Home Assistant), but if that wasn't already enabled, I'm guessing Hass wouldn't be able to access it either (and you didn't say if it could or could not).
Also please review the posting guidelines' advice around posting log snippets (no context included in your post and not formatted correctly).
-
Patrick,
As far as I know everything is set up the same as it was before I upgraded to HA 2022.5. I did reinstall Zwave2mqtt because of a version issue. But it is set up as it was prior. WS is enabled and listening on port 3000 which matches the reactor.yaml config.These lines in the log are the only thing I see related to this issue. Everything before and after is rules evaluations.
[zwavejs-22126]2022-05-08T17:10:29.926Z <ZWaveJSController:6:Controller.js:529> [ZWaveJSController:tick()] entry [zwavejs-22126]2022-05-08T17:10:29.926Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs connecting to ws://192.168.0.16:3000 [zwavejs-22126]2022-05-08T17:10:29.927Z <ZWaveJSController:6:Controller.js:538> ZWaveJSController#zwavejs:run() took 1ms [zwavejs-22126]2022-05-08T17:10:29.929Z <ZWaveJSController:WARN> ZWaveJSController#zwavejs websocket error during open/negotation: [Error]Error: connect ECONNREFUSED 192.168.0.16:3000 [zwavejs-22126]2022-05-08T17:10:29.929Z <ZWaveJSController:NOTICE> ZWaveJSController#zwavejs websocket to ws://192.168.0.16:3000 closed during open/negotiation [zwavejs-22126]2022-05-08T17:10:29.930Z <ZWaveJSController:5:Controller.js:767> ZWaveJSController#zwavejs ws_open caught [Error]Error: connect ECONNREFUSED 192.168.0.16:3000 [zwavejs-22126]2022-05-08T17:10:29.930Z <ZWaveJSController:NOTICE> ZWaveJSController#zwavejs connection to ws://192.168.0.16:3000 failed; will retry [zwavejs-22126]2022-05-08T17:10:29.930Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs retry 727 delay 120000
This repeats itself periodically but not seeing any additional zwavejscontroller messages.
For the zwavejs test, where there any additional configuration requirements that are not included in the manual?
Any additional logging I can enable, or additional info I can provide?Next step is to roll back HASS version to 2022.4 that was working.
-
I use 2022.5.1 with zwavejs2mqtt and Reactor, all works. Something in your setup isn't happy. I assume you have right IP address for the Hass/zwavejs2mqtt system?
Since it's a not-connect issue, there's no additional debug that would be of any value. That's the problem you're solving.
-
T toggledbits locked this topic on