Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

somfy tahoma #18172

Open
stamateviorel opened this issue Jan 24, 2025 · 3 comments
Open

somfy tahoma #18172

stamateviorel opened this issue Jan 24, 2025 · 3 comments
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@stamateviorel
Copy link

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
@stamateviorel stamateviorel added the bug An unexpected problem or unintended behavior of an add-on label Jan 24, 2025
@hakan42
Copy link
Contributor

hakan42 commented Jan 24, 2025

same here, using dockerized openHAB 4.3.2 with a clean install (just installed the somfytahoma and astro bindings).

Increasing the number of threads, which used to help with openHAB 3.x, did not help either.

2025-01-24 18:37:11.917 [DEBUG] [nal.handler.SomfyTahomaBridgeHandler] - Cannot get login cookie java.util.concurrent.ExecutionException: at org.openhab.binding.somfytahoma.internal.handler.SomfyTahomaBridgeHandler.loginTahoma(SomfyTahomaBridgeHandler.java:976) ~[?:?] at org.openhab.binding.somfytahoma.internal.handler.SomfyTahomaBridgeHandler.login(SomfyTahomaBridgeHandler.java:276) ~[?:?] at org.openhab.binding.somfytahoma.internal.handler.SomfyTahomaBridgeHandler.lambda$1(SomfyTahomaBridgeHandler.java:192) ~[?:?] 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$Worker.run(ThreadPoolExecutor.java:635) [?:?]

@hakan42
Copy link
Contributor

hakan42 commented Jan 24, 2025

After setting correct email address and password, and restarting openHAB, things seem to work. Is this really necessary even if one uses developer mode on the controller ?

@stamateviorel
Copy link
Author

i found this post of someone that has went deeper into it Somfy-Developer/Somfy-TaHoma-Developer-Mode#149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

2 participants