Support for Somfy Connexoon and Tahoma

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

User avatar
madpatrick
Posts: 759
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
Location: Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by madpatrick »

I've pushed a new version with the temp refresh polling is in the setup page of the hardware and not in the config.txt anymore
For this i\ve sacrificed the flexibility of the logging path. This is now always the domoticz root folder

Please be aware that if you do an update you need to fill in this field with 2 number ; seperated and restart the plugin
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
Rik60
Posts: 144
Joined: Sunday 25 June 2023 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: The Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Rik60 »

Switched to 5.2.0. Remark: password is visible in settingsscreen, caused by a capital T in last "true".

Code: Select all

        <param field="Password" label="Password" width="200px" required="True" default="" password="True"/>
should be:

Code: Select all

        <param field="Password" label="Password" width="200px" required="True" default="" password="true"/>
User avatar
madpatrick
Posts: 759
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
Location: Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by madpatrick »

didn't know this was case sensative.
Changed it for all now.

Thanks for testing and the feedback
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
Jujutasvu
Posts: 7
Joined: Thursday 16 March 2023 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: fr
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Jujutasvu »

Hello, I can't no longer use the plugin since the domoticz update
Here the log.

Code: Select all

2026-02-03 17:45:47.022 Error: somfy: Call to function 'onStart' failed, exception details:
2026-02-03 17:45:47.119 Error: somfy: Traceback (most recent call last):
2026-02-03 17:45:47.119 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 198, in _new_conn
2026-02-03 17:45:47.119 Error: somfy: sock = connection.create_connection(
2026-02-03 17:45:47.120 Error: somfy: (self._dns_host, self.port),
2026-02-03 17:45:47.120 Error: somfy: ...<2 lines>...
2026-02-03 17:45:47.120 Error: somfy: socket_options=self.socket_options,
2026-02-03 17:45:47.120 Error: somfy: )
2026-02-03 17:45:47.120 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
2026-02-03 17:45:47.120 Error: somfy: for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
2026-02-03 17:45:47.120 Error: somfy: ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-03 17:45:47.121 Error: somfy: File "/usr/lib/python3.13/socket.py", line 977, in getaddrinfo
2026-02-03 17:45:47.121 Error: somfy: for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2026-02-03 17:45:47.121 Error: somfy: ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-03 17:45:47.121 Error: somfy: socket.gaierror: [Errno -2] Name or service not known
2026-02-03 17:45:47.121 Error: somfy:
2026-02-03 17:45:47.121 Error: somfy: The above exception was the direct cause of the following exception:
2026-02-03 17:45:47.122 Error: somfy:
2026-02-03 17:45:47.122 Error: somfy: Traceback (most recent call last):
2026-02-03 17:45:47.122 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 787, in urlopen
2026-02-03 17:45:47.122 Error: somfy: response = self._make_request(
2026-02-03 17:45:47.122 Error: somfy: conn,
2026-02-03 17:45:47.122 Error: somfy: ...<10 lines>...
2026-02-03 17:45:47.122 Error: somfy: **response_kw,
2026-02-03 17:45:47.123 Error: somfy: )
2026-02-03 17:45:47.123 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 488, in _make_request
2026-02-03 17:45:47.123 Error: somfy: raise new_e
2026-02-03 17:45:47.123 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 464, in _make_request
2026-02-03 17:45:47.123 Error: somfy: self._validate_conn(conn)
2026-02-03 17:45:47.123 Error: somfy: ~~~~~~~~~~~~~~~~~~~^^^^^^
2026-02-03 17:45:47.123 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1093, in _validate_conn
2026-02-03 17:45:47.124 Error: somfy: conn.connect()
2026-02-03 17:45:47.124 Error: somfy: ~~~~~~~~~~~~^^
2026-02-03 17:45:47.124 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 704, in connect
2026-02-03 17:45:47.124 Error: somfy: self.sock = sock = self._new_conn()
2026-02-03 17:45:47.124 Error: somfy: ~~~~~~~~~~~~~~^^
2026-02-03 17:45:47.124 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 205, in _new_conn
2026-02-03 17:45:47.124 Error: somfy: raise NameResolutionError(self.host, self, e) from e
2026-02-03 17:45:47.125 Error: somfy: urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7f6a6b8410>: Failed to resolve '0811-6250-3860.local' ([Errno -2] Name or service not known)
2026-02-03 17:45:47.125 Error: somfy:
2026-02-03 17:45:47.125 Error: somfy: The above exception was the direct cause of the following exception:
2026-02-03 17:45:47.125 Error: somfy:
2026-02-03 17:45:47.125 Error: somfy: Traceback (most recent call last):
2026-02-03 17:45:47.125 Error: somfy: File "/usr/lib/python3/dist-packages/requests/adapters.py", line 667, in send
2026-02-03 17:45:47.126 Error: somfy: resp = conn.urlopen(
2026-02-03 17:45:47.126 Error: somfy: method=request.method,
2026-02-03 17:45:47.126 Error: somfy: ...<9 lines>...
2026-02-03 17:45:47.126 Error: somfy: chunked=chunked,
2026-02-03 17:45:47.126 Error: somfy: )
2026-02-03 17:45:47.126 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in urlopen
2026-02-03 17:45:47.126 Error: somfy: retries = retries.increment(
2026-02-03 17:45:47.127 Error: somfy: method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
2026-02-03 17:45:47.127 Error: somfy: )
2026-02-03 17:45:47.127 Error: somfy: File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment
2026-02-03 17:45:47.127 Error: somfy: raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
2026-02-03 17:45:47.127 Error: somfy: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-03 17:45:47.127 Error: somfy: urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='0811-6250-3860.local', port=8443): Max retries exceeded with url: /enduser-mobile-web/1/enduserAPI/events/register (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f6a6b8410>: Failed to resolve '0811-6250-3860.local' ([Errno -2] Name or service not known)"))
2026-02-03 17:45:47.127 Error: somfy:
2026-02-03 17:45:47.128 Error: somfy: During handling of the above exception, another exception occurred:
2026-02-03 17:45:47.128 Error: somfy:
2026-02-03 17:45:47.128 Error: somfy: Traceback (most recent call last):
2026-02-03 17:45:47.128 Error: somfy: File "/home/julien/domoticz/plugins/somfy/plugin.py", line 764, in onStart
2026-02-03 17:45:47.128 Error: somfy: _plugin.onStart()
2026-02-03 17:45:47.128 Error: somfy: ~~~~~~~~~~~~~~~^^
2026-02-03 17:45:47.128 Error: somfy: File "/home/julien/domoticz/plugins/somfy/plugin.py", line 253, in onStart
2026-02-03 17:45:47.129 Error: somfy: self.setup_and_sync_devices(pin)
2026-02-03 17:45:47.129 Error: somfy: ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
2026-02-03 17:45:47.129 Error: somfy: File "/home/julien/domoticz/plugins/somfy/plugin.py", line 276, in setup_and_sync_devices
2026-02-03 17:45:47.129 Error: somfy: self.tahoma.register_listener()
2026-02-03 17:45:47.129 Error: somfy: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
2026-02-03 17:45:47.129 Error: somfy: File "/home/julien/domoticz/plugins/somfy/tahoma_local.py", line 252, in register_listener
2026-02-03 17:45:47.129 Error: somfy: response = self.listener.register_listener(self.base_url_local + "/events/register", headers=self.headers_with_token, verify=False)
2026-02-03 17:45:47.130 Error: somfy: File "/home/julien/domoticz/plugins/somfy/listener.py", line 42, in register_listener
2026-02-03 17:45:47.130 Error: somfy: response = requests.post(url, headers=headers, verify=verify, timeout=timeout)
2026-02-03 17:45:47.130 Error: somfy: File "/usr/lib/python3/dist-packages/requests/api.py", line 115, in post
2026-02-03 17:45:47.130 Error: somfy: return request("post", url, data=data, json=json, **kwargs)
2026-02-03 17:45:47.130 Error: somfy: File "/usr/lib/python3/dist-packages/requests/api.py", line 59, in request
2026-02-03 17:45:47.130 Error: somfy: return session.request(method=method, url=url, **kwargs)
2026-02-03 17:45:47.131 Error: somfy: ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-03 17:45:47.131 Error: somfy: File "/usr/lib/python3/dist-packages/requests/sessions.py", line 589, in request
2026-02-03 17:45:47.131 Error: somfy: resp = self.send(prep, **send_kwargs)
2026-02-03 17:45:47.131 Error: somfy: File "/usr/lib/python3/dist-packages/requests/sessions.py", line 703, in send
2026-02-03 17:45:47.131 Error: somfy: r = adapter.send(request, **kwargs)
2026-02-03 17:45:47.131 Error: somfy: File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send
2026-02-03 17:45:47.131 Error: somfy: raise ConnectionError(e, request=request)
2026-02-03 17:45:47.131 Error: somfy: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='0811-6250-3860.local', port=8443): Max retries exceeded with url: /enduser-mobile-web/1/enduserAPI/events/register (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f6a6b8410>: Failed to resolve '0811-6250-3860.local' ([Errno -2] Name or service not known)"))
Thank you for the support
User avatar
madpatrick
Posts: 759
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
Location: Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by madpatrick »

Looks like the Somfy box can not be found
Check your DNS settings, IP and PIN number is correct
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
Jujutasvu
Posts: 7
Joined: Thursday 16 March 2023 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: fr
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Jujutasvu »

Everything seems correct in the etc/host and the DNS server
Jujutasvu
Posts: 7
Joined: Thursday 16 March 2023 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: fr
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Jujutasvu »

Jujutasvu wrote: Tuesday 03 February 2026 21:28 Everything seems correct in the etc/host and the DNS server
My Bad the host wasn't good !! :oops:
Jujutasvu
Posts: 7
Joined: Thursday 16 March 2023 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: fr
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Jujutasvu »

Sorry but i now have this issue

Code: Select all

2026-02-04 21:42:34.474 Error: somfy: Connection error: failed request during get devices, check credentials: 401
I check my credentials and it's good but i can't log to tahoma.
Jujutasvu
Posts: 7
Joined: Thursday 16 March 2023 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: fr
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Jujutasvu »

Hi there, I use a Conexoon box and for information i had to execute the plugin with the WEB connection therefore i had to change this in the tahoma.py

Code: Select all

class Tahoma:
    """class to interface with tahoma web API"""
    def __init__(self):
        self.srvaddr = "ha101-1.overkiz.com"
        self.base_url = "https://ha101-1.overkiz.com:443"
        self.login_url = "/enduser-mobile-web/enduserAPI/login"
Have nice day
User avatar
madpatrick
Posts: 759
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
Location: Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by madpatrick »

Did you send the setting to local in the plugin?

Because it should use tahoma_local.py and tahoma.py
In tahoma_local.py you will find the "base_url_web = "https://ha101-1.overkiz.com"

2026-02-05 16_49_15-OpenVPN Connect.png
2026-02-05 16_49_15-OpenVPN Connect.png (2.9 KiB) Viewed 45 times
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
Jujutasvu
Posts: 7
Joined: Thursday 16 March 2023 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: fr
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Jujutasvu »

Indeed the base Url is find by the tahoma_local.py but i still got this message.

Code: Select all

2026-02-05 16:57:55.453 Error: somfy: Connection error: failed request during get devices, check credentials: 401
whereas i put web it works.
User avatar
madpatrick
Posts: 759
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.2
Location: Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by madpatrick »

I can not reproduced it.
Can you maybe try the update
I've added an extra log line to see which file it will load

Code: Select all

2026-02-05 19:32:08.516 Somfy: TaHoma LOCAL client loaded
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest