Hi
I probably do it wrong, but adding ZWave devices is quite hard, while it should not, and the network works quite well.
I received a bunch of Aeotech Window Sensor Gen5 I want to add. Here is my current workflow to add them:
- prepare a coffee, open one box, prepare everything.
- in ZWave, click on “add node” (does it make sense to use “add secure”?), and then click on the association button on the ZWave stuff.
- ZWave stuff led says everything is cool, and in Home Assistant I see a new device named “Aeotec ZW120 Door Window Sensor Gen5”. Fine, HA got it. HA is very clever, HA will make my life easier.
- “access_control” entitiy is updated when the sensor is activated. Great.
- but… their is no “door sensor” by default, I have to define a template for that?
- But first, I want to rename it so that all entities of the devices so that they does not have _1, _2, and so on. Since all entities have the same name than the device + “_access_control”, _burglar", …, if you change the device name, the entities will follow. And no
- So I manually edit the device name. All my entities kind of disappear from the Z-Wave panel, so I suspect a mismatch in xml/config file => I restart HA.
- after several minute, I find all the entities with the old name “” I want to rename to
sensor.[sensor_location]_[entity_type]
(whereentity_type
isaccess_control
,buglar
, and so on). - restart HA again, edit my “binary_sensor template” to have a clean door sensor. Why is that I have to add a virtual device in order to “see”
my_window_sensor_access_control
as a door sensor:
binary_sensor:
- platform: template
sensors:
kitchen_window:
value_template: "{{ is_state('sensor.kitchen_window_sensor_access_control', '22') }}"
friendly_name: 'Kitchen Window'
device_class: door
entity_id: sensor.kitchen_window_sensor_access_control
tv_room_window:
value_template: "{{ is_state('sensor.tv_room_window_sensor_access_control', '22') }}"
friendly_name: 'TV Room Window'
device_class: door
entity_id: sensor.tv_room_window_sensor_access_control
Sometime not all entities are “found”, I have have restart HA again, and if it does not find all entities again, to remove/add the device again. So at the end I have to restart HA 3 or 4 times per device.
Why do I miss I find using Z-Wave devices is soo hard with Home Assistant ? We do not have the ZWave Panel integrated in HA like it is in Domoticz, so debuging is quite hard.
So I do one sensor a day to keep my blood presure low. But that’s so close to have a perfect support, simply some kind of “wizard” that ask you questions such as “name of your device”, and “do you want to see your door sensor as a door sensor?” and if you anwser yes, the “template” (or alike) is created automatically.