MadPatrick / somfy

Tahoma/Conexoon plugin for IO blinds, this plugin require internet connexion and a Somfy account
GNU General Public License v3.0
14 stars 3 forks source link

Somfy Tahoma/Connexoon plugin version: 4.2.16 error #58

Open eekhoorn opened 2 weeks ago

eekhoorn commented 2 weeks ago

Plugin not working using domoticz 2024.4: This error in the log: 2024-06-19 03:17:31.201 Error: Somfy: Failed to request data: HTTPSConnectionPool(host='xxxxxxxxx.local', port=8443): Max retries exceeded with url: /enduser-mobile-web/1/enduserAPI/setup/devices (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x5dcf8058>: Failed to establish a new connection: [Errno 111] Connection refused')) 2024-06-19 03:17:51.039 Error: Somfy: Call to function 'onHeartbeat' failed, exception details: 2024-06-19 03:17:51.054 Error: Somfy: Traceback (most recent call last): 2024-06-19 03:17:51.054 Error: Somfy: File "/home/pi/domoticz/plugins/somfy/plugin.py", line 612, in onHeartbeat 2024-06-19 03:17:51.054 Error: Somfy: _plugin.onHeartbeat() 2024-06-19 03:17:51.054 Error: Somfy: File "/home/pi/domoticz/plugins/somfy/plugin.py", line 308, in onHeartbeat 2024-06-19 03:17:51.054 Error: Somfy: filtered_devices = self.tahoma.get_devices() 2024-06-19 03:17:51.054 Error: Somfy: File "/home/pi/domoticz/plugins/somfy/tahoma_local.py", line 189, in get_devices 2024-06-19 03:17:51.054 Error: Somfy: filtered_list = utils.filter_devices(response.json()) 2024-06-19 03:17:51.054 Error: Somfy: File "/home/pi/domoticz/plugins/somfy/utils.py", line 17, in filter_devices 2024-06-19 03:17:51.054 Error: Somfy: logging.debug("filter_devices: Device name: "+device["label"]+" Device class: "+device["definition"]["uiClass"]) 2024-06-19 03:17:51.054 Error: Somfy: KeyError: 'definition'

MadPatrick commented 2 weeks ago

Do you have this on in domoticz 2024.4 or also in previous version? Is this error just appearing once on contantly ? If it is once and the devices are operating it is just a connection failure at Somfy They popup once and a while.