Currently I have a motion sensor in the mailbox, to let me know when mail has been delivered. I would have liked to have made a button that tells me whether there is mail or not, based on the motion sensor. If it has a certain color, it means that motion has been detected. How do I go about this? Examples are welcome.
With kind regards, Sven
Hi Sven,
Before providing examples.
What type of motion sensor do you have? Is it integrated into HA?
What do you mean by ”it has a certain color”?
Regards Mats
I installed a Eufy Motion sensor in the mailbox. I would like, for example, that the button turns red when a movement is detected and this color remains until the mailbox is emptied. For example, by clicking on the button, turns off the color again. This way, family members can indicate that they have emptied the mailbox.
Ok, some follow on questions:
And the motion sensor is integrated into Home Assistant? What type of button do you mean, a physical or one in a lovelace view?