zha-network-visualization-card icon indicating copy to clipboard operation
zha-network-visualization-card copied to clipboard

Lovelace Dashboard

Open mcfarlde opened this issue 4 years ago • 5 comments

I'd like to get this working. I never moved to full yaml mode as I like being able to tweak via the UI. I cannot add this to the Raw config, it tells me to add via lovelace Dashboard config as a resource. I do that adding. "/local/zha-network-visualization-card/zha-network-visualization-card.js" as a javascript module. I then make a new view as panel and try to add a custom card with "type: zha-network-visualization-card.js" and get "Error Unknown Type..." I think the problem is with the lovelace dashboard resource, but cannot determine how to fix.

mcfarlde avatar Apr 19 '20 23:04 mcfarlde

Did you install it with Home Assistant Community Store, HACS? Also make sure it’s type: zha-network-visualization-card

what you put in your Lovelace card. Ditch the .js at the end.

LEJOUI avatar Apr 20 '20 21:04 LEJOUI

I added through HACS and have the same issue: I tried ditching the .js at the end of the path too.

image

maxi1134 avatar Apr 20 '20 22:04 maxi1134

I did remove everything and then try HACS with same results. I then follwed JonG's instructions at https://community.home-assistant.io/t/zha-network-map-question/166230/3 but using the new lovelace dashboard resources and it worked once I removed the single quotes when adding the manual panel to a view. I then found that navigation in home Assistant was greatly affected. Developer Tools and Supervisor took ages to open som I removed everything again. I did see the visualization of my zigbee network which was cool but not very useful for anything. Thanks for this, I'll try again if you add functionality to it.

mcfarlde avatar Apr 21 '20 00:04 mcfarlde

I added through HACS and have the same issue: I tried ditching the .js at the end of the path too.

image

This is the code for the ZHA network card and is another component. If you want that to work you should install the ZHA network card and not the zha network card visualization card. If you want to have the map card you should install the zha network visualization card and add it in Lovelace with the code that can be found in the readme of this repo.

LEJOUI avatar Apr 21 '20 05:04 LEJOUI

I did remove everything and then try HACS with same results. I then follwed JonG's instructions at https://community.home-assistant.io/t/zha-network-map-question/166230/3 but using the new lovelace dashboard resources and it worked once I removed the single quotes when adding the manual panel to a view. I then found that navigation in home Assistant was greatly affected. Developer Tools and Supervisor took ages to open som I removed everything again. I did see the visualization of my zigbee network which was cool but not very useful for anything. Thanks for this, I'll try again if you add functionality to it.

Glad you got it working. In #15 they also have the same issue. Having the same thing there. Only refreshing the browser is the solution for now.

LEJOUI avatar Apr 21 '20 05:04 LEJOUI