I had a lot of issues trying to get Z-wave 2 MQTT working nicely with home-assistant v0.105.4 (HA). Nothing was being populated within HA. Therefore my working config and architecture setup. Oops not yet … see experience update. Justmy2cents: go for zigbee and forget Z-Wave entirely…
Note: all my usb sensor sticks were originally on my HA node, but after installing a fire resistant door, signal was not optimal anymore. And I was truly fed up with waiting on my z-wave entries returning after a restart/update/upgrades of my HA node.
Experience update
- After restart of Home-Assistant … .bloody … entries are returning back as “unavailable”. Excerpt:
Anybody? - Restarting the zwave2mqtt docker is solving the “unavailable” entries. But why of why do I need to restart a docker container on another computer node after I restart HA? Something broke with the mosquitto broker addon vs HA vs zwave2mqtt? . What does HA do in the background? Do I need to fire a service call or something?
Caveats
- As I started out with HA Z-wave integration, all entries had to be completely reconfigured via the zwave2mqtt route.
- The open z-wave dashboard config - specifically: name and location - of the various entries is crucial later on, so be sure to config them beforehand. In other words, my solution was to temporarily disable the mosquitto broker.
versus the mosquitto broker
versus home-assistant
Overview architecture
Openzwave2mqtt
To have the link of Z-Wave to MQTT in the sidebar, copy & paste & config the following to configuration.yaml
panel_iframe:
zwave2mqtt:
title: Z-Wave to MQTT
icon: mdi:z-wave
url: http://<ip-adress or hostname>:8091
References
- zigbee2mqtt:
https://www.zigbee2mqtt.io/information/docker.html#docker - zwave2mqtt:
https://github.com/OpenZWave/Zwave2Mqtt
https://github.com/hassio-addons/addon-zwave2mqtt
http://www.openzwave.com/ - plantgateway:
MiFlora Sensor Plant Database
https://github.com/ChristianKuehnel/plantgateway
https://github.com/khronimo/MiFloraDB
https://github.com/thomasloven/lovelace-flower-card - Bluetooth presence monitor
[monitor] Reliable, Multi-User, Distributed Bluetooth Occupancy/Presence Detection
https://github.com/Limych/addon-presence-monitor - In case of emergency ( ) [Guide] How to remove MQTT entity from Zigbee2mqtt, Mosquitto broker and Home Assisntant
- MQTT Explorer
http://mqtt-explorer.com/