Shelly + Telegram: Smart Washer Notification Setup

Hey everyone! I wanted to share a cool setup I’ve been working on to make my laundry routine a bit smarter. I’ve been using Shelly devices for a while now, and I recently decided to integrate them with Telegram to get notifications when my washer is done. Here’s how I did it and what I learned along the way!

The Goal:
I wanted to receive a push notification on my phone when my washer finishes a cycle. This way, I don’t have to keep checking the machine or wait around for it to finish. Plus, it’s a great way to utilize the Shelly ecosystem without relying on any cloud services!

What I Used:

  • A Shelly Plug to monitor the washer’s power consumption.
  • A Shelly Plus or Pro device (firmware 0.8.1 or newer) to run the script.
  • The Telegram app on my phone.
  • A Telegram bot set up using a guide I found online.

How It Works:

  1. Monitoring Power Usage: The Shelly Plug measures the washer’s power consumption. When the washer is running, it draws more than 10 watts. When it stops, the consumption drops below that threshold.
  2. Script Detection: The Shelly Plus device runs a script that checks the power consumption every minute. If it detects five consecutive minutes of low power usage, it assumes the washer is done.
  3. Telegram Notification: Once the script confirms the washer is done, it sends a push notification via the Telegram bot.

Challenges and Solutions:
Initially, I had some issues with the script not detecting the power drop consistently. After some tweaking, I realized I needed to adjust the number of checks the script performs before sending the notification. Now, it works like a charm!

Why I Love This Setup:

  • No Cloud Dependency: Everything runs locally, which makes me feel more secure.
  • Customizable: I can adjust the power threshold and check interval to fit my specific needs.
  • Cost-Effective: I already had the Shelly devices, so this project didn’t require any new hardware!

Looking Forward:
I’m excited to explore more automation possibilities with my Shelly devices. Maybe next, I’ll set up something similar for my dryer or even my oven!

If anyone else has tips or alternative methods for setting up similar notifications, I’d love to hear about them! Let’s keep the ideas flowing!

Happy automating! :red_car::sparkles: