Hi everyone,
I’m using Shelly 2.5 to control my Venetian blinds. Since the Shelly integration (or the device) doesn’t support service cover.tilt I’m trying to figure it out using scripts.
On my dashboard I have 2 buttons for 50% & 75% position open. When I click on them I want the blinds to go that position and tilt the blinds to ~45°.
The routine goes like this:
blinds are open (position 100%) → set_cover_position 50% → wait for position “open” (tilt is 0° meaning no view through the blinds) → open_cover-> delay 900ms → stop_cover.
This way I get the ~45°.
Now I’ve got 2 problems:
a) the wait template is not working
b) I need a condition based on the state opening or closing. The script right now wouldn’t tilt when coming from a full closed status because when opening and reaching the 50% the tilt degree is already 90° and by using open_cover it wouldn’t go further. So I’d need it to close_cover.
I created an input number to configure the close position for the blind and I added it to FrontEnd
On inputnumbers.yaml I added:
tapparellacc_close_position:
name: Camera C
# initial: 30
min: 0
max: 100
step: 1
unit_of_measurement: "%"
mode: slider
I created a folder covers under config and there I add a yaml file for every venetian blind that then I added to frontend (and also i published to my alexa infrastructure)
My venetian blinds are not going to tilt after complete closing. Any idea how to deal with that? For now i can just tilt playing around with the open/close toggles.
So i have blinds from Warema, i have my wall switches right now connected to a shelly 2.5 in rolle shutter mode. Controls like up/down are working normally, but if i want to tilt the blind i need to initiate an up or down command and shortly after that in the reverse direction.
Your template is just resulting in up/down commands on my side. So i guess i need something with an delay like the thread opener was mentioning.
Hope it’s more clear with that explanation, otherwise i can try to make a short video
With this Script & Automation i got my Tilt working also with the original Shelly 2.5 firmware. Just needed to tweak with the timout configuration. Maybe this will also help out somebody else
Wow, thats what i was looking for since months. I tired to install it on a fresh Home assistant instance with Shelly 2PM but completly lost. I get error message in the script as well in automation…cant save. I would be more than happy to receive a dummy guide how to install the package from medium.com. Love to offer not just a coffee