RFLINK SOMFY SGS

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
ares_fr
New user
Posts: 5
Joined: 27 Sep 2020, 17:24

RFLINK SOMFY SGS

#1 Post by ares_fr » 27 Sep 2020, 17:28

Hello,
I own an RFLINK 433.42 mhz.
For several weeks I have been trying to associate the module with my Somfy SGS portal.
Nothing works. There is no tutorial on this portal, only a tutorial on Somfy stores.
The procedure for associating a remote control is normally done by bringing the new remote control to the control box and leaving the opening button pressed for the time of association.

Whether in use or in association with a remote control, the RFLYNK (via RFLOADER RFLink Gateway V1.1 - R48) sees the frames pass.
The RFLINK records the automatic remote control with the Rolling Code in its "0" memory area.
Following this, the use of a command of the type "10; RTS; 87B2F8; 0; STOP;" increments the rolling code but the gate does not react.

However, I think that it does record an increment of the RC because if I use the remote control then, it is necessary to make two pushs that it works (surely so that the remote control catches up to the RC of the RFLINK)

Very surprisingly, when I listen to the frames of the remote control with RF, he sees an ID on 7 digits.
20; 0D; RTS; ID = 288b2f8; SWITCH = 01; CMD = STOP;
Otherwise it registers the remote control on a 6-digit address
RTS Record: 0 Address: 87B2F8 RC: 01F5

So I wonder if the problem might not come from the address which is truncated?
Or is the command correct ("STOP")?
Is there a step that I forget?

have you got any idea to help me

Thanks

javicalle
Normal user
Posts: 17
Joined: 28 Sep 2018, 20:41

Re: RFLINK SOMFY SGS

#2 Post by javicalle » 27 Sep 2020, 21:07

I do not have the SGS mechanism (I did not even know it before reading this post), but from what I have read, I would follow the somfy pairing procedure for the 3 button remote control.

To do this, I would first add a new remote in RFLink with a slightly different code than the one that can be read on the remote, for example:

Code: Select all

10;RTS;288b4f8;0123;0;PAIR;
where:
* 288b4f8 will be the NEW device_id to use
* 0123 is the rolling code (anyone will works in the pairing proccess)
* you can change the 0 for any 'RLFink memory slot', you would not have to deal with that value

Once the NEW device is in your RFLink (it should be displayed in the command "10;RTSSHOW;"), what I understand from the manual is that you should bring the RFLink very close to the SGS switchboard and then send the open command:

Code: Select all

10;RTS;288b4f8;0;ON;
When the command is sent, in the SGS switchboard the "radio" led sould blink, signal that the NEW device has been paired.


Refs:
* http://www.rflink.nl/blog2/protref

ares_fr
New user
Posts: 5
Joined: 27 Sep 2020, 17:24

Re: RFLINK SOMFY SGS

#3 Post by ares_fr » 28 Sep 2020, 09:20

Hi,

Thank a lot for your reply.
I tried the pairing with the instruction
"PAIR" but it is not accepted for this equipement. Indeed, when i sent the command the warning led don't light and for pairing, the warning led has to be lighted.

I have a remote controlle already paired. I tried to send "OK" with the paired remote controlle's address and this instruction is not understand by the equipement

javicalle
Normal user
Posts: 17
Joined: 28 Sep 2018, 20:41

Re: RFLINK SOMFY SGS

#4 Post by javicalle » 28 Sep 2020, 19:32

The PAIR command is just to add it to RFLink's memory (if I'm not wrong) not to pair it with the SGS switchboard.

I may ask a silly question, but have you put the SGS switchboard in pairing mode (power button> 2s)?

I would try the UP command or changing the switch number, for example:

Code: Select all

10;RTS;288b4f8;0;UP;
10;RTS;288b4f8;1;ON;
10;RTS;288b4f8;1;UP;
...
Everything I say is based on the manual I found (in Spanish, p. 27)

ares_fr
New user
Posts: 5
Joined: 27 Sep 2020, 17:24

Re: RFLINK SOMFY SGS

#5 Post by ares_fr » 29 Sep 2020, 08:02

Hi,

Thank you for your time and your reply.
Unfortunately this is not exactly the same model as mine, the one you identified is newer.
The model I own does not have a pairing button. I can only bring the remote control close to make a pairing.

https://service.somfy.com/downloads/mas ... 48469c.pdf

But maybe there is a mistake around the switch number.
I've never heard of it and I always leave it at 0. Can you tell me more about it ?

Thanks

javicalle
Normal user
Posts: 17
Joined: 28 Sep 2018, 20:41

Re: RFLINK SOMFY SGS

#6 Post by javicalle » 29 Sep 2020, 13:30

The problem I see is that I don't know how to simulate the "hold down the key" part with RFLink, I suppose you can repeatedly send one command in RFLink, but I don't know if it will be the same behavior.

I always have set my devices with a 0 for the switch value, but my remotes (somfy tellis) are detected with another switch value (1 in my case).
This has nothing to do with the memory location where RFLink saves the record (the 10;RTS;288b4f8;0123;0;PAIR; command).

If you've already tried the 3 commands (ON, STOP and UP) and haven't had any luck, I can't think of what else you can try. Sorry.

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RFLINK SOMFY SGS

#7 Post by Stuntteam » 29 Sep 2020, 14:20

You can try to set RTSLONGTX
Then send the ON command with RTSLONGTX activated.. this will act like a long button press

If that works, then disabole RTSLONGTX after the pairing sequence so that normal commands can be send again.
If not, I would need some additional info, use mail to contact me!
More info here: http://www.rflink.nl/blog2/development
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

ares_fr
New user
Posts: 5
Joined: 27 Sep 2020, 17:24

Re: RFLINK SOMFY SGS

#8 Post by ares_fr » 30 Sep 2020, 08:45

javicalle wrote: 29 Sep 2020, 13:30 The problem I see is that I don't know how to simulate the "hold down the key" part with RFLink, I suppose you can repeatedly send one command in RFLink, but I don't know if it will be the same behavior.

I always have set my devices with a 0 for the switch value, but my remotes (somfy tellis) are detected with another switch value (1 in my case).
This has nothing to do with the memory location where RFLink saves the record (the 10;RTS;288b4f8;0123;0;PAIR; command).

If you've already tried the 3 commands (ON, STOP and UP) and haven't had any luck, I can't think of what else you can try. Sorry.
Thanks for your advices.
I tried with "1" like switch value and result is the same

ares_fr
New user
Posts: 5
Joined: 27 Sep 2020, 17:24

Re: RFLINK SOMFY SGS

#9 Post by ares_fr » 30 Sep 2020, 10:22

Stuntteam wrote: 29 Sep 2020, 14:20 You can try to set RTSLONGTX
Then send the ON command with RTSLONGTX activated.. this will act like a long button press

If that works, then disabole RTSLONGTX after the pairing sequence so that normal commands can be send again.
If not, I would need some additional info, use mail to contact me!
More info here: http://www.rflink.nl/blog2/development
Hi and thank you for your time;

i tried to use RTSLONGTX with ON, UP or STOP command to pair rflink with controller but it doesn't work.

I don't know what to try anymore

I will contact you with private message as you request to me

If we will find the solution. i will fill the forum in return

yterza
New user
Posts: 2
Joined: 02 Jan 2022, 21:48

Re: RFLINK SOMFY SGS

#10 Post by yterza » 02 Jan 2022, 22:11

Hi,

My 2 cents :
I've been looking around a while before finding how to get it working. I have a somfy evolvia portal motor but things should be the same for your SGS:
1 - Looks like that the remote ID has to start by '2'. The RTS Pair command only save ID with 6 digits, so I use that one for mine : 2C0B2F (genuine remote id was : 2C0B2F8)
2 - 10;RTS;2C0B2F;0123;0;PAIR;
3 - You have to put the antenna (dipole for me) of your rflink on the target on the motor
4 - 10;RTS;2C0B2F;0;STOP ==> the radio led on the motor will turn on few seconds
5 - if paring is ok, when you put the antenna away from the motor and redo 10;RTS;2C0B2F;0;STOP, the radio led blinks several times (if not, try to move a bit the antenna and redo step 4)
6 - 10;RTS;2C0B2F;0;OFF to open the portal
7 - 10;RTS;2C0B2F;0;ON to close the portal
8 - 10;RTS;2C0B2F;0;STOP to STOP the portal while it's moving
9 - Define as Venetian Blind US in domoticz

I hope it will help you and others to get it working.

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RFLINK SOMFY SGS

#11 Post by Stuntteam » 02 Jan 2022, 23:59

yterza wrote: 02 Jan 2022, 22:11 The RTS Pair command only save ID with 6 digits, so I use that one for mine : 2C0B2F (genuine remote id was : 2C0B2F8)
Where did you get the genuine id from / why do you think it is 7 digits?
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

yterza
New user
Posts: 2
Joined: 02 Jan 2022, 21:48

Re: RFLINK SOMFY SGS

#12 Post by yterza » 03 Jan 2022, 07:33

It’s the kind of ID that I got while listening frames (debug mode with rflink) when I use the somfy remote (I have 3 of these) sold with the portal motor.

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RFLINK SOMFY SGS

#13 Post by Stuntteam » 03 Jan 2022, 09:45

Ok, the ID is 6 digits.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

filzek
New user
Posts: 3
Joined: 01 Dec 2022, 18:35

Re: RFLINK SOMFY SGS

#14 Post by filzek » 01 Dec 2022, 18:46

Hi @Stuntteam,

The RTS TUBE Somfy remote ID is 7 positions and when we try to connect using 6 position or even clone it doesnt work.

We have made a CC1101 radio tuned in 433.42mhz running standalone connected to the arduino RFLINK board and works like a charm with all SOMFY RTS sending more than 100 meters distance, but in TUBE RTS it simple doesnt work as the remote ID is 7 position!

Can you check this for the new RFLINK fw? or provide a Beta Tester, we can try to solve this asap!!!
Attachments
tube1.jpg
tube1.jpg (68.93 KiB) Viewed 4326 times
tube 2.jpg
tube 2.jpg (73.15 KiB) Viewed 4326 times

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RFLINK SOMFY SGS

#15 Post by Stuntteam » 01 Dec 2022, 19:00

Can you provide a debug log so I can check the issues?
see: https://www.rflink.nl/develop.php
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

filzek
New user
Posts: 3
Joined: 01 Dec 2022, 18:35

Re: RFLINK SOMFY SGS

#16 Post by filzek » 02 Dec 2022, 18:28

Sure, below is the log of the remote control, it correctly identifies the key pressed (up/down/stop)

10;rfdebug=on;
20;9D;RFDEBUG=ON;
20;9E;DEBUG;Pulses=88;Pulses(uSec)=2580,2370,2430,2430,4680,1200,1140,570,510,1170,1170,1200,510,540,1170,540,510,1170,510,540,1170,540,510,570,510,1170,540,540,1170,1170,540,540,1170,540,510,540,510,540,510,540,540,1170,1170,1170,540,540,540,540,1170,1170,1170,1170,540,540,1170,1170,540,540,540,540,540,540,540,540,1170,1170,1170,1170,540,540,540,540,1170,1170,1170,1170,510,540,540,540,1170,1170,540,540,540,540,510,6990;
20;9F;Debug;RTS P1;96f503da65822a;
20;A0;RTS;ID=265822a;SWITCH=01;CMD=UP;
20;A1;DEBUG;Pulses=86;Pulses(uSec)=2580,2370,2430,2430,4680,1200,1140,570,510,1200,1170,1170,1170,1200,1170,1170,540,540,1170,540,540,540,540,1170,1170,540,540,1170,540,540,1170,540,540,540,540,540,510,1170,540,540,1170,1170,540,540,540,540,1170,1170,1170,1170,540,540,1170,1170,540,540,540,540,540,540,540,540,1170,1170,1170,1170,540,540,540,540,1170,1170,1170,1170,540,540,510,540,1170,1170,540,540,540,540,510,6990;
20;A2;Debug;RTS P1;95f703db65822a;
20;A3;RTS;ID=265822a;SWITCH=01;CMD=STOP;
20;A4;DEBUG;Pulses=86;Pulses(uSec)=2580,2370,2430,2430,4680,1200,1140,570,510,1200,510,540,1170,540,510,570,510,570,510,1170,540,540,1170,570,510,1170,1170,1170,1170,1170,540,540,1170,570,510,1170,540,540,1170,1170,1170,1170,540,540,540,540,1170,1170,1170,1170,540,540,1170,1170,540,540,540,540,510,540,540,540,1170,1170,1170,1170,540,540,540,540,1170,1170,1170,1170,540,540,510,540,1170,1170,540,540,510,540,510,6990;
20;A5;Debug;RTS P1;98fd03dc65822a;
20;A6;RTS;ID=265822a;SWITCH=01;CMD=DOWN;
20;A7;DEBUG;Pulses=88;Pulses(uSec)=2580,2370,2430,2430,4680,1200,1140,570,510,1200,1170,1200,510,540,1170,540,510,1200,510,540,1170,540,540,1170,1170,570,510,570,510,1170,540,540,1170,540,510,1170,540,540,540,540,540,540,1170,1200,510,540,540,540,1170,1170,1170,1170,540,540,1170,1170,540,540,540,540,510,540,510,540,1170,1170,1170,1170,540,540,540,540,1170,1170,1170,1170,510,540,510,540,1170,1170,540,540,510,540,510,6990;
20;A8;Debug;RTS P1;96f203dd65822a;
20;A9;RTS;ID=265822a;SWITCH=01;CMD=UP;
20;AA;DEBUG;Pulses=84;Pulses(uSec)=2580,2370,2430,2430,4680,1200,1140,570,510,1200,1140,1200,1170,1170,1170,1200,510,540,1170,540,510,1170,540,540,540,540,1170,1170,540,540,1170,540,510,1170,1170,540,540,1170,1170,1170,540,540,540,540,1170,1170,1170,1170,510,540,1170,1170,540,540,540,540,540,540,540,540,1170,1170,1170,1170,540,540,510,540,1170,1170,1170,1170,510,540,540,540,1170,1170,540,540,540,540,510,6990;
20;AB;Debug;RTS P1;95f203de65822a;
20;AC;RTS;ID=265822a;SWITCH=01;CMD=STOP;
20;AD;DEBUG;Pulses=88;Pulses(uSec)=2580,2370,2430,2430,4680,1200,1140,570,510,1200,510,540,1170,540,510,540,510,570,510,1170,510,540,1170,570,510,1170,540,540,1170,570,510,1170,540,540,1170,570,510,1170,1170,1170,540,540,1170,1170,510,540,540,540,1170,1170,1170,1170,540,540,1170,1170,540,540,540,540,540,540,510,540,1170,1170,1170,1170,540,540,540,540,1170,1170,1170,1170,540,540,510,540,1170,1170,540,540,540,540,510,6990;
20;AE;Debug;RTS P1;98fe03df65822a;
20;AF;RTS;ID=265822a;SWITCH=01;CMD=DOWN;
20;B0;DEBUG;Pulses=88;Pulses(uSec)=2580,2370,2430,2430,4680,1200,1140,570,510,1200,510,540,1170,570,510,540,510,570,510,1170,510,540,1170,1170,1170,1170,1170,540,510,1170,540,540,1170,1170,1170,540,540,1170,540,540,1170,540,510,540,540,1170,1170,570,510,1170,540,540,540,540,540,540,1170,1170,540,540,1170,540,540,540,540,1170,540,540,1170,1170,540,540,540,540,1170,540,540,1170,1170,570,510,540,540,1170,1170,570,510,6990;
20;B1;Debug;RTS P1;98f203e065822a;
20;B2;RTS;ID=265822a;SWITCH=01;CMD=DOWN;
20;B3;DEBUG;Pulses=88;Pulses(uSec)=2580,2370,2430,2430,4680,1200,1140,570,510,1200,510,570,1170,570,510,570,510,540,540,1170,510,540,1170,1170,1170,1170,540,540,1170,1170,510,540,1170,1170,1170,540,540,540,510,1170,1170,540,540,540,510,1170,1170,540,540,1170,540,540,540,540,540,540,1170,1170,540,540,1170,540,540,540,510,1170,540,540,1170,1170,540,540,540,540,1170,540,510,1170,1170,540,540,540,510,1170,1170,540,540,6990;
20;B4;Debug;RTS P1;98f303e165822a;
20;B5;RTS;ID=265822a;SWITCH=01;CMD=DOWN;
20;B6;DEBUG;Pulses=90;Pulses(uSec)=2580,2370,2430,2430,4680,1200,1140,570,510,1200,510,540,1170,570,510,540,540,540,510,1170,540,540,1170,1170,1170,570,510,540,540,540,540,1170,540,540,1170,1170,1170,1170,510,540,540,540,1170,540,510,570,510,1170,1170,540,510,1170,540,540,540,540,540,540,1170,1170,510,540,1170,540,510,540,540,1170,540,540,1170,1170,540,540,540,540,1170,570,510,1170,1170,540,510,570,510,1170,1170,540,510,6990;
20;B7;Debug;RTS P1;98f003e265822a;
20;B8;RTS;ID=265822a;SWITCH=01;CMD=DOWN;

