Exploring Smart Home Automation with Sonoff and Tasmota

Hey everyone! I’ve been diving into the world of smart home automation lately, and it’s been an absolute blast. I recently picked up a few Sonoff Dual relays to control my roller shutters, and I have to say, the setup process with Tasmota has been surprisingly smooth. It’s amazing how such a small device can add so much functionality to my home.

I’ve configured each relay with a pulsetime to ensure the roller shutters stop after a set amount of time, which is super handy. The interlock function is also working perfectly, preventing both relays from being activated simultaneously. I’ve been using these relays in conjunction with Home Assistant, and it’s been a great experience so far.

However, I’ve been wondering if there’s a way to simplify the control of my roller shutters even further. Right now, I have two separate switches—one for opening and one for closing. I’d love to combine these into a single button that toggles the state of the shutters. I imagine it would work like this: pressing the button once opens the shutters, and pressing it again stops them or closes them. This would make the interface much cleaner and user-friendly.

I’ve looked into creating an automation within Home Assistant to achieve this, but I’m not entirely sure how to proceed. Would it be possible to use MQTT topics or maybe some custom scripts to make this happen? I’d also love to incorporate the pulsetime functionality into the automation so that the system knows when the shutters have reached their desired position.

Another thing I’ve been curious about is whether the absence of sensors can be compensated for in some way. I don’t have any sensors to track the state of the roller shutters, but I’m hoping that the pulsetime alone might be enough to infer their position. It would be fantastic if Home Assistant could automatically update the state of the roller shutters based on the duration the relay has been active.

I’d love to hear your thoughts and suggestions on this! Has anyone else tackled a similar project? Any tips or resources you could share would be incredibly helpful. I’m really excited about the potential of this setup and can’t wait to see how it evolves.

Cheers and happy automating! :star2: