Closing roller shutters under certain conditions

Moderator: leecollings

Post Reply
duodiscu92
Posts: 28
Joined: Sunday 11 February 2018 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Montrouge, France
Contact:

Closing roller shutters under certain conditions

Post by duodiscu92 »

Hi

For many years, my roller shutters (Somfy) have been controlled by Domoticz without any problems. The closing and opening times are programmed into each shutter device. But recently, I was on my balcony and almost got locked out because my shutters closed at the scheduled time. Fortunately, I had time to get out before they were completely down. To prevent this from happening again, I installed a motion detector on the balcony and I want to prevent the shutters from closing if someone is detected on the balcony at the moment of closing and only at that moment. And, of course, any other presence outside of that time should not cause the roller shutter to open. Do you have any ideas on how to manage this? Is it possible using scenes or groups, or do I need to write a script from scratch? Thank you for your help.
User avatar
waltervl
Posts: 7020
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: Closing roller shutters under certain conditions

Post by waltervl »

It cannot be done with standard timer options so for this particular roller shutter you have to remove the timer and create a small script instead.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
scommed12
Posts: 5
Joined: Wednesday 25 March 2026 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Closing roller shutters under certain conditions

Post by scommed12 »

Yeah, that makes sense. A small script would give you the flexibility to check the motion sensor state right at the scheduled closing time. You could just add a condition so it skips closing if motion is detected, but still keeps the normal schedule otherwise.
Post Reply