Somfy and Blyss protocols added to rf-ctrl

Somfy-Blyss.jpg

The rf-ctrl tool is now able to control plugs and rolling shutter controllers from the well known Somfy and Blyss brands. Regarding Somfy, only the 433,42 MHz RTS protocol is supported, but devices based on it are still widely available. Of course, most 433 MHz transmitters work at 433,92 MHz, which is obviously off compared to the 433,42 MHz used by Somfy. However, it works well enough, even if the range is a little bit smaller compared to what you could get with a proper 433,42 MHz transmitter.

To control a Somfy device with rf-ctrl, you must pair rf-ctrl with your device first ! To do so, you need to put your device in association mode (long press on the device's button most of the time), choose the remote ID (0-255) and the device ID (1024-16777215) to use for this device (and stick to them), then send a Prog command. The device should acknowledge the reception of the pairing request somehow (a led blinking for instance).
Now you should be able to control this device using the device and remote IDs you chose.

For instance, to send an association request:
# rf-ctrl -p somfy -r 0xC0 -d 0x042420 -c prog

Then to control the device:
# rf-ctrl -p somfy -r 0xC0 -d 0x042420 -c on

If you have any issue during the association, make sure that:

  • the device ID you are using is higher than 1024
  • the device has not reach the maximum number allowed of associated remotes

To reset completely the device and be sure it will accept an association request, hold its button for at least 10 seconds (around 3 seconds starts the association procedure, while around 10 seconds will reset the device).

rf-ctrl also gains the ability to control plugs from the Blyss brand. These plugs are easy to find, at least in France. In order to use a Blyss device, you also need to associate rf-ctrl with it. To do so, put your device in association mode (long press on the device's button most of the time), choose the remote ID (0-1048575) and the device ID (0-16) to use for this device (and stick to them), then send an "ON" command. The device should acknowledge the reception of the pairing request somehow (a led blinking for instance).
Now you should be able to control this device using the device and remote IDs you chose.

The ook-gpio driver has been updated to support the new RAW bit format needed by the Somfy protocol, and since Home-RF is just a Web UI on top of rf-ctrl, it is compatible with these new protocols as well ! All these projects can be found on my GitHub.

If you want to create a little gateway capable of controlling all these devices, among other things, check out my previous post.

Comments

1. On Wednesday 23 November 2016, 16:30 by Ping

Awesome job ! Thanks for sharing :)
Is there any chance that you take a look at Velux shutters protocol ((KUX100/KUX110 type, not IO) soon ? :D

    [JC]: Looks like it is a 868 MHz protocol, and probably not an OOK based one, so it will not be compatible with rf-ctrl :-(

2. On Wednesday 25 January 2017, 15:05 by Ping

Goddamn proprietary Velux protocol... Thanks for the answer anyway ;)

3. On Wednesday 1 March 2017, 19:13 by Georgi

Hi,

Excellent work! I am developing an open source hardware and software wifi router based on openwrt. Is it possible to use your code as extra functionality? The router will have 433mhz transmitter on board.

    [JC]: Yes, of course ! Let me know if you need some extra information, and keep me posted !

They posted on the same topic

Trackback URL : http://blog.rona.fr/trackback/13

This post's comments feed