Efficiently Controlling Multiple Shelly Devices with Long Press

Hey everyone! I’m excited to share a solution I found for controlling multiple Shelly devices simultaneously using a long press button. I recently set up a Shelly Plus I4 in my bedroom to manage two smart roller blinds. Everything was working smoothly with individual controls, but I wanted a way to open all 12 roller blinds in my house at once using a single button press.

I started by assigning individual commands to each button on my Shelly Wall Switch 4, which worked perfectly for controlling each blind separately. However, when I tried to add a long press command to trigger all 12 blinds, I ran into a limitation—each action could only handle five URLs.

After some research, I discovered that while it’s possible to use a long press to trigger multiple commands, it requires a workaround. I ended up using a combination of Shelly’s built-in features and some clever scripting. Here’s what I did:

  1. Grouping Devices: I grouped all my roller blinds into a single entity in my home automation system. This allowed me to send a single command to all devices at once.
  2. Using Scenes: I created a scene in my automation platform that triggers the ‘open’ command for all roller blinds. This scene is then linked to the long press action on my Shelly switch.
  3. Testing: I tested the setup extensively to ensure reliability. It’s now working perfectly, and I can open all blinds with a simple long press!

This solution has been incredibly useful, especially for emergency situations like fire alarms where quick action is crucial. I hope this helps anyone looking to streamline their smart home controls! :rocket: