Page 1 sur 2

RTS Somfy en R50

Publié : 10 janv. 2024, 18:43
par secator
Bonjour,
la versin R50 permet désormais de commander 32 volets somfy en RTS (16 en version R48).
Je n'arrive pas enregistrer un volet à partir de la position 16 (10 en Hexa), j'ai une erreur.

Par exemple si je veux enregistrer un volet en position 20 je lance la commande ci-dessous et j'ai une erreur:

10;RTS;1b602f;0123;14;PAIR;
20;03;CMD UNKNOWN;

c'est bien sur le 14 (20 en Hexa) qui pose problème.

de plus lorsque l'on fait un RTSSHOW la liste est tronquée à partir de la position 25

rts.jpg
rts.jpg (131.59 Kio) Consulté 3000 fois

Quelqu'un a une idée ?
Merci

Re: RTS Somfy en R50

Publié : 11 janv. 2024, 09:27
par Stuntteam
RFlink really supports 32 entries in this table.
There is a bug in rflinkloader that causes the shown issue.

Re: RTS Somfy en R50

Publié : 11 janv. 2024, 12:32
par Keros
Merci Stuntteam de venir ici nous donner du support.

Re: RTS Somfy en R50

Publié : 11 janv. 2024, 12:43
par secator
Bonjour,
Merci Stuntteam pour l'info.
Par contre je suis repassé en version R48 pour mon RFLINK pour mes volets Somfy. En effet en R50 sous domoticz, ça ne fonctionne pas bien du tout. Il y a à peu près une commande sur dix qui passe ou alors il y a un délai enorme entre l'envoi de la commande et la réponse du volet.
J'ai systématiquement des erreurs:
2024-01-11 11:41:13.814 Status: User: xxxxx (IP: 192.168.1.32) initiated a switch command (152/BUREAU VOISIN/Close)
2024-01-11 11:41:17.024 Error: RFLink: TX time out (4.000000 sec)...
2024-01-11 11:41:21.037 Status: User: xxxxx (IP: 192.168.1.32) initiated a switch command (152/BUREAU VOISIN/Stop)
2024-01-11 11:41:25.049 Error: RFLink: TX time out (4.000000 sec)...
2024-01-11 11:41:37.770 Status: User: xxxxx (IP: 192.168.1.32) initiated a switch command (152/BUREAU VOISIN/Stop)
2024-01-11 11:41:41.080 Error: RFLink: TX time out (4.000000 sec)...
2024-01-11 11:41:45.548 Status: User: xxxxx (IP: 192.168.1.32) initiated a switch command (152/BUREAU VOISIN/Open)
2024-01-11 11:41:49.058 Error: RFLink: TX time out (4.000000 sec)...
2024-01-11 11:41:52.740 Status: User: xxxxx (IP: 192.168.1.32) initiated a switch command (147/CUISINE 1/Close)
Tout fonctionne parfaitement en R48

Re: RTS Somfy en R50

Publié : 11 janv. 2024, 15:54
par mrhugues
Bonjour .

Oui ; je me suis aussi aperçu de ce problème, envoyé un rapport de bug , et voila la réponse du développeur :
Hi,

Thanks for reporting.
This is not a bug in the RFLink firmware. 
There are 32 records and all are reported okay when using some other terminal software.
It seems to be a bug in the RFLinkLoader software. So I will check the loader software and fix it.
J'ai aussi avec cette version (R 50)des latences au retour.
Néanmoins cela fonctionne tout de même.
2024-01-11 15:30:57.311 Status: User: ******* (IP: ***.***.***.***) initiated a switch command (36/Salle_Salon_EF/Close)
2024-01-11 15:31:01.024 Error: RFLink: TX time out (4.000000 sec)...
2024-01-11 15:31:30.594 Status: User: ******* (IP: ***.***.***.***) initiated a switch command (36/Salle_Salon_EF/Open)
2024-01-11 15:31:34.106 Error: RFLink: TX time out (4.000000 sec).
Donc si je reviens sur la version 48 , plus de souci ?
Aussi , si je donwgrade , mon appairage sera effacer ?

Bonne lecture et journée.

Re: RTS Somfy en R50

Publié : 11 janv. 2024, 17:09
par secator
Non, tu peux downgrader ou upgrader comme tu veux, ça ne touche pas les secteurs où sont stockés la config de tes volets. Un petit RTSSHOW avec copie d'écran avant n'est pas de refus quand même au cas ou.........

Sinon pour moi, la R50 avec le RTS est inutilisable.

La première commande est prise en compte et après pendant plusieurs secondes plus rien ne fonctionne et j'ai les fameux messages de timeout.

Si tu downgrades, avant tu devrais essayer de commander tes volets en R50 à partir de RFLINKLoader pour voir s'ils repondent bien sans latence. cette idée m'est venu après le downgrade et je n'ai pas le courage de faire le test. ça permettrait de savoir si ça vient de domoticz.

Code : Tout sélectionner

10;RTS;0A0A0A;0;DOWN;
10;RTS;0A0A0A;0;UP;
10;RTS;0A0A0A;0;STOP;

Re: RTS Somfy en R50

Publié : 11 janv. 2024, 17:32
par Stuntteam
For testing purposes R50 has a new (so far undocumented) option that lets you set the number of retransmissions on RTS signals.
This was not supposed to affect new installations since the eeprom where the setting is stored is usually clean.
However, it might have an old or odd value in eeprom. (yes, blame me for this error :) btw R51 is nearly ready)
Please try
10;RTSREPEAT=18
once and see if that helps.
0x18 (24) is the default value as used in R48.
You can use lower or higher values.

I will do some tests on my side and see if I can add some safeguards to that eeprom value.
=> R51 will have an upper limit value of 0x1A (26) which should be just under the 4 second limit

Another experimental option inside RFLink is to set
10;RTSLONGTX
This will simulate a long button press which might be needed in some cases.
If you get 20;02;RTSLONGTX=ON;
then the option was OFF already and you need to send 10;RTSLONGTX a second time so that RFLink responds with 20;03;RTSLONGTX=OFF;

Re: RTS Somfy en R50

Publié : 11 janv. 2024, 19:35
par mrhugues
Bonsoir

J'ai testé via la commande direct sur le Rlinkloader , c'est pareil , il y a de la latence.
A chaque fois je lance un UP , car pour moi c'est inversé et comme cela je valide à chaque fois le sens des volets.

Tomorrow , i try that you explain.
After testing , i send how it's work
Well or not .
Excuse me for my poor english.

Merci pour vos retours/ Thanks for your feedback.

Re: RTS Somfy en R50

Publié : 11 janv. 2024, 20:23
par secator
merci pour ton test. Le problème vient de la version R50 alors.
J'attends tes tests avec l'option RTSREPEAT donnée par Stuntteam.

Re: RTS Somfy en R50

Publié : 12 janv. 2024, 15:17
par mrhugues
Bonjour/Hello.

Pour faire suite au message de Stuntteam du 11 janv. 2024, 17:32
J'ai testé la commande : 10;RTSREPEAT=18
Please try
10;RTSREPEAT=18
once and see if that helps.
0x18 (24) is the default value as used in R48.
You can use lower or higher values.
Cela fonctionne à merveille.
C'est devenu réactif.
Je peux maintenant aussi utiliser le bouton ''Stop'' de l'interface Domoticz.
2024-01-12 15:03:00.285 Status: User: *** (IP: ***.***.***.***) initiated a switch command 31/Bureau_EA/Close)
2024-01-12 15:03:03.653 Status: User: *** (IP: ***.***.***.***) initiated a switch command (31/Bureau_EA/Stop)
2024-01-12 15:03:07.025 Status: User: *** (IP: ***.***.***.***) initiated a switch command (31/Bureau_EA/Open)
@Stuntteam

It's OK, run fine , thank you.