Openhab 2.5.0
openhab> bundle:list |grep Somfy
289 ā Active ā 80 ā 2.5.0 ā openHAB Add-ons :: Bundles :: SomfyTahoma Binding
Somfy connexoon
Current firmware version: 2019.5.4
Hi all,
I hope people can advise me or point me in the right direction to further investigate my issue.
As I am making my way through Openhab and the Tahoma binding.
The issue started after Somfy updated their app to the new API.
The timers within the app were used, and only when manual intervention was needed I use the Tahoma binding.
Now both timers within the app, and Openhab are struggling with the following what ends up in random functionality.
Binding/shutter are offline.
==========
Too many requests error, suspending activity for 120 seconds
==========**
==========
2019-12-23 08:50:10.669 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Cannot get login cookie!
java.util.concurrent.TimeoutException: Total timeout 5000 ms elapsed
** at org.eclipse.jetty.client.HttpDestination$TimeoutTask.onTimeoutExpired(HttpDestination.java:529) ~[?:?]**
** at org.eclipse.jetty.io.CyclicTimeout$Wakeup.run(CyclicTimeout.java:282) ~[?:?]**
** at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_212]**
** at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]**
** at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_212]**
** at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_212]**
** at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]**
** at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]**
** at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212] **
==========
As people were speaking about too many requests, the ārefreshā and āstatus time outā was brought back to 300.
As well as the debug logs, as network dump showing in my opinion that I connect every 5 min and still getting the above errors.
Any help from the audience is welcome.
Kind regards.
Aldo
**2019-12-23 09:20:22.371 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Refreshing Tahoma states...**
2019-12-23 09:20:22.372 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:20:22.408 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Getting Tahoma Updates...
2019-12-23 09:20:22.409 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:20:23.187 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Login response: {"success":true,"roles":[{"name":"ENDUSER"}]}
2019-12-23 09:20:23.189 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - SomfyTahoma version:
2019-12-23 09:20:23.190 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending POST to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/register with data:
2019-12-23 09:20:23.233 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {"id":"31dxxxxx-d9b6-xxxx-1304-85907c3xxxxx"}
2019-12-23 09:20:23.235 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Events id: 31dxxxxx-d9b6-xxxx-1304-85907c3xxxxx
2019-12-23 09:20:23.244 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending GET to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/gateways/xxxx-7588-xxxx
2019-12-23 09:20:23.285 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {"partners":[{"activated":true,"status":"OWNER","name":"Somfy Netherlands","id":"somfy-nl"}],"functions":"INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS","gatewayId":"xxxx-7588-xxxx","subType":3,"alive":true,"mode":"ACTIVE","placeOID":"xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxx","upToDate":true,"updateStatus":"UP_TO_DATE","syncInProgress":false,"timeReliable":true,"connectivity":{"status":"OK","protocolVersion":"2019.5.4"},"type":34}
2019-12-23 09:20:23.287 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Tahoma status: OK
2019-12-23 09:20:23.288 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Tahoma protocol version: 2019.5.4
2019-12-23 09:20:23.289 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending PUT to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/devices/states/refresh
2019-12-23 09:20:23.330 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Too many requests error, suspending activity for 120 seconds
2019-12-23 09:20:23.419 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {}
2019-12-23 09:25:23.331 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Getting Tahoma Updates...
2019-12-23 09:25:23.331 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:25:23.420 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Refreshing Tahoma states...
2019-12-23 09:25:23.422 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:25:24.083 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Login response: {"success":true,"roles":[{"name":"ENDUSER"}]}
2019-12-23 09:25:24.084 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - SomfyTahoma version:
2019-12-23 09:25:24.086 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending POST to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/register with data:
2019-12-23 09:25:24.137 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {"id":"xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxx"}
2019-12-23 09:25:24.139 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Events id: xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxx
2019-12-23 09:25:24.144 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending GET to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/gateways/xxxx-7588-xxxx
2019-12-23 09:25:24.186 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {"partners":[{"activated":true,"status":"OWNER","name":"Somfy Netherlands","id":"somfy-nl"}],"functions":"INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS","gatewayId":"xxxx-7588-xxxx","subType":3,"alive":true,"mode":"ACTIVE","placeOID":"xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxx","upToDate":true,"updateStatus":"UP_TO_DATE","syncInProgress":false,"timeReliable":true,"connectivity":{"status":"OK","protocolVersion":"2019.5.4"},"type":34}
2019-12-23 09:25:24.188 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Tahoma status: OK
2019-12-23 09:25:24.189 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Tahoma protocol version: 2019.5.4
2019-12-23 09:25:24.191 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending POST to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxx/fetch with data:
2019-12-23 09:25:24.234 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Too many requests error, suspending activity for 120 seconds
2019-12-23 09:25:24.271 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: []
2019-12-23 09:25:24.273 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Got total of 0 events
2019-12-23 09:30:24.235 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Refreshing Tahoma states...
2019-12-23 09:30:24.237 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:30:24.274 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Getting Tahoma Updates...
2019-12-23 09:30:24.276 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:30:25.030 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Login response: {"success":true,"roles":[{"name":"ENDUSER"}]}
2019-12-23 09:30:25.032 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - SomfyTahoma version:
2019-12-23 09:30:25.033 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending POST to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/register with data:
2019-12-23 09:30:25.076 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {"id":"xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxxxxxxx"}
2019-12-23 09:30:25.078 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Events id: xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxxxxxxx
2019-12-23 09:30:25.085 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending GET to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/gateways/xxxx-7588-xxxx
2019-12-23 09:30:25.125 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {"partners":[{"activated":true,"status":"OWNER","name":"Somfy Netherlands","id":"somfy-nl"}],"functions":"INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS","gatewayId":"xxxx-7588-xxxx","subType":3,"alive":true,"mode":"ACTIVE","placeOID":"xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxx","upToDate":true,"updateStatus":"UP_TO_DATE","syncInProgress":false,"timeReliable":true,"connectivity":{"status":"OK","protocolVersion":"2019.5.4"},"type":34}
2019-12-23 09:30:25.127 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Tahoma status: OK
2019-12-23 09:30:25.128 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Tahoma protocol version: 2019.5.4
2019-12-23 09:30:25.130 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending PUT to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/devices/states/refresh
2019-12-23 09:30:25.171 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Too many requests error, suspending activity for 120 seconds
2019-12-23 09:30:25.267 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {}
2019-12-23 09:35:25.173 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Getting Tahoma Updates...
2019-12-23 09:35:25.175 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:35:25.269 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Refreshing Tahoma states...
2019-12-23 09:35:25.270 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:35:25.389 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Too many requests error, suspending activity for 120 seconds
2019-12-23 09:35:25.390 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Skipping login due to too many requests
2019-12-23 09:40:25.391 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Getting Tahoma Updates...
2019-12-23 09:40:25.392 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Refreshing Tahoma states...
2019-12-23 09:40:25.392 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:40:25.392 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-23 09:40:26.382 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Login response: {"success":true,"roles":[{"name":"ENDUSER"}]}
2019-12-23 09:40:26.384 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - SomfyTahoma version:
2019-12-23 09:40:26.385 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending POST to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/register with data:
2019-12-23 09:40:26.429 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {"id":"xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx"}
2019-12-23 09:40:26.431 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Events id: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
2019-12-23 09:40:26.437 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending GET to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/gateways/xxxx-7588-xxxx
2019-12-23 09:40:26.479 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: {"partners":[{"activated":true,"status":"OWNER","name":"Somfy Netherlands","id":"somfy-nl"}],"functions":"INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS","gatewayId":"xxxx-7588-xxxx","subType":3,"alive":true,"mode":"ACTIVE","placeOID":"xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxx","upToDate":true,"updateStatus":"UP_TO_DATE","syncInProgress":false,"timeReliable":true,"connectivity":{"status":"OK","protocolVersion":"2019.5.4"},"type":34}
2019-12-23 09:40:26.480 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Tahoma status: OK
2019-12-23 09:40:26.480 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Tahoma protocol version: 2019.5.4
2019-12-23 09:40:26.483 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Sending POST to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx/fetch with data:
2019-12-23 09:40:26.522 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Too many requests error, suspending activity for 120 seconds
2019-12-23 09:40:26.609 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Response: []
2019-12-23 09:40:26.609 [TRACE] [nal.handler.SomfyTahomaBridgeHandler] - Got total of 0 events