Comments (6)
Events are fired as EVENT_INSTANCE_EVENT
. Payload is {type: "event_name_from_topic", data: {"event": "data}}
. See cgarwood/python-openzwave-mqtt#47
from homeassistant-zwave_mqtt.
We should only get NODE_ADDED
instead of NODE_UPDATED
if there also was a NODE_REMOVED
event ?
from homeassistant-zwave_mqtt.
Node Added is fired when OZW is starting up. Node New is fired when OZW pairs a new device.
It would be nice if you could handle the Inclusion Button on the zsticks as well so people can do a โofflineโ inclusion.
from homeassistant-zwave_mqtt.
And yes, if OZWDaemon restarts - during the shutdown it should remove the node/value topics etc.
from homeassistant-zwave_mqtt.
If I understand correctly:
- OZWDaemon decides to restart
- OZWDaemon shuts down and during the shutdown sends NODE_REMOVED event for a node.
- OZWDaemon starts and sends NODE_ADDED event for the node.
Since this is then normal behavior for the OZWDaemon, we need to handle this in home assistant, as I assume we don't want to remove nodes as they are represented in Home Assistant just because the OZWDaemon restarts.
In Home Assistant we want to add a node representation both when a NODE_ADDED event and a Node New event is fired, if that node is not yet seen.
Side note: How is the Node New event represented in https://github.com/cgarwood/python-openzwave-mqtt? I don't find it.
Is that correct?
from homeassistant-zwave_mqtt.
Closed by #93 which will mark entities unavailable when OZW is not in a valid state (e.g. restarting). This can be even improved bt watching the LWT message of the OZW daemon on MQTT so we can also track the MQTT connection or OZW broker to be completely offline (non clean shutdown). A normal/clean shutdown of OZW is catched by the status.,
from homeassistant-zwave_mqtt.
Related Issues (20)
- Adding a node results in incomplete/wrong Devices and entities until HA is restarted HOT 10
- Thermostat has multiple climate entities HOT 24
- Feature request: Device page HOT 12
- HEIMAN Smart Motion Sensor - no motion sensor added HOT 6
- Cover not implemented for values HOT 10
- Fibaro FGRM-222 roller shutter not added/working correctly HOT 4
- Renaming climate devices HOT 8
- Eurotronic Spirit support (missing Mode) HOT 19
- Switch Entity is Missing HOT 9
- Set points being converted to fahrenheit when not needed HOT 12
- New set of entities with default ids and names HOT 6
- All devices and entities visible but unavailable after installation. HOT 5
- Differences between old component and this component HOT 1
- Home Assistant switch.toggle isn't implemented? HOT 2
- How to proceed with testing now that this component is part of core? HOT 18
- Aeon labs gen 6 dimmer module (ZW099) not working HOT 2
- "No Stop button" ZMNHOD1 Flush Shutter DC av Qubino
- Missing device: Aeotec Door / Window Sensor 6 HOT 3
- Migrate from Custom Component (Pre-Release) to OpenZWave (Beta) HOT 8
- Scenes not firing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-zwave_mqtt.