Is there a way to log a connection to Z-WAVE-SERVER ? #3596
Replies: 6 comments 3 replies
-
I dunno if zwave-js-server exposes this someway CC @raman325 |
Beta Was this translation helpful? Give feedback.
-
We emit a If you are concerned about the connection between
|
Beta Was this translation helpful? Give feedback.
-
Humm ok but I would miss the state when the connection is lost too, dunno if the above suggestions could work for the user BTW. I think on HA side there should be something that show the integration is connected to the websocket server or not? |
Beta Was this translation helpful? Give feedback.
-
You can tell when the integration is connected to the websocket server because all of the entities that get created from the devices become available (they will be unavailable when the connection goes down). Hence my suggestion above. I could add more events, but unless you plan to natively expose something in zjs-ui based on these events, I agree that it doesn't help in this case |
Beta Was this translation helpful? Give feedback.
-
I think exposing events would not be so bad, I could at least log the changes to console and then think about showing the state on ui |
Beta Was this translation helpful? Give feedback.
-
That would be perfect
|
Beta Was this translation helpful? Give feedback.
-
Hi
I am converting some old Z-Net devices into Zwave-JS-UI embeded devices and I need a way to know if HomeAssistant is connected to the Z-WAVE-SERVER so I can change the status of the LED light on the Z-Net device depending on this connection.
I actually have two state, red ==> Controler not ready, yellow ==> Driver ready and would like to have a green ligth when HA is connected to the Z-WAVE-SERVER.
Actually in the log file, the only message I can see is when HA disconnects from ZWave-JS-UI:
2024-02-10 20:57:50.685 INFO Z-WAVE-SERVER: Client disconnected
Unless there is another way I can identify localy on the Raspberry running the ZWave_JS-UI if there is a connection between HA and Zwave-JS-UI that I am niot aware of
Thanks for the help on this
Beta Was this translation helpful? Give feedback.
All reactions