Hello,
I'm using a script to control my blinds.
The state returned is correct (Open, Closed, Stopped)
If my blind is opened (up), the blind.state shows 'open'.
If I send the command blind.close(), nothing will happen (it will stay up).
If I send the command blind.open(), it will close (go down).
If I send the command blind.stop(), it will stop or move to the favorite position. This is correct.
If the blind is closed (down) and I send the command blind.close(), it will go up.
So the commands open() and close are reversed!
Can this be fixed?
Thanks,
Olivier
Open() and Close() are reversed
Moderator: leecollings
Re: Open() and Close() are reversed
Maybe you should select "blinds inverted" for your device, or if you already did select inverted, switch to the non-inverted blinds?
Re: Open() and Close() are reversed
The device is defined as blinds (not inverted) and it works correctly in Domoticz UI.
It says closed when it’s down and the open / close buttons work correctly (correct direction).
If I set it up as blinds inverted, everything is reversed (buttons, open/close status).
When my script sends a blind.close(), I can see in the log that it actually sends a ‘Off’ command, and this opens the blind...
So the issue is clearly in dzvents which seems to translate the open() and close() functions to the inverted On / Off commands.
It says closed when it’s down and the open / close buttons work correctly (correct direction).
If I set it up as blinds inverted, everything is reversed (buttons, open/close status).
When my script sends a blind.close(), I can see in the log that it actually sends a ‘Off’ command, and this opens the blind...
So the issue is clearly in dzvents which seems to translate the open() and close() functions to the inverted On / Off commands.
-
- Posts: 1
- Joined: Monday 16 July 2018 20:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Open() and Close() are reversed
I have the same issue over here. Its a Somfy blind. UI showing correct words, also buttons work correct. But in dzvents i need to call .open() to close and .close() to open. Offcourse when you know it, its workable, but could be better
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: Open() and Close() are reversed
does it works inverted if the configuration is "blind inverted"?
could be a but that does not consider the configuration of the device.....
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
Who is online
Users browsing this forum: No registered users and 1 guest