Support for Somfy Connexoon and Tahoma
Moderators: leecollings, remb0
-
- Posts: 77
- Joined: Thursday 07 June 2018 21:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Noordwijk, Netherlands
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Thanx Jan-Jaap. I've send you the requested logfile.
Let me know what I can do.
Jan-Paul
Let me know what I can do.
Jan-Paul
-
- Posts: 4
- Joined: Wednesday 08 June 2022 18:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Hello.
Is plugin compatible with last one Tahoma Switch box, or only with the older Tahoma boxes? I want to buy a new one to integrate pergola motor and Rain & Sun/Wind sensors with Domoticz zwave instance on RPi.
Thanks &, best regards.
Is plugin compatible with last one Tahoma Switch box, or only with the older Tahoma boxes? I want to buy a new one to integrate pergola motor and Rain & Sun/Wind sensors with Domoticz zwave instance on RPi.
Thanks &, best regards.
- madpatrick
- Posts: 661
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Support for Somfy Connexoon and Tahoma
The plugin works with the Somfy API website and does not connect to the Tahoma of Connexoon box.
As long as your devices are visible on the Somfy site it should work
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 4
- Joined: Wednesday 08 June 2022 18:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
OK. As long as you write, it's independent of any hardware and all versions of Tahoma boxes will work whereas it connects and report devices to Somfy portal.madpatrick wrote: ↑Wednesday 08 June 2022 19:14 The plugin works with the Somfy API website and does not connect to the Tahoma of Connexoon box.
As long as your devices are visible on the Somfy site it should work
I have read that there is a new version/revision of the API on 21st June, and Somfy API is deprecated. The new Developer Mode is a local API attached to the device? Is independent to Somfy accounts in cloud?
Thx a lot.
-
- Posts: 4
- Joined: Wednesday 08 June 2022 18:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
One more...
for IO protocol... do you recommend the new Tahoma Switch Box or an old second-hand Tahoma Box?
Thx again and, best regards.
for IO protocol... do you recommend the new Tahoma Switch Box or an old second-hand Tahoma Box?
Thx again and, best regards.
- madpatrick
- Posts: 661
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Support for Somfy Connexoon and Tahoma
I don't know.
That is question you have to ask Somfy or the company who is installing your system
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 14
- Joined: Monday 15 March 2021 16:47
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
thank you for your support and time you put into this.
unfortunately this plugin is not working with the Tahoma Switch.
They are going to use a local APi for this.
https://github.com/Somfy-Developer/Somf ... loper-Mode
Do you have plans to update this plugin to work with the tahoma Switch ?
unfortunately this plugin is not working with the Tahoma Switch.
They are going to use a local APi for this.
https://github.com/Somfy-Developer/Somf ... loper-Mode
Do you have plans to update this plugin to work with the tahoma Switch ?
-
- Posts: 4
- Joined: Wednesday 08 June 2022 18:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma

I was planning to buy a new Tahoma Switch Box, but with this one…
Best regards,
-
- Posts: 14
- Joined: Monday 15 March 2021 16:47
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Yes, the plugin is not working for me with the switch.
the good news is that you now can work with a local api instead of the somfy web api.
i did see that home assistant has a working solution, https://www.home-assistant.io/integrations/somfy/
hope someone will port this to domoticz
Kind regards,
Patrick
the good news is that you now can work with a local api instead of the somfy web api.
i did see that home assistant has a working solution, https://www.home-assistant.io/integrations/somfy/
hope someone will port this to domoticz
Kind regards,
Patrick
-
- Posts: 210
- Joined: Thursday 12 October 2017 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Dev
- Location: the Netherlands
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Hi,
I've been maintaining the current plugin for some time without owning any Somfy device. That is doable for small upgrades (as some was requested by MadPatrick and JP further up this thread) but developing a new API from the ground is too much for me. So some other volunteer needed.
I've been maintaining the current plugin for some time without owning any Somfy device. That is doable for small upgrades (as some was requested by MadPatrick and JP further up this thread) but developing a new API from the ground is too much for me. So some other volunteer needed.
RPi 3, Domoticz dev version, Aeon ZWave stick (with a whole bunch of slaves), Zigbee using Zigbee2MQTT, Nest thermo, P1 smart meter on RPi Zero
- madpatrick
- Posts: 661
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Unfortunately, Somfy's Web API is very unstable and JanJaap has improved the plugin in such a way that the plugin does not stop and has to be restarted.
The local API is definitely much better because as mentioned the Web API is very unstable.
It would be nice if someone could make and/or possibly adapt the plugin for this, but I can understand that JanJaap cannot do this. It takes a lot of time and especially if you don't have Somfy devices it is difficult to work
The local API is definitely much better because as mentioned the Web API is very unstable.
It would be nice if someone could make and/or possibly adapt the plugin for this, but I can understand that JanJaap cannot do this. It takes a lot of time and especially if you don't have Somfy devices it is difficult to work
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Stumbled upon this topic after getting some new sunshades. Was under the full impression that it would be easy to connect this to domoticz to do some smarter automation.
Not the case yet. Local API sounds good though
Not the case yet. Local API sounds good though

