Hey everyone, I’m excited to share my experience with the Shelly 2.5 module! I recently set it up to control my stair lights using short and long presses. Here’s how I did it and some tips I picked up along the way.
Setup Overview
I wanted a simple yet effective solution for my stair lights. Using a single Shelly 2.5 module, I configured it to respond to short and long button presses. The goal was to have a short press turn the lights on for 30 seconds and a long press keep them on for 10 minutes. This setup ensures safety without wasting energy.
Configuration Details
- Short Press (30 Seconds): I enabled the Auto-Timer-Off feature with a 30-second delay. This works perfectly—press the button, lights come on, and they turn off automatically after 30 seconds.
- Long Press (10 Minutes): For the long press, I set up a Button Long Press URL. Initially, I tried
<http://localhost/relay/0?turn=on&timer=600>, but it didn’t work as expected. After some troubleshooting, I realized the timer value wasn’t being interpreted correctly. I adjusted the settings, and now it works like a charm!
Tips and Tricks
- Testing: Always test your setup thoroughly. I recommend using a testing environment before finalizing your configuration.
- Automation: If you’re using a smart home ecosystem like Home Assistant or IFTTT, you can integrate this setup further. For example, you could have the lights adjust based on time of day or motion sensors.
- Customization: Experiment with different timer durations to suit your needs. Maybe 15 seconds for quick checks and 15 minutes for extended use.
Questions and Curiosity
While this setup works well, I’m curious if anyone has successfully implemented a double-press function for an “always on” mode. It would be fantastic to have an option where a double press keeps the lights on indefinitely until manually turned off. If anyone has done this or has tips, I’d love to hear about it!
Final Thoughts
Overall, the Shelly 2.5 module is a fantastic device for such projects. Its flexibility and ease of configuration make it a go-to choice for both beginners and more experienced users. I’m really happy with how this setup has improved my home’s safety and convenience.
Thanks to everyone in the community for their support and shared knowledge. Keep those tips and tricks coming!
Cheers,
[Your Name]