Open Schwebebahn opened 6 months ago
I have the same issue. @llavorel-somfy, @vhenriet-sfy what details can we provide that can help debug this?
For me, it hasn't stopped working (yet), but I did notice that after a while the response time gets longer and longer. After rebooting the TaHoma Switch, reponse times are lower again. I think this was introduced with version 2024.1.4-11 , because I have not noticed it before.
Hi @iMicknl
Would you be able to share with us you Serial Number ?
Are you able to detect at which date and time the disconnection occured ?
Same here, was working fine, i had to move the box so i unplugged and since then impossible to add to homekit or home assistant or use the local api. the only thing that works is the cloud api.
You can have my serial number if it helps, but not here in public :) Based on my monitoring, it started working on 29.05. 22:20 and stopped 30.05. 08:55. (UTC/GMT +2)
Could is always working, only the local access by Home Kit and Home Assistant and PING is not working.
@Schwebebahn Can you email it at ?
done
fyi: our internet was down the last 2 days, so the box was not online.
I have the same issue, tried to do various changes in the unifi config like disable security etc that could interfere but to no help. connection goes on and off every few minutes in the HA log. using xx.local adress and unable to connect via ip.
We've seen this happen on two of our units now, local api refuses to connect until the Switch is power cycled
For me the same. This was today in the domoticz log:
2024-06-19 03:17:31.201 Error: Somfy: Failed to request data: HTTPSConnectionPool(host='xxxxxxxx.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"])
@eekhoorn if you see the same in your Domoticz logs, it might be a hub problem... Do you run Domoticz and HA on the same machine?
I've had this happen on a few units now, they refuse connections on port 8443 until rebooted, @llavorel-somfy is there any update on this?
Same is happening to me for a few months now.
Even when I try to negociate a token using Postman, I get a Error: connect ECONNREFUSED 217.182.125.204:80
on the ha101-1.overkiz.com/enduser-mobile-web/enduserAPI/login
endpoint (from Europe/France)
@bellef I don't believe that's the same problem we're seeing as it's local comms to the tahoma on port 8443 that stops working for us.
For your token issue you will need to make sure you are using https on the cloud API (would be on port 443 not 80)
We've just had another unit do this. The only way to get the local API back up and running again was to power down the device for ~5 minutes and power it up again. If you did a fast power cycle it would still not connect.
Just to re-iterate we have no issues with access tokens, the unit refuses any connection on port 8443.
After some time, the Tahoma Switch Box is unavailable in my local network. Unavailable in my Home Assistant (Overkiz / Local API) and also in Apple Homekit. Can't ping and did not get an answer when asking for the version by curl, but still works with the cloud app. When I reboot the device, it works for some time. My WiFi is from UniFi, when I force the switch to connect to an other access point, it is also working for some time. So, could it be: a) That the switch is blocking access from local network? b) That UniFi is related to the problem?
The IP of the switch is static and all devices are in the same subnet.