I’ve created this nifty illustration of the state of a window. The window also has a blind, but if the window is open, the blind shouldn’t close as that will mess it up.
So I was wondering if there was a way to disable that?
It’s not a problem to roll the blind up if the window is open, so I can’t just make a conditional and hide the ‘cover’ controls.
The only way I could see this working is if you take your existing cover and make it into a cover template.
The down script would have a condition built into it that would check the state of the window. The button would still appear to work but it would do nothing.
Ahh, I’ve never stumbled on that one, that would be ok I guess, that it just doesn’t work
Will it update the position during movement like the normal cover controls?
Did you get to the bottom of this? I have the same problem, but with roller shutters (so there’s serious damage to be done).
I use MQTT covers, so I was thinking of just doing it via ‘availability’ messages (i.e. if the window is open, an automation runs to publish an ‘unavailable’ message to my roller shutters).
I moved the covers to deconz, and in there I could control it, as the remote wasn’t tied directly to the cover.
Unfortunately I had to give up on deconz for that, as the covers constantly lost connection, and had to move two covers back to IKEA, and in there the controller is tied directly to covers.
I’m trying to use the template cover thing to see if that can work, which it should in theory for anything ELSE than the remote itself…
I’m trying to build the template cover, so it matches the normal cover as much as possible.
For now, I’m just trying to set the template so it uses the same logics as the built-in.
The open/close/stop works fine, but the set_position gives me an error when I press a position on the ‘horizontal position bar’: