Looking for a script to close blinds (somewhere) halfway by klikaanklikuit switch.

Moderator: leecollings

Post Reply
franzel
Posts: 34
Joined: Saturday 24 October 2015 18:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 20.2
Location: Wijchen, The Netherlands
Contact:

Looking for a script to close blinds (somewhere) halfway by klikaanklikuit switch.

Post by franzel »

Hi all,

I am a beginner where it comes to creating a script. I'm sure it should be possible in Domoticz but I really don't have a clue.

Here's the situation.
I have several klikaanklikuit switches for lights and blinds which are working properly with domoticz. The blinds go fully down and open at the desired moments. Concerning these functions I am satisfied with the combination raspberry PI / rfxcom converter / domoticz. I'd like to simulate that I am at home in case I'm on holiday. Closing the blinds in the evening and opening allready does part of it, although fully closing the blinds can also send a signal that we're away. So, besides fully shutting the blinds I'd like to add the possibility to close one or more blinds to go down halfway or more down but not fully closed. In a later stage I'd like to add the possibility to initiated this signal by a UV switch. This last option isn't necessary at the moment.
I can do this manually by giving the 'on' signal a second time after about 4-7 seconds, the blinds are then somewhere halfway, but I'd really would like to do this with a separate script. Can anyone help me as I really have no clue using the klikaanklikuit commands in a script, nor could I find a ready made script that can do this.

I hope somebody can help me as I am a dummy concerning scripting. And not only concerning scripting. :D ;)

Regards

Franzel
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest