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.