Shelly Plus 1 PM Offline Monitoring Solution

I’ve been experimenting with the Shelly Plus 1 PM for my home automation setup, and I came across an interesting challenge. The device is fantastic for monitoring power usage, but I noticed that when it goes offline due to a power outage, it doesn’t send notifications to my phone. This was a bit concerning because I rely on these notifications to know when something goes wrong in my home system.

After some research and trial and error, I found a workaround using a combination of scripts and cloud-based monitoring. Here’s what I did:

  1. Script Setup: I created a simple script using Python that periodically checks the Shelly Plus 1 PM’s IP address. If it detects that the device is offline for more than 10 minutes, it sends a notification to my phone via a third-party messaging service.

  2. Cloud Monitoring: I also set up a cloud-based monitoring service that keeps track of the device’s status. This service runs in the background and sends alerts if the Shelly Plus 1 PM disconnects from the internet.

  3. Integration with Home Assistant: To make this solution seamless, I integrated the script and monitoring service with my Home Assistant setup. Now, I receive real-time notifications whenever the Shelly Plus 1 PM goes offline, regardless of the cause.

This solution has been a lifesaver for me, especially during unexpected power outages. It gives me peace of mind knowing that I’ll always be informed about the status of my devices. If anyone else is facing a similar issue, I highly recommend exploring these options or reaching out to the community for more tailored advice. Happy automating!