Code Monkey home page Code Monkey logo

ozw-network-visualization-card's Introduction

OZW Network Visualization Card

Home Assistant custom card for visualizing the ZWave network.

This card works with the following integrations:

ZWave network mapping can help you identify weak points in the network like isolated devices or troublesome areas of the mesh network.

hacs_badge

Screenshots

Overview

Node detail

Instalation

Using HACS

You can install this card automatically with HACS. Just search for ozw-network-visualization-card there and install it.

Manual installation instructions (without HACS)

NOTE: The following steps are for manual installation, without using HACS.

  1. Put the ozw-network-visualization-card.js lovelace card into the [config]/www/ directory ether by copying it there or by using the file editor to create it with a cut and paste of the content.
  2. Add the lovelace resource with Configuration ¦ Lovelace Dashboards ¦ Resources ¦ ⊕ ¦ URL:/local/ozw-network-visualization-card.js & Resource Type JavaScript Module ¦ Update.
  3. Restart Home Assistant.

Configuration and usage

This card works both with OpenZWave (beta) and ZWave2MQTT. To specify the correct integration use the integration config. attribute when adding the card to Home Assistant.

After installing it, follow the following steps to add it to Home Assistant UI:

  1. Add a new tab (works best in panel mode) through Overview ¦ ⋮ ¦ Configure UI ¦ New Tab + ¦ Give it a Title and any other options and select Panel Mode.

  2. Open the new tab, which will be empty, and click the + ADD CARD button at the bottom right.

  3. Choose the manual card type and a card configuration window will open, this is where you will add one of the following (depending on your ZWave integration):

    • Example using OpenZWave beta:

      type: 'custom:ozw-network-visualization-card'
      integration: ozw
      
    • Example using ZWave2MQTT beta:

      type: 'custom:ozw-network-visualization-card'
      integration: zwave2mqtt
      
  4. Save and exit UI configurator.

  5. Press CTRL+F5 if the card is not displayed.

Searching, colors and connections

You can use the search box in the top left corner to highlight nodes. You can search for any text that is present on the node (name, model, node index, etc). You can also use regular expressions, such as "bedroom|kitchen", for example, to highlight both nodes containing "bedroom" or "kitchen in their name.

Each node is colored based on the average of their RTT, as reported by the integration. Nodes can be Red, Yellow or Green, depending on how bad or good their RTT is. The average RTT is also shown on the node.

An important thing to note regarding connections is that they are simply neighbors, and not routes. NodeA is a neighbor of NodeB if NodeB can see NodeA. It does not mean that NodeB will use NodeA to communicate.


Thanks to dmulcahey for the original card for ZHA.

ozw-network-visualization-card's People

Contributors

abmantis avatar adminiuga avatar andybjackson avatar dmulcahey avatar gamester17 avatar hedda avatar madelaide avatar walthowd avatar wrt54g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ozw-network-visualization-card's Issues

Empty card for Zwave2MQTT and ZwaveJS2MQTT

Hi!

I saw an existing entry for ZJS2M support, but think my issue is a little different than just support for the newer project. I've used OZW, Z2M and ZJS2M. Only OZW worked flawlessly with the card, however that integration leaves a lot to be desired at the moment. With Z2M and ZJS2M the card always appears empty. You get the search box at the top, but no map.

My best guess is that this card is dependent on specific options or configuration on the Z2M side being set so that data flowing into MQTT looks a certain way.

Is there any documentation or guidance as to what MQTT settings on the Z2M side are needed? I'm guessing things like the name of the topic root, or what data is contained in each topic.

Would love to just see some guidance as to what this is expecting from Z2M in order to display the map.

Thanks, and great work, the card looked very nice during my brief foray into OZW land, and would love to see it working again.
-eli

Instructions for HACS

You have manul install insturctions. But what about HACS? I have it installed in HACS, but I dont see anything new.

HACS Claiming that the Card is not loaded into Lovelace.

I have just updated to HA Core 2021.2.0, and now HACS is claiming that the OZW Network Visualization Card is not loaded into Lovelace. It seems like a false report, because the Card is present and working in my Lovelace Dashboard...

System Health

version core-2021.2.0
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.8.7
os_name Linux
os_version 5.4.79-v8
arch aarch64
timezone Europe/Amsterdam
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4751
Installed Version 1.10.1
Stage running
Available Repositories 773
Installed Repositories 12
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 5.10
update_channel stable
supervisor_version supervisor-2021.01.7
docker_version 19.03.13
disk_total 109.3 GB
disk_used 10.8 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons File editor (5.2.0), Samba share (9.3.0), Mosquitto broker (5.1), OpenZWave (0.9.0), Node-RED (8.0.1), InfluxDB (4.0.1), Terminal & SSH (9.0.0), Grafana (6.0.0)
Lovelace
dashboards 2
resources 8
views 5
mode storage

exception thrown when map is loaded

Hi,

I downloaded the card js yesterday and manually put it into the config/www folder of my HA Install (0.114.2).
unfortunately it throws this error:

home-assistant | 2020-08-20 09:29:57 ERROR (MainThread) [frontend.js.latest.202008110] http://smarthomeserver:8123/local/ozw-network-visualization-card.js:6:0 SyntaxError: expected expression, got '<'

I can't get z-wave map

I have used HACS for installing the OZW Network Visualization Card

After reboot HA, clear the cache, I just have following error:
image

What I'm doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.