Page 2 of 3
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Friday 07 April 2023 17:01
by koewacko
To be fair, the script is not the issue. The open and close commands are reversed so to make the script work in 'reverse' is not the solution.
Something has changed which makes the blinds work with the wrong commands.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Sunday 09 April 2023 10:11
by koewacko
I just want to know how i can reverse the commands without changing the position of the blinds.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Sunday 09 April 2023 11:15
by Kedi
Post your script here and let's see what can be done.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Monday 08 May 2023 17:38
by thaui
Another issue came up. I am using reversed blind setting. If you open the protocoll of the device, the protocoll is showing "open" when the blind is "closed" and vice versa.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Tuesday 09 May 2023 10:30
by Kedi
Sometimes there is a setting in zigbee2mqtt (or others) that is not exposed to Domoticz.
In zigbee2mqtt you can find those in 'Settings (specific)'
In my case with some blinds is it called 'invert_cover'
Maybe that kind of setting might help.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Friday 22 December 2023 17:28
by Thuis
The only way to close my blinds is to click the "open" icon. Clicking the "close" icon does not do anything.
The only way to open my blinds is to click the "close" icon. Clicking the "open" icon does not do anything.
I played around with domoticz settings "reverse open/close state" and "reverse postition".
Also i changed window cover status of device itself and reverse motor of device itself, but nothing seems to make the blinds move on the correct icon.
Anyone else have an idea?
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Thursday 04 January 2024 15:42
by brannou
Hi all,
In my case (a Legrand 067726 wired switch for shutters), it's the reverse position that does nothing. Using the Zigate WEBUI (by setting netatmoInvertShutter to 1), I was able to get them working. The final state (after 2 minutes) is working fine too.
Raspberry Pi 3B, BullsEye 64bits, Domoticz 2023.2, Zigate v1, ZigbeeforDomoticZ Plugin 7.1.007
Shutter switches with:
Reverse Open/Close State checked X
Reverse Position not useful... (checked or not)
netatmoInvertShutter = 1 (via Zigate WEBUI)
Good Luck!
Wouldn't it be better to get the "reverse position" working?
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Monday 24 June 2024 16:47
by Thuis
I just open the blinds by pressing close and close the blinds by pressing open. That is my workaround. It works, but i have no clue how to change the action that is attached to the open or close button.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Monday 24 June 2024 19:17
by waltervl
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Tuesday 25 June 2024 14:35
by Thuis
Yes i know, thank you, but it does not matter what i do. The BUTTON open is closing blinds and the BUTTON close is opening the blinds. No matter what switch i use reverse open close state, this is the picture of the blind, what changes, so this works. Reverse position, this is the slider, which shows inverted. But, pressing close, will still open the blinds, and pressing open will still close the blind. No matter what combination i set on the slideswitches options thingy. The slidewitch options, only invert the picture, not the behaviour of the buttons. At least, not on my blinds.
Perhaps a third option could be implemented which invert the behaviour of the close and open BUTTONS. So button close becomes open, and button open becomes close. Then when that is the case, then i can click open and it opens and i click close it closes, now it is the other way around.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Tuesday 25 June 2024 16:19
by waltervl
What Hardware gateway is behind these blinds (eg MQTT AD, a specific Python Plugin, Dummy) as it should behave differently when switching the state setting on Blinds.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Sunday 08 September 2024 10:51
by Thuis
Sorry for not responding it has been a while busy busy. I just bought another blind switch module, and this one has the same euvel.
I use conbeeII stick with deconz. They are tuya zigbee modules.
So it is now closed, but it says it is open. I can click close, but it stays open. I click open, it closes.
Then it is open, but it says close. I can click open, but it stays close. I click close, it opens.
Then if i do the reverse state, the icons are correct, so close is closed icon and close text, but still the same as above. Only the icons and text changes.
I still have to click on open to close it and on close to open is. It does not matter what i do. I even try to change the wiring on the motor, but that does not do anything either.
In the phoscon app i put it open 0%, it opens, close 100% it closes. No idea why it is not working, perhaps i also need to trick it with virtual hardware to get it correct.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Sunday 08 September 2024 15:22
by waltervl
You have to check with the deconz python plugin owner how to debug this.
https://github.com/Smanar/Domoticz-deCONZ
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Tuesday 24 September 2024 15:14
by Thuis
I have to check with phoscon? But in the phoscon app it works correctly. So open = open = 0% and close = closed = 100% In phoscon app there is no open or close butten, only a slider. On top is 0% open, and 100% on the bottom which is closed. So this works correctly. In domoticz however, when the blind is open, the icon is open, when i click on the close icon, nothing happens, then i click the open icon, it closes, when it is closed, the close icon is lit up. Then when i want to open i have to click the closed icon. Also when i say, ok google open the blind, it opens, and ok google close the blind, it closes, so the open and close command work in the scripts. Also ok google set blind on 20% open or close, also works. The only thing is i have to click the opposite icon for opening and closing the blind on the switch. I played with the options reversed close/open position, but the click behaviour of the icons stays the same. Click on open to close blinds and click on close to open blinds. And the icons show the correct position.
But ill check in with smanar.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Tuesday 24 September 2024 15:53
by meal
Hello,
I am running Domoticz Version: 2024.7 (build 16265)
Build Hash: 03baca333
Compile Date: 2024-09-19 09:36:13
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
I have fixed the issue by replacing in file /home/pi/domoticz/www/js/domoticzdevices.js the lines 1406 ->1421
Code: Select all
} else {
if (item.Status == 'Open') {
this.image = 'images/blindsopen48sel.png';
this.image2 = 'images/blinds48.png';
}
else {
this.image = 'images/blinds48sel.png';
this.image2 = 'images/blindsopen48.png';
}
this.onClick = 'SwitchLight(' + this.index + ",'Open'," + this.protected + ');';
this.onClick2 = 'SwitchLight(' + this.index + ",'Close'," + this.protected + ');';
}
by
Code: Select all
} else {
if (item.Status == 'Open') {
this.image = 'images/blindsopen48sel.png';
this.image2 = 'images/blinds48.png';
this.onClick = 'SwitchLight(' + this.index + ",'Open'," + this.protected + ');';
this.onClick2 = 'SwitchLight(' + this.index + ",'Close'," + this.protected + ');';
}
else {
this.image = 'images/blinds48sel.png';
this.image2 = 'images/blindsopen48.png';
this.onClick = 'SwitchLight(' + this.index + ",'Close'," + this.protected + ');';
this.onClick2 = 'SwitchLight(' + this.index + ",'Open'," + this.protected + ');';
}
}
BR
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Wednesday 25 September 2024 13:13
by Thuis
Hey, great, i tried this, but it is still the same, i need to click close to open and need to click open to close.

