Page 1 of 1

Blinds type switch staying closed

Posted: Monday 20 May 2019 11:23
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.

Re: Blinds type switch staying closed

Posted: Monday 20 May 2019 13:27
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