Blinds type switch staying closed

Moderator: leecollings

Post Reply
cdfr
Posts: 1
Joined: Monday 20 May 2019 11:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Blinds type switch staying closed

Post by cdfr »

Hello.
I have a dummy switch which has one script to open my blinds and one to close them. if I set it as a blinds type it stays closed in domoticz UI after I click on it and "Switching on" appear. The scripts run fine, no errors are returned but since the state stays as "Closed" it always runs the open script (which means my blends always stays opened). How come the state does not change to opened after the script is run successfully ?

If I set the switch as an on / off type it works as expected except I would better have it as a blind so I can see an opened / closed status instead of on / off one.
Is the blend type of switch expecting anything specific from the script before it can switch the closed state to opened ?

Thanks.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Blinds type switch staying closed

Post by waaren »

cdfr wrote: Monday 20 May 2019 11:23 If I set the switch as an on / off type it works as expected except I would better have it as a blind so I can see an opened / closed status instead of on / off one.
Can you share your script and mention your domoticz / dzVents version ? There was an inconsistency in the open() close() direction of dzVents for some type of blinds. The fix is in dzVents version >= 2.4.21
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest