Exploring Smart Lighting Automation with Shelly 2.5

I’ve recently embarked on a journey to integrate smart lighting into my home, and I must say, it’s been an exciting yet challenging experience. Let me share my journey with you, in case it can inspire or help others looking to do something similar.

The Goal:
My primary objective was to automate the lighting in my garage and bathroom, using the Shelly 2.5 as the controller. I wanted the lights to turn on automatically when motion is detected and turn off after a set period, ensuring energy efficiency without compromising on convenience.

The Setup:
I decided to use the Shelly 2.5 because of its compatibility with both Zigbee and MQTT protocols, which I knew would allow seamless integration with my existing smart home ecosystem. The idea was to pair it with motion sensors to detect activity and control the lights accordingly.

The Challenges:

  1. WLAN Connectivity Issues: Initially, I faced problems connecting the Shelly 2.5 to my home network. Despite numerous attempts, the device wouldn’t pair with the Smart Life app. I tried resetting it, checking the Wi-Fi settings, and even reinstalling the app, but nothing worked. It was frustrating, especially since I had to wait for the right time to work on the switch without power.

  2. Automation Logic: Once the device was connected, setting up the automation rules proved to be another hurdle. I wanted the lights to turn on immediately upon detecting motion and stay on for exactly 30 seconds. However, I noticed that the automation wasn’t triggering consistently. Sometimes, the lights would turn on but never off, leaving me in the dark (literally) about what was going wrong.

The Solutions:

  1. LocalTuya to the Rescue: After some research, I discovered that LocalTuya could be used to bypass the initial pairing issues. It allowed me to control the Shelly 2.5 locally without relying on the Smart Life app. This was a game-changer and saved me a lot of time.

  2. Refining the Automation: I realized that the problem with my automation wasn’t with the hardware but with the logic. I adjusted the timing settings and simplified the trigger conditions. Instead of relying on multiple conditions, I set a straightforward rule: motion detected equals lights on for 30 seconds. This worked like a charm!

The Outcome:
Now, my garage and bathroom lights are fully automated. They turn on when motion is detected and off after 30 seconds, providing just enough time for me to move around without wasting energy. It’s such a small change, but it’s made a big difference in my daily routine.

Tips for Others:

  • Start Simple: Don’t try to automate everything at once. Start with one room or one function and build from there.
  • Check Compatibility: Ensure all your devices are compatible with each other and your smart home platform.
  • Experiment: Don’t be afraid to tweak your settings and test different configurations. Trial and error is part of the process.

I hope this little story helps someone out there who’s just starting their smart home journey. It’s been a steep learning curve, but it’s been worth it. Happy automating! :rocket: