TaHoma Binding does not work in OH 3.4.4 - Could not register events

Since some days my Tahoma binding has stopped working. As I have seen on GitHub I am not the only one: [somfytahoma] unable to register events after a week · Issue #14530 · openhab/openhab-addons · GitHub

Since there is no reaction so far I would like to check:

  • Who has the same error when using Tahoma binding? (“Could not register events”)
  • What can be done to analyze and solve the topic?

Thanks in advance!

Same happens to me. Tahoma Switch conecta throught wifi. Sounds strange, but the problem that I observe is that Tahoma Switch looses IP address from DHCP and can’t recoger from that state.

Do you have an idea how to solve it? I have restarted openHab and issue still occurs. In Devel-Mode the (local) IP is found an even a token is generated, but still error arises “Could not register events”)

Hi, unfortunately seems I encounter the same issue … shortly I could connect via cloud disabling dev mode. But then after a short while I get the same error message. Any hint would be appreciated :slight_smile:

Connected througout ethernet cable adapter and connection is stable last 2 weeks.

I suspect that Tahoma Switch looses IP from DHCP negotiation when WiFi connection is selected. Error from Somfy bridge in my opinion.

Hi Miercol, not sure I understand. I have the Tahoma Gateway and the Raspi with OH on my LAN connected… which Wifi connection selection you are referring to?

Tahoma Switch is a WiFi bridge by default. You connect the Tahoma Bridge to your router/DHCP server with a WiFi connection. There is an option to connect Tahoma with an ethernet adapter. Default Somfy configuration outside OpenHAB world.

I even have problema with Somfy Tahoma Switch not connected to OpenHAB. With ethernet adapter problems may would had dessapeared.

Funny.
I have deactivated the somfytahoma:bridge several days ago and re-activating it has not solved the topic. Repeating it today (always with cleared Gateway IP, PIN and local token) the bridge started working again. I can access all needed data.
Whatever happened magically in last days I am happy that it works again. Unfortunately without knowing what has caused the trouble…

the binding is not working at all i get this in the logs:

┌2025-01-24 11:35:31.120 [WARN ] [ty.util.ssl.SslContextFactory.config] - Trusting all certificates configured for Client@3bfed1e[provider=null,keyStore=null,trustStore=null]                                  ││2025-01-24 11:35:31.121 [WARN ] [ty.util.ssl.SslContextFactory.config] - No Client EndPointIdentificationAlgorithm configured for Client@3bfed1e[provider=null,keyStore=null,trustStore=null]                  
││2025-01-24 11:35:31.122 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Postponing login to avoid throttling                                                                                                  
│└2025-01-24 11:35:31.122 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Initialize done...                                                                                                                                          
│┌2025-01-24 11:35:41.122 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Getting Tahoma Updates...                                                                                                             
││2025-01-24 11:35:41.122 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - The access token expires soon, refreshing the cloud access token                                                                      ││2025-01-24 11:35:41.337 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - OAuth2 Access Token: blabla, expires: 2025-01-24T11:35││2025-01-24 11:35:41.337 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Sending POST to url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/blabla/fetch with ││2025-01-24 11:35:41.480 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Received unexpected status code: 400                                                                                                  
││2025-01-24 11:35:41.480 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Cannot call url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/blabla/fetch with para││java.util.concurrent.ExecutionException: Unknown http error 400 while attempting to send a message.                                                                                                            
││       at org.openhab.binding.somfytahoma.internal.handler.SomfyTahomaBridgeHandler.sendMethodToTahomaWithCookie(SomfyTahomaBridgeHandler.java:865) ~[?:?]                                                     
││       at org.openhab.binding.somfytahoma.internal.handler.SomfyTahomaBridgeHandler.sendPostToTahomaWithCookie(SomfyTahomaBridgeHandler.java:815) ~[?:?]                                                       
││       at org.openhab.binding.somfytahoma.internal.handler.SomfyTahomaBridgeHandler.invokeCallToURL(SomfyTahomaBridgeHandler.java:1206) ~[?:?]                                                                 
││       at org.openhab.binding.somfytahoma.internal.handler.SomfyTahomaBridgeHandler.getE
vents(SomfyTahomaBridgeHandler.java:468) ~[?:?]                                                                        ││       at org.openhab.binding.somfytahoma.internal.handler.SomfyTahomaBridgeHandler.getTahomaUpdates(SomfyTahomaBridgeHandler.java:604) ~[?:?]                                                               
 ││       at org.openhab.binding.somfytahoma.internal.handler.SomfyTahomaBridgeHandler.lambda$4(SomfyTahomaBridgeHandler.java:235) ~[?:?]                                                                         
││       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]                                                                                                                        
││       at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]                                                                                                                                       
││       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]                                                                                 
││       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]                                                                                                               
 ││       at java.util.concurrent.ThreadPoolExecutor$Work