The reverse state of the blinds is not implemented completly or correctly (Solved by workaround) Topic is solved

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
JaapB
Posts: 16
Joined: Friday 17 February 2023 13:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)

Post by JaapB »

Version : 2023.1, updated from 2022.1
Platform : Raspian Buster
Hardware : Raspberry Pi 3B+, RFXcomm Somfy RTS blinds

After I performed an update of Domoticz from 2022.1 it became clear that current stable was 2023.1.
It was a surprise to see that after over 6 years the action of the blinds has been reversed so i changed it as instructed for al 13 of my blinds and that worked again on the timers.

Only the state of the blinds showing no longer was correct. When it was sent to open the state showed it was closed en when the blinds were closed is showed as opened. Also clicking on "open" results in the blind closing and viceversa


And not only that, I also get the wrong state in the blockly scripts so when a schript that checks outside and inside temperature together with the amount of light and the state of the blind(s) it gets the information the blind is closed while in fact it is open.
Result is that the blinds won't close and the sun is shining in and heating up the room. For now that's good and wanted but over the warmer months ahead that's not what it is programmed for.

Cleared cache? Yes
Tried in other browser? Yes
Tried on fresh installed computer? Yes
Restarted Domoticz? Yes, severall times
Rebooted Raspberry? Yes severall times
Raspbian up te date? Yes.
Tried reverse position? Yes, makes no difference
Attachments
Schermafbeelding 2023-02-23 102602.png
Schermafbeelding 2023-02-23 102602.png (113.1 KiB) Viewed 3978 times
Schermafbeelding 2023-02-17 125306.png
Schermafbeelding 2023-02-17 125306.png (49.55 KiB) Viewed 3978 times
Schermafbeelding 2023-02-17 125211.png
Schermafbeelding 2023-02-17 125211.png (347.95 KiB) Viewed 3978 times
Last edited by JaapB on Saturday 08 April 2023 7:55, edited 1 time in total.
JaapB
Posts: 16
Joined: Friday 17 February 2023 13:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by JaapB »

Tried on a spare raspberry using dummy blinds and that seems to work good, problem is in the combination of the reversed action, de RTS blind and RFX-com. I sure hope someone will be able to find the solution to this problem.
JaapB
Posts: 16
Joined: Friday 17 February 2023 13:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by JaapB »

Since there is nog other way the solution to the problem is creating dummy devices, link them to the reall devices to make the scripts and actions to work correctly again.
:cry:
thaui
Posts: 58
Joined: Sunday 15 March 2015 19:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Hamburg
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by thaui »

At a certain day they will find a solution I hope because working with dummies and scripts is maybe a workaround but not a good practice
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by waltervl »

So the behavior is not according described in https://www.domoticz.com/wiki/Blinds ?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Kedi
Posts: 536
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by Kedi »

My Somfy blinds work good with RFXCom with these settings.
22.03.2023_16.03.20_REC.png
22.03.2023_16.03.20_REC.png (11.21 KiB) Viewed 3896 times
Logic will get you from A to B. Imagination will take you everywhere.
JaapB
Posts: 16
Joined: Friday 17 February 2023 13:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by JaapB »

thaui wrote: Wednesday 22 March 2023 14:54 At a certain day they will find a solution I hope because working with dummies and scripts is maybe a workaround but not a good practice
That's what I hope too, but for now it looks to be the only sollution.
The fixing of an MQTT problem by changing state and action that has been working for any years is what created these dummy's
JaapB
Posts: 16
Joined: Friday 17 February 2023 13:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by JaapB »

waltervl wrote: Wednesday 22 March 2023 15:17 So the behavior is not according described in https://www.domoticz.com/wiki/Blinds ?
Exactly.
But for now fixed whit a workaround.
koewacko
Posts: 13
Joined: Wednesday 29 March 2023 14:03
Target OS: Linux
Domoticz version: 2024.1
Location: NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by koewacko »

Same over here.

