Smart mailbox v1.0.0
This Blueprint detects mail deposits and collections in your mailbox using a motion sensor, confirmation entities, and optional counters or datetime entities.
Key features
- Use a mail counter to track the number of mails in the mailbox.
- Record the date and time of the last mail deposit and collection with datetime entities.
- Trigger custom actions for deposits or collections.
Scenarios
Mail collection
The user checks their mailbox, triggering the motion sensor inside the mailbox. The configured timeout provides enough time for the automation to check if any mail collection confirmation sensors (e.g., a door sensor or a switch) were triggered within that period.
Scenario A
The user checks the mailbox first, then enters their home, triggering the door sensor or a switch.
Scenario B
The user exits their home (triggering the door sensor or a switch) first, then checks the mailbox.
In both cases, the timeout allows the automation to determine that this activity is most likely a collection rather than a deposit.
Mail deposit
When mail is deposited, the motion sensor inside the mailbox is triggered. If no confirmation entities (e.g., door or window sensors, switches) are activated during the timeout period, the automation classifies this as a deposit.