HomeKit & Window Cover using Somfy Motor (Oximo io)

DIY: How to Connect Somfy Oximo io to Apple HomeKit for ~ 50€

Two weeks ago I got new windows including window covers. The roller shutters are driven by a Somfy radio motor.

Like many of those motors available, they are still not compatible with Apple HomeKit. Also (if available in the futur) the integration would cost ~300€ to buy a Somfy TaHome (base station).

As with my driveways on my property, I wanted to use the radio technology provided and simply connect the remote control to HomeBridge on a Raspberry Pi

A wall switch was supplied with the motors. So I carefully disassembled the remote control of the Somfy remote switch and analysed how I could bridge the buttons of the remote control to my Raspberry Pi. Unfortunately the remote control has no soldering pads that can easily be used to connect the GPIOs of the Raspberry Pi. I have decided to use the VIA (vertical interconnect access) to connect. In these I put a single wire from a stranded wire to make the contact (yes, no soldering – not perfect but working).

On the following image you can see which contact points have to be led out of the switch to be able to control all buttons remotely.

Contact points on the board to trigger all switches via GPIO+relais

The thin wires are soldered to usual wires. All of them are attached to the board with hot glue. The hot glue also protects against contact with the battery and other contact points.

To control the railais with Rasperry Pi via HomeKit I use homebridge with the plugin homebridge-gpio-device.

The rollo motors / remote control / rails are then configured with the following configuration.

    "bridge": {
        "name": "Mirror & Rollos",
        "username": "0E:C2:3D:7E:B4:5C",
        "port": 51454,
        "pin": "260-44-014"
    "accessories": [
            "accessory": "GPIODevice",
            "name": "Rollos",
            "type": "WindowCovering",
            "pins": [
            "inverted": true,
            "shiftDuration": 2,
            "initPosition": 100
            "accessory": "GPIODevice",
            "type": "StatelessProgrammableSwitch",
            "name": "Push Button",
            "pin": 14
    "platforms": [
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "c",
            "lang": "de",
            "platform": "config"

Fix of README.md for installation with a Raspberry Pi 4 (Pull Request is still open at the time of writing this article): https://github.com/AndreasPrang/homebridge-gpio-device

Open Garten Door with Siri / HomeKit and Raspberry Pi

_57Garden doors usually are connected to a DC power source interrupted by a push button. With the following simple setup it’s possible to close the circuit with HomeKit (Siri or Home-App on Apple Watch, iPhone, iPad) for a defined time.

What you should buy

At all the setup will cost round about 50€. For some additional bucks you can buy a card with more than one relay to control many doors, Lamps, power lines, … with one setup.


    • Install Debian 8 on the SD-Card
    • Login over SSH
    • Configure WiFi if needed
    • Install all you need with:
    • > sudo su
      > apt install -y curl
      > curl -sL https://raw.githubusercontent.com/AndreasPrang/pastebin/master/Garden%20Door%20Opener%20-%20Raspberry%20PI/GardenDoorSetupRPi.sh | bash -
      > reboot
  • Connect the Relay on Pin 7, 5V and GND
  • Connect the relay to the door opener circuit
  • Add the new device to your Home App on your iPhone with the default key (can be changed in /root/.homebridge/config.json)
  • 031-45-154
  • (optional) Configure more relais / devices in /root/.homebridge/config.json

Project GIT-Repository: homebridge-gardendoor