Page 1 of 3
The reverse state of the blinds is not implemented completly or correctly (Solved by workaround)
Posted: Thursday 23 February 2023 10:26
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
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Monday 20 March 2023 10:11
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.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Wednesday 22 March 2023 13:34
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.

Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Wednesday 22 March 2023 14:54
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
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Wednesday 22 March 2023 15:17
by waltervl
So the behavior is not according described in
https://www.domoticz.com/wiki/Blinds ?
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Wednesday 22 March 2023 16:05
by Kedi
My Somfy blinds work good with RFXCom with these settings.

- 22.03.2023_16.03.20_REC.png (11.21 KiB) Viewed 4926 times
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Sunday 26 March 2023 9:27
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
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Sunday 26 March 2023 9:29
by JaapB
Exactly.
But for now fixed whit a workaround.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Wednesday 29 March 2023 20:02
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.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Wednesday 29 March 2023 23:52
by waltervl
Did you try to switch reverse STATE instead of reverse POSITION?
That should fix open/close switch inverting.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Sunday 02 April 2023 19:33
by JaapB
Yes and no, please read my first entry
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Sunday 02 April 2023 19:40
by waltervl
Sorry I was referring to @koewacko as he only mentioned position and not state.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Sunday 02 April 2023 19:44
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.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Monday 03 April 2023 19:24
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...
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Monday 03 April 2023 20:09
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.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Monday 03 April 2023 20:58
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?
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Tuesday 04 April 2023 10:07
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.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Tuesday 04 April 2023 15:17
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.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Wednesday 05 April 2023 21:38
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.
Re: The reverse state of the blinds is not implemented completly or correctly
Posted: Wednesday 05 April 2023 22:46
by waltervl
As the logic has been changed you also need to change your scripts.