I have four of the Zooz 4 in 1 v2 sensors (as well as a mish mosh of other stuffā¦ an Aeotec 6 in 1, ECO PIR , a couple of X30 PIRs and bunch of Insteon in wall switches). Anyway, Iām migrating from SmartThings where I had all of them working flawlessly. Except for the constant platform outages, it was really good. Hearing a bunch of good things about HA and wanting an on-prem solution, I decided to dive inā¦. thereās a big learning curve with this platform.
I built a HASS.IO with a Raspberry Pi 3 along with an Insteon USB PLM and Aeotec Z Wave stick. The Insteon stuff installed easily. Z-wave, however, was a pain in the ass. Some YouTube videos didnāt help in that they had you remove the stick and use the button on it, others had you use the link under Configuration\Integrations and others said to use Configuration\Z-Wave. Finally, after much pain, I used the Configuration\Z-Wave\Add Node option while tailing the log (thereās got to be a better way). I added everything, one at a time, applying friendly names to each of the entities. Iām still working on my groupings, although I have some views set up and can control everything in my place. So I got that going for me, which is nice.
Iāve gone through a bunch of different threads about the Zooz sensor and Iām still having issues getting automation working with them. Some of the recommendations are bit outdated or obsolete based on the HA release or version of the sensors. As others have mentioned, the Zooz (and other z-wave devices create a bunch of entities)ā¦
I see two on the Zooz that change based on motion.
sensor.zooz_zse40_4_in_1_sensor_alarm_level - this entity changes from 0 to 255 when thereās motion
sensor.zooz_zse40_4_in_1_sensor_burglar - this one changes from 0 to 8 when thereās motion
I also see this binary entity, but it doesnāt change: binary_sensor.zooz_zse40_4_in_1_sensor_sensor
Additionally, my other motion / PIR sensors also have similar entities, one for alarm level and one for burglar. Although the alarm level never changes on these. The burglar entity does change from 0 to 8.
X30 PIR: sensor.kaipule_unknown_type_0002_id_0002_burglar
Eco PIR: sensor.ecolink_motion_detector_burglar
(The Aeotec, aka my Server Room Sensor, doesnāt change at all for alarm level or burglar (stays at 3)ā¦ donāt know if itās added correctly even though itās reporting temp and humidity correctly.)
I guess first, whatās the difference between the alarm level and burglar entities? Second, which one is the preferred, most current way using these for motion to trigger automation?
How do I get them working? Admittedly, Iām an infrastructure guy and dumb as a rock when it comes to codingā¦ I had tried this snipit that has been used in prior posts, but I wasnāt very successful. Iād prefer to standardize motion on the burglar sensors since I consistently see them change from 0 to 8. I guess Iām a bit fuzzy where the code should go (an include file vs in configuration.yamlā¦ especially for multiple sensors) and what it also depends on.
binary_sensor:
- platform: template
sensors:
kitchen_motion:
friendly_name: āKitchen Motionā
device_class: motion
value_template: ā{{ states(āsensor.zooz_zse40_4_in_1_sensor_burglarā)|float > 0 }}ā