-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
The blinds plugin seems to be working, but it is using the old legacy API.
I'm missing the light sensor for instance. Seems to be dependent on the (device["uiClass"] in the code.
Really hope that someone will take a crack at the local api.
edit: switched to the @madpatrick version, but i get an error:
And stil no light sensor
I'm missing the light sensor for instance. Seems to be dependent on the (device["uiClass"] in the code.
Really hope that someone will take a crack at the local api.
edit: switched to the @madpatrick version, but i get an error:
Code: Select all
2022-08-04 15:24:45.059 Error: Somfy Tahoma: 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'runCounter''.
2022-08-04 15:24:45.059 Error: Somfy Tahoma: Exception traceback:
2022-08-04 15:24:45.060 Error: Somfy Tahoma: ----> Line 285 in '/home/pi/domoticz/plugins/somfy/plugin.py', function onHeartbeat
2022-08-04 15:24:45.060 Error: Somfy Tahoma: ----> Line 176 in '/home/pi/domoticz/plugins/somfy/plugin.py', function onHeartbeat
-
- Posts: 210
- Joined: Thursday 12 October 2017 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Dev
- Location: the Netherlands
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Hey Mikey,
For concrete issues with the madpatrick version, you can submit a ticket with clear error description on the github, I'll see if I can fix it (for both the error as well as adding this light you mentioned). The description here is not enough (need to have more logging in debug mode and description of used versions etc).
For concrete issues with the madpatrick version, you can submit a ticket with clear error description on the github, I'll see if I can fix it (for both the error as well as adding this light you mentioned). The description here is not enough (need to have more logging in debug mode and description of used versions etc).
RPi 3, Domoticz dev version, Aeon ZWave stick (with a whole bunch of slaves), Zigbee using Zigbee2MQTT, Nest thermo, P1 smart meter on RPi Zero
- madpatrick
- Posts: 661
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Support for Somfy Connexoon and Tahoma
I think you will have to enable the creation of new devices in the domoticz settings. At least when setting up the plugin and when adding new devices to monitor. After that you can disable it.MikeyMan wrote: ↑Thursday 04 August 2022 15:13 edit: switched to the @madpatrick version, but i get an error:
Code: Select all
2022-08-04 15:24:45.059 Error: Somfy Tahoma: 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'runCounter''. 2022-08-04 15:24:45.059 Error: Somfy Tahoma: Exception traceback: 2022-08-04 15:24:45.060 Error: Somfy Tahoma: ----> Line 285 in '/home/pi/domoticz/plugins/somfy/plugin.py', function onHeartbeat 2022-08-04 15:24:45.060 Error: Somfy Tahoma: ----> Line 176 in '/home/pi/domoticz/plugins/somfy/plugin.py', function onHeartbeat
Can you please check this.
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
@madpatrick: i'll try that. Think the 'old' api only supports motors, not sensors?
Tried to start fiddling around with the developer mode API:
https://github.com/MikeyMan83/Somfy-Tah ... -Domoticz/
Hoping this will result in something
Tried to start fiddling around with the developer mode API:
https://github.com/MikeyMan83/Somfy-Tah ... -Domoticz/
Hoping this will result in something

-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Took a lot of fiddling around. But i've got the devices in a nice JSON response now.
Next up: adding devices. Trying to see if i can use the tahoma.py for that.
Code: Select all
{
"deviceURL": "io://2017-8871-5701/14384853",
"available": true,
"synced": true,
"type": 2,
"states": [
{
"type": 3,
"name": "core:StatusState",
"value": "available"
},
{
"type": 3,
"name": "core:DiscreteRSSILevelState",
"value": "normal"
},
{
"type": 1,
"name": "core:RSSILevelState",
"value": 50
},
{
"type": 1,
"name": "core:LuminanceState",
"value": 5193
}
],
"label": "Verlichtingssensor achterkant",
"subsystemId": 0,
"attributes": [
{
"type": 3,
"name": "core:Manufacturer",
"value": "Somfy"
},
{
"type": 3,
"name": "core:FirmwareRevision",
"value": "5126936A15"
}
],
"enabled": true,
"controllableName": "io:LightIOSystemSensor",
"definition": {
"states": [
{
"name": "core:StatusState"
},
{
"name": "core:DiscreteRSSILevelState"
},
{
"name": "core:RSSILevelState"
},
{
"name": "core:LuminanceState"
},
{
"name": "core:SensorDefectState"
}
],
"widgetName": "LuminanceSensor",
"attributes": [],
"uiClass": "LightSensor",
"commands": [
{
"nparams": 1,
"commandName": "advancedRefresh",
"paramsSig": "p1"
}
],
"type": "SENSOR"
}
},
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Did find out why the light sensor wasn't added btw.
The tahoma.py file has a line:
Added
and now it is added. However, since this code only seems to support switches, it is not working as projected.
There seem to be a lot of similarities between the old and new API. So that's probably a good thing.
The tahoma.py file has a line:
Code: Select all
if (((device["uiClass"] == "RollerShutter") or (device["uiClass"] == "ExteriorScreen") or (device["uiClass"] == "Screen") or (device["uiClass"] == "Awning") or (device["uiClass"] == "Pergola") or (device["uiClass"] == "GarageDoor") or (device["uiClass"] == "Window") or (device["uiClass"] == "VenetianBlind") or (device["uiClass"] == "ExteriorVenetianBlind")) and ((device["deviceURL"].startswith("io://")) or (device["deviceURL"].startswith("rts://")))):
self.filtered_devices.append(device)
Code: Select all
or (device["uiClass"] == "LightSensor")
There seem to be a lot of similarities between the old and new API. So that's probably a good thing.
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for Somfy Connexoon and Tahoma
@madpatrick @JanJaap any appetite from you guys to have a look into the local API before the online one stops?
- madpatrick
- Posts: 661
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Support for Somfy Connexoon and Tahoma
Hi MikeyMan,
I'm more then willing to help you, but do not have any program skills.
JanJaap did all the programming Python.
What do you mean with "before the online one stops" ?
Yesterday the Somfy server was down for a whole day and therefor the plugin didn't work.
This is a real problem because the Somfy server is not working from time to time.
So the local API is definetaly a way forward, but we need to have some support from a python programmer.
I know that JanJaap pretty busy at the moment
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
Who is online
Users browsing this forum: No registered users and 1 guest