DIY Smart Lighting Setup and Smooth Transitions with Shelly

Hello everyone, I wanted to share my recent DIY smart lighting project and some insights on achieving smooth transitions using Shelly devices. This might be helpful for those looking to enhance their home automation setup!

Recently, I decided to upgrade my bedroom lighting system. I’ve been using Shelly Dimmer2 for a while now, but I wanted to replicate the smooth dimming experience I had with my old electronics. The challenge was that the Shelly Dimmer2 only allows a maximum transition time of 5000ms, which felt too fast for my needs, especially when the lights were already dimmed.

After some research, I discovered that by using ioBroker as a middleware, I could simulate a smoother dimming effect. Here’s how I did it:

  1. Integration with ioBroker: I set up ioBroker to handle the scheduling and transition logic. This allowed me to create custom automation rules that trigger the dimming process based on motion sensor inputs.

  2. Custom Transition Logic: Instead of relying solely on the Shelly’s built-in transition, I programmed ioBroker to send incremental brightness adjustments to the Shelly Dimmer2 over a longer period. This approach ensures a gradual and seamless dimming effect.

  3. Automation Flow: Motion sensors detect when I’m approaching the bed. ioBroker then triggers a sequence that dims the lights from their current brightness to off over 20 seconds, creating a relaxing bedtime routine.

This setup has been working beautifully! The integration between Shelly and ioBroker has given me the flexibility to customize my lighting experience without the need for complex scripting or additional hardware.

If anyone has questions or suggestions on improving this setup, I’d love to hear them. Happy automating! :rocket: