Motion icon based on sensor value

Hi there,

I’ve got a number of Aeotec Multisensor 6 devices, which have a built in PIR sensor.

Unfortunately they don’t have a simple binary_sensor entity for the motion. Instead, the value flips from a 0 to an 8 when motion is triggered, and then back to 0 when it times out.

Is there a simple way within Lovelace to map that state change into a lit/un-lit person icon?

Thanks in advance.

Regards
Gavin

change your command option to ‘Binary Sensor Report’ on those devices and you’ll get a simple binary sensor for motion.

Do I need to do anything other than change param 5 to Binary Sensor report?

As I’ve done that within my zwave2mqtt control panel, woke the device up and re-tested, however I’m still seeing 0>8

Should I see a new binary_sensor or something?

yah, and you have to restart HA

Ahh, cool…

Yeh, so I can see that the contact binary_sensor state now holds as true when motion is triggered.

Cheers for the info :slight_smile:

Yeah, I ran into this myself when setting those up. There’s posts on the forums with that information but it’s probably all related to the multisensor 5. I don’t think this search engine here is great when it comes to a difference like that.