Set Level with Blinds percentage switch

Moderator: leecollings

Post Reply
lupo2a
Posts: 31
Joined: Thursday 29 September 2016 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Set Level with Blinds percentage switch

Post by lupo2a »

I''m using dzVents and a Blind percentage inverted switch
The switch was created by the AeotecGEN5 zwave hardware

Code: Select all


on = {
            timer = {'at 07:00 on mon,tue,wed,thu,fri'}
        },
.....
        
blind = "bl_camera_bambini"
if domoticz.devices(blind).level < 10 then 
                    domoticz.devices(blind).switchSelector(30)
                    domoticz.devices(blind).switchSelector(100).afterMin(3)
end
.....

p.s.
where did you get the control
Raspberry PI 4
Domoticz: V2023.2
- Aeotec Gen5 EU
- Neo CoolCam Door Detector and plug
- FIBARO FGWPE Wall Plug
- 6 FIBARO System FGRM222 Roller Shutter Controller 2
- Kodi SamnsungTV Yamaha plugin
- pluginn manager
- Netatmo
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest