-
zwave-js-ui latest, Ubuntu 22, installed via snap package. I installed zwave-js-ui to replace zwavejs2mqtt, as recommended. I ported my nodes.json & settings.json from zwavejs2mqtt and changed the service name. The service is running and I can command my z-wave devices from domoticz via MQTT, but I cannot access the zwjs UI on port 8091. Netstat shows the node process for zwjs listening: and the log says 'Listening on localhost port 8091'. I need to connect from a remote PC, as the server is headless, so I'm hitting http://192.168.8.200:8091 or http://domoticz:8091 but nothing works, it's always ERR_CONNECTION_REFUSED. The problem here, I think is that it's listening on 127.0.0.1 not on 0.0.0.0 or the LAN IP of the port (192.168.8.200 / domoticz). settings.json: I tried adding a "host" option under the 'gateway' section and setting it to "domoticz", but that made no difference. It seems to have the right port defined in the snap config: How do I force it to listen on the correct IP (0.0.0.0)? All the code and documentation suggests that 0.0.0.0 is the default, so why's mine picking localhost? Help! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
Set it to listen to
|
Beta Was this translation helpful? Give feedback.
-
Ah, that's where to force it. Thank you! :-) I didn't find that anywhere in the documentation. The documentation on Github implies that 0.0.0.0 is (reasonably) the default. Why would it be using 127.0.0.1? Is that something caused by my system or by the application? Services normally listen on 0.0.0.0 unless told otherwise; defaulting to localhost causes real pain on smart home systems as most are run headless. |
Beta Was this translation helpful? Give feedback.
-
There's a help command ( |
Beta Was this translation helpful? Give feedback.
-
Hi, I installed snapd 2 days ago on a test pi4 with domoticz and zwave and came accross the hello-world preload error to begin with , the solution to this is comment out the preload rule and then it works , but why does this start with a error , the rest needs to be done but the start is emediately an error , need to do all the rest, i wonder if there's a step by step plan how to do this with snap , i allso don't want to use docker because it's not really needed and puts overhead on the systeem, it is the recommended way to go, but why?, have read people who did this, did not get it working. But want to try this , but with a good step by step plan otherwise one gets lost in all sorts of searching and not reaching a solution . the features that i've read about the new interface are great , one can update the firmware of the zwave devices if the manufacturer has supplied these files. Anyone got this working and has wrote down the steps to do this? |
Beta Was this translation helpful? Give feedback.
-
Use 👍 Am installing Home Assistant on a RPI 4 that is had , and man it's al working out of the box, had a extra AEOTEC wave+ stick , added a few devices and bam it worked with the ZW JS module, am very pleased with that., Domoticz is lagging with features that are on HA out of the box, did not look at HA before but now there's a reason for it. |
Beta Was this translation helpful? Give feedback.
-
Have a look at the note for Rasbian: https://zwave-js.github.io/zwave-js-ui/#/getting-started/other-methods?id=snap-package |
Beta Was this translation helpful? Give feedback.
-
thanx, i will look into it. |
Beta Was this translation helpful? Give feedback.
Set it to listen to
0.0.0.0
,