I think it has to with open being 1% and close being 99%. It never is 0% or 100%.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Wednesday 25 September 2024 13:21
by waltervl
meal wrote: ↑Tuesday 24 September 2024 15:53
Hello,
I am running Domoticz Version: 2024.7 (build 16265)
Build Hash: 03baca333
Compile Date: 2024-09-19 09:36:13
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
I have fixed the issue by replacing in file /home/pi/domoticz/www/js/domoticzdevices.js the lines 1406 ->1421
With what hardware gateway are your Blinds controlled? As you should not have to do this change in domoticzdevices.js. It seems the hardware gateway is not supporting the change implemented for Blinds:
https://www.domoticz.com/wiki/Blinds
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Wednesday 25 September 2024 13:23
by Thuis
conbeeII usb stick
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Wednesday 25 September 2024 13:26
by waltervl
Thuis wrote: ↑Wednesday 25 September 2024 13:23
conbeeII usb stick
With what plugin or Zigbee2mqtt? If plugin then make an issue on the plugin repository as it seems to do something strange with blinds.
Re: The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Wednesday 25 September 2024 14:11
by Thuis
It is the deCONZ plugin in the hardware section of domoticz.
Yes oke, i will try to contact the plugin maker. I now also have some other trouble to figure out.
Thanks for your answer.