Closed proycon closed 4 months ago
This issue has some similarities: https://github.com/zwave-js/zwave-js-ui/issues/1771
2024-05-30T09:47:25.783Z CNTRLR » [Node 014] querying node info...
Does this return then? If not that's why you see it stucked on protocol info, that's the last stage it did
Please make a driver log, loglevel debug
and attach it here as a file (drag & drop into the text field).
Does this return then?
Good question.. unfortunately my logs have rotated again since I restarted the container many time so I lost that info now...
In the meantime I worked around this issue by re-including the devices that were stuck. Now they work (but I'm not sure why a reinclude was needed as it worked before the migration, but perhaps I don't understand enough of zwave and the inclusion sends some extra info that openzwave processed at the time and wasn't available for zwavejs until now).
The device is a sleeping device, so it has to be woken up for the interview to happen.
Interview stage = Protocol Info means that this stage was last completed. This is read from the controllers memory, not the device. The next part requires communication with the device, which cannot happen while it is asleep.
Side note:
propagate over MQTT to HomeAssistant
You should use the Z-Wave integration, not MQTT. The former is more tightly coupled with Z-Wave JS.
Interview stage = Protocol Info means that this stage was last completed. This is read from the controllers memory, not the device. The next part requires communication with the device, which cannot happen while it is asleep.
Ah, thanks for the clarification. That makes sense. I had indeed assumed it came from the device rather than the controller.
You should use the Z-Wave integration, not MQTT. The former is more tightly coupled with Z-Wave JS.
That's why I chose MQTT, I don't want the coupling to be too tight. I have MQTT as the backbone for everything and want to have the flexilibity to move things away from home assistant to simpler scripts. I also like that zwavejs-ui is a separate thing in its own container now.
By being coupled more tightly I meant in terms of functionality. You can still run Z-Wave JS UI separately, and even use the MQTT part. However the mqtt discovery is limited, and not as actively maintained. So to get Z-Wave JS UI connected to HA, I strongly recommend the websocket based integration.
I'm migrating from openzwave to zwavejs. Some of my devices (mostly Fibaro FSM01) migrated fine, but many others are stuck on 'ProtocolInfo' for over a day now, with
Unknown manufacturer 0xXXXX
. Prior to the migration, these devices were also working fine on openzwave.I forced an interview on one of the stuck nodes:
This looks good to me, however, the webinterface still shows the device as stuck on ProtocolInfo (and I assume therefore it doesn't propagate over MQTT to HomeAssistant either).
Pressing buttons that device also triggers events in the log. So the device seems to work fine.
Am I overlooking something? Is this a bug?
Zwave-JS 12.5.6 Zwave-JS-UI 9.12.0.96eeb76 Running in Podman using the Docker image.