filzek
New user
Posts: 3
Joined: 01 Dec 2022, 18:35

Re: RFLINK SOMFY SGS

#17 Post by filzek » 13 Apr 2023, 03:14

Stuntteam wrote: 01 Dec 2022, 19:00 Can you provide a debug log so I can check the issues?
see: https://www.rflink.nl/develop.php
We have found out how to write the code for the TUBE and already working perfect, so we can help to code the changes need in somfy code to work with tube as the CMD and ENCRYPT key works in a different way.

The transmission is the same as SOMFY but the build of the transmission code is different.

so the FRAME schema is:

// PROG
frame[0] = 0x9C;
frame[1] = (uint8_t)(15)<< 4;
// MUST REPEAT THE TRANSMISSION FOR 3 TIMES AT LEAST


// DOWN
frame[0] = 0x98;
frame[1] = (uint8_t)(15)<< 4;

// UP
frame[0] = 0x96;
frame[1] = (uint8_t)(15)<< 4;

// STOP
frame[0] = 0x95;
frame[1] = (uint8_t)(15)<< 4;

//UP+STOP
frame[0] = 0x97;
frame[1] = (uint8_t)(15)<< 4;

//UP+DOWN
frame[0] = 0x9A;
frame[1] = (uint8_t)(15)<< 4;

//UP+STOP+DOWN
frame[0] = 0x9B;
frame[1] = (uint8_t)(15)<< 4;

//STOP+DOWN
frame[0] = 0x99;
frame[1] = (uint8_t)(15)<< 4;


so, the rest of the FRAME is the same as somfy.

@Stuntteam can you make a beta testing version to test it?

We have write the C code and it is working but we want to test inside the RFLINK as it is the best!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests