Hi abmantis,
Great thankyou for making this card; I have been trying to move my zwave-chord view to a card for a while, this helped.
In the meantime, I tweaked your code to add the node names on the graph which made it much more helpful for me.
I also changed the highlight colour, so when I select a node I can more easily see which nodes it connects to (I have around 100 nodes, so it it quite a busy display).
PS: sw_version seems to be null in my network, but otherwise it would help.
var res = regDevice ? "<b>" + regDevice.name_by_user + "</b>\n" : "";
res += "<b>Model: </b>" + regDevice.model + "\n";
res += "<b>Node: </b>" + device.node_id + "\n";
// res += "<b>V: </b>" + regDevice.sw_version + "\n";
res += (device.is_routing ? "Routing" : "Not routing") + " | ";
res += (device.is_awake ? "Awake" : "Sleeping") + " | ";
res += (device.is_beaming ? "Beaming" : "Not beaming") + "";
I cannot seem to get this card working. I am using Home Assistant 0.114.4. I manually placed the JavaScript in /config/www folder, made a reference to it in the integrations / lovelace / resources as:
/local/ozw-network-visualization-card.js
Made a page in panel mode with one manual card on the page with code:
type: 'custom:ozw-network-visualization-card'
Restarted HA then cleared my browser cache. Checked to see if ozw beta is running and saw this:
When I check the panel, I have this:
The box is larger, but this is all the information in it.
Any ideas what I am doing wrong?
Paul
Currently I have a USB z-wave dongle (zwave.me) installed and working with a single Fibaro battery powered sensor (rest of z-wave devices already associated with other hub). When I look at your map, there are no “path” lines between the hub and the z-wave device.
When I look at the MQTT config, neither the stick nor Fibaro device show “neighbors”. What did I miss/not do that I should?
just a heads up. Think this card will break in 2021.4. I am running the beta and any time I try to view the card/panel I get the following error: Error handling message: expected int for dictionary value @ data['node_id']. Got None
I think it is related to https://github.com/home-assistant/core/pull/48140
Currently, I don’t have access to a system where I can test the card. The error doesn’t seem related with that PR. It seems that the node_id is missing.
Is there any way to select from multiple instances with this card? I’ve got two different OpenZWave instances running, and whenever I add the card to a dashboard, it always defaults to the smaller, less interesting instance.