I’m just switching a proxy switch item to ON when the flap has been opened and a time cron at midnight to set it back to OFF.
In addition to that I get a notification on my phone (and an image from my front door cam ) for multiple flap open events.
Yeah, it’s WAY outside their operating parameters. LOL
The device in my mailbox is showing just one neighbor, which is a wall switch about 2 meters from the mailbox. I really need to put the device inside the house, and just run a cable from the mailbox into the house. Not high on my priority list at the moment…
It’s ok to leave it as Text. You just need a [%s] in the item definition or in the sitemap widget.
Mine looks like this (with my own custom mail icon, and it only shows when there’s mail (or more specifically, when the mailbox has been opened)). There’s a rule to set YouHaveMail ON when the sensor triggers, and a rule to turn it off at midnight.
Switch YouHaveMail "You Have Mail [%s]"
Text item=YouHaveMail label="Mail [MAP(mail.map):%s]" icon="c_mail" visibility=[YouHaveMail==ON]
Switch item=YouHaveMail label="Clear Mail " icon="c_mail" visibility=[YouHaveMail==ON] mappings=[OFF="Clear"]
My mail.map contains this.
And here are the icons. The mail-off icon isn’t used here; it’s used in a HABpanel widget.
Edit: I take that back. mail-off isn’t used in HABpanel anymore.
Here’s the final solution using Squid’s recommended mailbox sensor above.
Mailbox is about 50’ away from my house; the 2 closest zWave devices are Aeotec Repeater in the garage (door is closed 99% of the time) and an Aeotec Multisensor 6 on main via a upstairs window pointed out.
Drilled 4 holes in the back of the mailbox for zWave to communicate from. Tried 2 top holes first but had NO luck with them. Hopefully the wife doesn’t notice the holes anytime soon ;-(
Chicago is so far away and yet we have the same Issues. When it comes to smartHome and openhab it all comes down to the wife not hitting us when things don’t work. I get that. Everything is working fine for 360 days a year, but hell breaks lose, when the system has some minor glitch and a light is not going on immidiately…