Open GHSTUDIO1 opened 3 years ago
I spent some time looking at the code. I dont think this will be trivial to support. In the OZW HASS integration there is lots of data provided about each node and how they are connected - from what i can see anyway.. however in the zwavejs integration, that sort of data is provided by zwavejs itself or even possibly the zwavejs2mqtt server, but not in the native zwavejs integration for home assistant. I looked at the calls supported through the websocket api in the zwavejs module, the info is just not there. Perhaps one would have to a) add that api capability in the zwavejs hass integration or two, make this visualization card get the info directly from the zwavejs2mqtt server. I hope there is some ability for topology in the future.. I will point out that i am an amateur at reading code so i may not be 100% accurate in my assessment.
FWIW, if you're using zwavejs2mqtt, the z2m UI has a visualization already. If I remember right, it used to look a lot like this card, but I think they changed it recently to look like the other tree-formatted visualization that's been around for a while.
I have yet to look at supporting zjs, but yes, the integration needs to provide the neighbor data. I don't think getting that from zjs2mqtt is a good approach since that would restrict this to that specific addon of zjs.
just tried this and all I get is this"the panel just says search name nodeid model" but nothing else... so I am guessing this issue is still ongoing and does not work with ZWaveJS probably should be more clear this is not compatible
the panel just says search name nodeid model but nothing else...