[SOLVED] Somfy Tahoma Binding can not find shutters, garage door or gate

  • Platform information:
    • Hardware: Fujitsu Esprimo Q958 Intel i5, 16Gb
    • OS: Ubuntu 18.04
    • Java Runtime Environment: Zulu 8
    • openHAB version: 2.5.0.M1 (Build)
  • Issue of the topic: I have a functioning installation of the Somfy Tahoma box that works fine with both the Somfy Android App and Google assistant. After installing the Somfy Tahoma Binding I’m expecting to see 7 Somfy window shutters, 1 somfy garage door and 1 somfy gate. Instead I only see:

image

I have reset the whole installation, with no other bindings installed. The logs:

openhab:

2019-06-01 12:45:03.272 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.86.87:8080
2019-06-01 12:45:03.275 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.86.87:8443
2019-06-01 12:45:03.328 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : doFindMethod: Suitable but non-accessible method found in class org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl
2019-06-01 12:45:03.328 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : findMethod: Suitable but non-accessible method setScheduler found in class org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl, subclass of org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl
2019-06-01 12:45:03.329 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : bind method [setScheduler] not found; Component will fail
2019-06-01 12:45:03.329 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : bind method [setScheduler] not found
2019-06-01 12:45:03.330 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : doFindMethod: Suitable but non-accessible method found in class org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl
2019-06-01 12:45:03.330 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : findMethod: Suitable but non-accessible method unsetScheduler found in class org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl, subclass of org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl
2019-06-01 12:45:03.330 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : unbind method [unsetScheduler] not found; Component will fail
2019-06-01 12:45:03.331 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : unbind method [unsetScheduler] not found
2019-06-01 12:45:03.722 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-06-01 12:46:02.090 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2019-06-01 12:46:02.103 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2019-06-01 12:46:02.160 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2019-06-01 12:48:39.392 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'somfytahoma:internalalarm:92a5fd2f:e8e2c400-c1ec-48ea-bbd1-9e5916ca1fcf' to inbox.
2019-06-01 12:48:39.394 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'somfytahoma:pod:92a5fd2f:3d10e3eb-0029-4430-a323-3dfa5d4c1d8d' to inbox.
2019-06-01 12:48:39.394 [INFO ] [very.SomfyTahomaItemDiscoveryService] - Detected a new unsupported device: Gate
2019-06-01 12:48:39.394 [INFO ] [very.SomfyTahomaItemDiscoveryService] - If you want to add the support, please create a new issue and attach the information below
2019-06-01 12:48:39.395 [INFO ] [very.SomfyTahomaItemDiscoveryService] - Supported commands: { close (params: 0); down (params: 0); identify (params: 0); open (params: 0); rest (params: 0); stop (params: 0); test (params: 0); up (params: 0); }
2019-06-01 12:48:39.395 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.NullPointerException: null
	at org.openhab.binding.somfytahoma.internal.discovery.SomfyTahomaItemDiscoveryService.discoverDevice(SomfyTahomaItemDiscoveryService.java:232) ~[?:?]
	at org.openhab.binding.somfytahoma.internal.discovery.SomfyTahomaItemDiscoveryService.runDiscovery(SomfyTahomaItemDiscoveryService.java:126) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

Events:

2019-06-01 12:45:04.348 [thome.event.ExtensionEvent] - Extension 'package-standard' has been installed.
2019-06-01 12:46:02.164 [thome.event.ExtensionEvent] - Extension 'ui-homebuilder' has been installed.
2019-06-01 12:46:02.165 [thome.event.ExtensionEvent] - Extension 'ui-basic' has been installed.
2019-06-01 12:46:02.165 [thome.event.ExtensionEvent] - Extension 'ui-habpanel' has been installed.
2019-06-01 12:46:02.165 [thome.event.ExtensionEvent] - Extension 'ui-paper' has been installed.
2019-06-01 12:46:51.378 [thome.event.ExtensionEvent] - Extension 'binding-somfytahoma' has been installed.
2019-06-01 12:48:29.243 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:92a5fd2f' changed from UNINITIALIZED to INITIALIZING
2019-06-01 12:48:29.559 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:92a5fd2f' changed from INITIALIZING to ONLINE
2019-06-01 12:48:39.393 [home.event.InboxAddedEvent] - Discovery Result with UID 'somfytahoma:internalalarm:92a5fd2f:e8e2c400-c1ec-48ea-bbd1-9e5916ca1fcf' has been added.
2019-06-01 12:48:39.394 [home.event.InboxAddedEvent] - Discovery Result with UID 'somfytahoma:pod:92a5fd2f:3d10e3eb-0029-4430-a323-3dfa5d4c1d8d' has been added.

I tried to downgrade to 2.4.0. Log now shows:

2019-06-01 14:33:53.363 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2019-06-01 14:33:53.383 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2019-06-01 14:33:54.999 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-06-01 14:33:55.326 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.86.87:8080
2019-06-01 14:33:55.327 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.86.87:8443
2019-06-01 14:33:55.387 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2019-06-01 14:40:01.329 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'somfytahoma:internalalarm:61da8e7a:e8e2c400-c1ec-48ea-bbd1-9e5916ca1fcf' to inbox.
2019-06-01 14:40:01.332 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'somfytahoma:pod:61da8e7a:3d10e3eb-0029-4430-a323-3dfa5d4c1d8d' to inbox.
2019-06-01 14:40:01.332 [INFO ] [very.SomfyTahomaItemDiscoveryService] - Detected a new unsupported device: Gate
2019-06-01 14:40:01.333 [INFO ] [very.SomfyTahomaItemDiscoveryService] - If you want to add the support, please create a new issue and attach the information below
2019-06-01 14:40:01.333 [INFO ] [very.SomfyTahomaItemDiscoveryService] - Supported commands: { close (params: 0); down (params: 0); identify (params: 0); open (params: 0); rest (params: 0); stop (params: 0); test (params: 0); up (params: 0); }
2019-06-01 14:40:01.333 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.NullPointerException: null
	at org.openhab.binding.somfytahoma.internal.discovery.SomfyTahomaItemDiscoveryService.discoverDevice(SomfyTahomaItemDiscoveryService.java:232) ~[?:?]
	at org.openhab.binding.somfytahoma.internal.discovery.SomfyTahomaItemDiscoveryService.runDiscovery(SomfyTahomaItemDiscoveryService.java:126) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

Since the message refers to the gate, i*m supposing it’s not the gate causing the error. There’s also a garage-door defined on the box. Maybe that’s what’s causing the problem? If I get no proposed solution to my problem I suppose I’ll have to try to remove the gate and the garage-door from the Tahoma-box.

Hi Morten, can you try the lastest binding version from:
https://www.dropbox.com/s/milfiftoww77p1e/org.openhab.binding.somfytahoma-2.5.0-SNAPSHOT.jar?dl=1
just disable the bundled version of somfy tahoma and copy this jar to your addons directory in openhab installation.

thanks.
O.

Hi Morten,

there’s recently been some action going on Somfy io devices:

Perhaps it’s of some help for your case, if you want to drop the Tahoma box (for me it was a privacy concern to have all in their cloud).

Hello Ondrej. Thanks a lot for the help. That solved the problem. After writing my post I removed the gate from the Tahoma box, and was then able to get the shutters and the garage-door to work. After I now saw your answer to my post I added the gate again to the Tahoma, and can now operate it from Openhab.

Tanks also to Stephan Haupt for good solution on how to update the binding

Hello, I’d like to thank both of you. I met the same issue, and you saved me!
Kind regards