After the 2022 update, the logs shows a reversed command. Switching the Reversed Position doesnt change anything. The position is fysically correct and also as shown on the icon, except that the command via timers or scripts is reverse. A timer sends for example a "open" signal and the screen does open, but the command in the logs is listed as 'close'.
This makes no sense if you run a script that needs to have the correct position of the screen.

Data from the Events screen:

Screen glas-in-lood Open 0/100
Screen grote raam buren Open 1/100 --> this is the only one which works like it should and shows the correct position everywhere
Screen grote raam voor Open 0/100
Screen kleine raam buren Open 0/100

Hope it will be fixed soon.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by waltervl »

Did you try to switch reverse STATE instead of reverse POSITION?
That should fix open/close switch inverting.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
JaapB
Posts: 16
Joined: Friday 17 February 2023 13:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by JaapB »

Yes and no, please read my first entry
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by waltervl »

Sorry I was referring to @koewacko as he only mentioned position and not state.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by waltervl »

JaapB wrote: Sunday 02 April 2023 19:33 Yes and no, please read my first entry
It is a little strange that people state that using RTS Somfy works just fine.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
koewacko
Posts: 13
Joined: Wednesday 29 March 2023 14:03
Target OS: Linux
Domoticz version: 2024.1
Location: NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by koewacko »

If i change the STATE, it changes to a Closed icon while the blind is open. Lookslike a POSITION change...
If i change the POSITION, nothing changes.

If i close the blind, it shows an OPEN command in the logs and vice versa but the Open/Close position is correct. I would think that you only need to change the STATE and not the POSITION as the position is correct but that seems incorrect.

In my case the commands in the log are reversed. This also !@#$ up the scripts for open window protection.


Something is off...
JaapB
Posts: 16
Joined: Friday 17 February 2023 13:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by JaapB »

koewacko wrote: Monday 03 April 2023 19:24 If i change the STATE, it changes to a Closed icon while the blind is open. Lookslike a POSITION change...
If i change the POSITION, nothing changes.

If i close the blind, it shows an OPEN command in the logs and vice versa but the Open/Close position is correct. I would think that you only need to change the STATE and not the POSITION as the position is correct but that seems incorrect.

In my case the commands in the log are reversed. This also !@#$ up the scripts for open window protection.


Something is off...
Simular to my initial posting in this topic that I stated as solved since I made a workaround and there did not seem to be an answer at first and probably still isn't here.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by waltervl »

If you change state then it also should change the commands. So clicking on open should open the blinds and clicking on close should close the blinds (and icon and state should look closed).

Again, test it with a dummy blind. If it it not working for your specific device (eg Somfy RTS) perhaps try to remove and add the device again. If still not working make a documented GitHub issue with logging and screenshots.
But other users report normal functioning with RTS. Perhaps update RFLink/Rfxcom?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
JaapB
Posts: 16
Joined: Friday 17 February 2023 13:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by JaapB »

As stated before, dummy devices don't have this problem, problem is in the actual devices.
And what I've learned from problem solving is not to chance too many things after the first problems started. So no changing firmware on the RFXcom or deleting and re-entering of devices.
The point where the problems started is the update on the reverse blinds in Domoticz. So that's where the solution must be.
Kedi
Posts: 536
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by Kedi »

It still is strange that Somfy blinds with RFXCom worked for me for years and still working as it they should with Version: 2023.1 (build 15137)
I use dzVents to open and close (and stop) them in the morning and evening.
Logic will get you from A to B. Imagination will take you everywhere.
koewacko
Posts: 13
Joined: Wednesday 29 March 2023 14:03
Target OS: Linux
Domoticz version: 2024.1
Location: NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by koewacko »

I dont use Somfy /RFXCom devices, i use Fibaro Roller Shutter 3's which is a simple on/off switch. I use a simple timer for opening and closing them, nothing special. The Dz vents script i use doesnt work since the State of the commands are reversed and that doesnt work with the script.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: The reverse state of the blinds is not implemented completly or correctly

Post by waltervl »

As the logic has been changed you also need to change your scripts.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest