Integrating Shelly with Existing Wiring: A Smooth Transition

After spending some time experimenting with my wired roller shutter setup, I wanted to share my journey and insights with the community. My goal was to automate my roller shutter using a Shelly 2.5, while keeping the existing wall button functional. Here’s how I approached it:

The Setup
I have a simple wired roller shutter with a 3-way wall switch. The challenge was the lack of a neutral wire at the switch location, which made things a bit tricky. I decided to replace the 3-way switch with a simple wall button and rewire the system to work with the Shelly 2.5. The idea was to use a single relay to control the shutter’s movements.

The Logic Behind It
I envisioned a system where pressing the button would trigger specific actions:

  • Up Press: The shutter would move up, with a safety delay to prevent sudden stops.
  • Stop Press: The shutter would stop at the current position.
  • Down Press: The shutter would move down, again with a safety delay.

The key challenge was remembering the last direction the shutter moved to ensure it starts in the correct direction after a stop. I considered using an input_boolean to store this state, setting it to ON when the shutter moves up and OFF when it moves down. This way, the system knows the previous state and can resume accordingly.

Testing and Tweaks
I tested the setup extensively, simulating different scenarios to ensure reliability. The safety delays were crucial to prevent abrupt stops, which could potentially damage the mechanism. I also made sure the button was responsive and the Shelly 2.5 was correctly configured in my smart home system.

Outcome
After some trial and error, the system works seamlessly! The roller shutter now integrates perfectly with my smart home setup, and the wall button remains functional without any rewiring hassle. It’s satisfying to see how a bit of creativity and problem-solving can enhance home automation.

If anyone has similar projects or questions, feel free to reach out! I’d be happy to share more details or troubleshoot together. :rocket: