Food left in microwave reminders
Notification sent by Home Assistant.
-
Detecting microwave activity: A smart plug monitors power usage to determine when the microwave is in use. If power consumption exceeds a defined threshold, the system marks the microwave as “running.”
-
Completion detection & initial notification: When power usage drops below the threshold, the system waits two seconds for the microwave door to open:
- If the door is opened within this window, the microwave is marked “idle” and no further action is taken.
- If the door remains closed, the microwave is marked “occupied,” and a notification stating “The microwave is done” is sent to all home devices. Simultaneously, smart speakers announce the message in occupied rooms.
-
Recurring reminders: A two-minute timer starts. If the microwave door remains closed after the timer expires, a repeating notification is sent every two minutes: “There’s food in the microwave.”
-
Clearing notifications on interaction: Once the door is opened, any microwave notifications are cleared from devices to prevent clutter and notification fatigue.
Outcome
This automation has reduced the amount of times I’ve forgotten about food in the microwave to zero.
Food in microwave tech stack
This system is built using a combination of smart home automation platforms, IoT devices, and messaging systems:
- Node-RED: Manages automation logic and event handling.
- Home Assistant: Central hub for device management and automation orchestration.
- Zigbee2MQTT: Bridges Zigbee devices to MQTT for integration into Home Assistant.
- Zigbee contact sensor: Detects when the microwave door is opened.
- Smart outlet with power monitoring: Tracks microwave power usage to determine its state.
- Home Assistant companion app: Delivers push notifications to devices.
- Smart speakers (e.g., Google Home, Amazon Echo): Announce microwave status in occupied rooms.
- EMQX: Facilitates communication between Home Assistant and Zigbee devices (via Zigbee2MQTT).
This stack allows for real-time event detection, recurring reminders with multiple alert levels (e.g., notice, critical, warning), and seamless smart home integration.
Wet clothes in washer reminders
Notification sent by Home Assistant.
-
Smart washer communication: The smart washer communicates its state to Home Assistant via webhooks, providing real-time updates on the washing cycle.
-
Cycle completion notification: Once the washing cycle is complete, a notification is sent to all devices in the home, and “washing cycle complete” is announced on smart speakers in any occupied rooms.
-
Wet clothes detection: If the washer door is closed at the time of cycle completion, a binary input sensor (labeled “wet clothes in washer”) is turned on and the washer is marked as “occupied” in Home Assistant.
-
Follow-up notification: A 15-minute timer begins upon cycle completion. Once the timer finishes, a notification stating “there are wet clothes in the washer” is sent to all devices and announced on any smart speakers in occupied rooms.
-
Door open action: If the washer door is opened at any point during the timer, the timer is stopped, the “wet clothes in washer” sensor is turned off, and any washing machine notifications are cleared from devices to prevent notification clutter.
Outcome
This automation has prevented me from ever having to re-wash mildew-y clothes once since deployment. It saves me from smelly clothes and wasting time and money re-washing clothes after forgetting about them.
Tech stack
- Node-RED: Used for orchestrating the automation workflows and integrating various devices and services.
- Home Assistant: Central hub for managing and automating smart devices, providing webhook support and device state monitoring.
- Zigbee2MQTT: A bridge for communication between Zigbee devices and Home Assistant, facilitating the integration of Zigbee-enabled devices like the contact sensor.
- EMQX: Facilitates communication between Home Assistant and Zigbee devices (via Zigbee2MQTT).
- Zigbee contact sensor: Monitors the washer door status, used to detect if the door is open or closed when the washing cycle finishes.
- Smart washer: The smart washer communicates its state to Home Assistant via webhooks, providing updates on the cycle completion.
- Home Assistant companion app: Sends device notifications when certain conditions are met, such as washing cycle completion or wet clothes left in the washer.
- Smart speakers: Announcements are made on smart speakers in occupied rooms to alert users about the washing cycle status and wet clothes.