Somfy TaHoma Home Center 3 integration

Joep
Written by Joep on
Somfy TaHoma Home Center 3 integration

In this blog I’ll show you the Quick App I created to connect to the TaHoma switch ecosystem via the Somfy API.

💡 A new version of this Somfy TaHoma Quick App is released and available via JDK Benelux. The Quick App is re-written from the ground up and uses the official Somfy local API. It supports RTS and IO (2 way commmunication) devices like Awning, Exterior Screen, Exterior Venetian Blind, Garage Door, Pergola, Roller Shutter, Screen, Venetian Blind, Plug IO, Sun sensor IO and Window. 💡

To come straight to the point, every smart home owner who has Somfy equipment wants to have it connected to his Home Center 3 in order to integrate the devices into scenes and build cool automations with it. Integrating a Somfy product with the Home Center 3 is not that easy, but I managed to create a Quick App to integrate the TaHoma switch!

hc3-somfy1.png

How Somfy works with the HC3

The Roller Shutter 3 Z-wave module made by FIBARO allows you to control electric blinds, awnings, roller shutters, roller blinds, and gates with the HC3. For Somfy devices this module is not an option, so I created a Quick App that reads the Somfy devices from the TaHoma switch box and creates child devices with the com.fibaro.rollerShutter device type. This allows you to control the devices in almost the same way the Roller Shutter 3 Z-wave module does.

The Quick App is tested with the following device types:

  1. Awning
  2. Exterior Venetian Blind
  3. Garage Door
  4. Pergola
  5. Roller Shutter
  6. Screen
  7. Venetian Blind
  8. Plug (IO)
  9. Window
  10. Sun sensor (IO)
  11. Motion Detector (IO)
  12. Thermis Temperature Sensor (iO)
  13. Velux screen components

hc3-somfy2.png

Installation

Prerequisites

Before you can integrate your Somfy devices into the Home Center 3 (HC3) you must meet the following prerequisites:

Quick App installation

  1. Start your favorite browser and open your Home Center 3 dashboard by typing the correct URL for your HC3,
  2. Go to Settings and Devices,
  3. Click the blue + icon to add a new device,
  4. In the Add Device dialog click on Other Device,
  5. Choose Upload File and upload the .fqax file found at the FIBARO Benelux Store.
  6. Additionally you can change the icon of the Quick App with the attached icon.

Quick App configuration

  1. Go to Settings and Devices,
  2. Expand the imported Tahoma Switch device,
  3. Select the Variables tab,
  4. Fill in the userid and userPassword fields with the credentials you use to login the TaHoma app on your phone or tablet.
  5. If you press the blue Save button the Quick App will be initialised, reads all devices from the TaHoma box and automatically creates child devices in your HC3.

hc3-somfy3.png

Block scene example

With motorised roller shutters you don’t have to keep manually changing your blinds when you go to bed at night. With this example I’ll show you that my Quick App fully supports block scenes by creating a block scene to close the roller shutters when you activate the Night profile in the HC3:

hc3-somfy4.png

Lua scene example

In this example I’ll show you how to automatically lower your exterior screens when the sun gets strong by reading the current UVI value from my Ventus W830 weather station:

local uvi = fibaro.getValue(50) -- read the current UVI
if uvi > 4 then
	fibaro.call(60, "close") -- send close to the
end

This will automatically maintain an optimal temperature inside your home with just 4 lines of code!

Using the “My” (or favorite) position

Somfy remotes have a my button to easily set your blinds to a favorite position. In the Quick App I mapped the Favorite position button of the child devices to the my button action. Most Somfy devices are based on the RTS protocol and don’t allow to set a certain level. By assigning a favorite position to your my button you can still set your blinds to a certain position in a Home Center 3 scene.

hc3-somfy5.png

Support

The Somfy API may change in the future and I try to support as many devices as possible with the Quick App.

Rating:
Joep

Joep

Owner and author of this smart home blog!