Tahoma Binding compatible with OH2

Hi Ondrej you seem to have gathered mastership. Would it also possible to read the SunIO Light Sensors? I am using 3 of them. If you wanted to give it a try I can provide data needed if you point me where to find (I am not very experienced).

Of course - just PM me your getSetup response (trace level) and Iā€™ll do my best to include it in the binding :grinning:

Please excuse I am Newby. Can you guide me howto getSetup? Many thanx

Sure, see PM

Hi guys,

I just got my TaHoma Box today and installed all my Somfy io Rollershutters and Awnings. In addition I have roof windows with roller shutters from Velux that also follow the Somfy io-standard.

The roller shutters also work like a charm and the windows have been detected as unsupported device. Is there any change to get these also integrated into the binding?

Thanks for all the good work.

Hi, just PM me the information about the unsupported device from your log. There should be also information about commands which this device accepts. Iā€™ll add the support.
Thanks

Hi Ondrej,

many thanks for your swift reply. You binding already detected 3 additional unknown devices which I assume to be my three roof windows.

Here is the log:

09:23:12.800 [WARN ] [oma.handler.SomfyTahomaBridgeHandler] - Detected a new unsupported device: Window
09:23:12.801 [WARN ] [oma.handler.SomfyTahomaBridgeHandler] - Supported commands: { close (params: 0); delayedStopIdentify (params: 1); getName (params: 0); identify (params: 0); open (params: 0); setClosure (params: 1); setName (params: 1); startIdentify (params: 0); stopIdentify (params: 0); wink (params: 1); }
09:23:12.802 [WARN ] [oma.handler.SomfyTahomaBridgeHandler] - Detected a new unsupported device: Window
09:23:12.802 [WARN ] [oma.handler.SomfyTahomaBridgeHandler] - Supported commands: { close (params: 0); delayedStopIdentify (params: 1); getName (params: 0); identify (params: 0); open (params: 0); setClosure (params: 1); setName (params: 1); startIdentify (params: 0); stopIdentify (params: 0); wink (params: 1); }
09:23:12.804 [WARN ] [oma.handler.SomfyTahomaBridgeHandler] - Detected a new unsupported device: Window
09:23:12.804 [WARN ] [oma.handler.SomfyTahomaBridgeHandler] - Supported commands: { close (params: 0); delayedStopIdentify (params: 1); getName (params: 0); identify (params: 0); open (params: 0); setClosure (params: 1); setName (params: 1); startIdentify (params: 0); stopIdentify (params: 0); wink (params: 1);

I guess the commands for the windows could be similar to roller shutters. Is there anything I could look for in the log as information for you?

Thanks,
Thilo

Yes, this is sufficient. Iā€™ve prepared a new version which adds support for Windows. (including auto discovery)
Can you test is please?
https://www.dropbox.com/s/5qkcr33yb4h7ykb/org.openhab.binding.somfytahoma-2.2.0-SNAPSHOT.jar?dl=1

Thanks.
Ondrej

Wow, thatā€™s a fast turnaround. I am currently traveling and will be back home tomorrow evening. Will test it then and give feedback.

First of all, thanks for a great binding. I received my connexoon box yesterday and everything works like a charm.
I only miss one thing:

I got (some) of those fancy rollershutters with variable speed and the original connexoon app support a ā€œsilentā€ flag, if I move a shutter to a specific position. With the binding, I have no possibility to control the speed.
It would be great if that feature could be added to the binding.
I will also investigate a little bit on how that rest call should look like if you want to use ā€œsilent modeā€

I did a quick research on that topic and found some information in the FEHM project.
There is a second command called ā€œsetClosureAndLinearSpeedā€ that accepts 2 parameters:

  • position (similar to setClosure)
  • speed: a string value that represents the speed. ā€œlowspeedā€ (including the quotes) seems to activate the silent mode.

Hi,
thanks for the investigation. Iā€™ve added a new thing: Silent Roller Shutter, which has extra channel for silent/lowspeed position setting.
Could you please try this version?
https://www.dropbox.com/s/5qkcr33yb4h7ykb/org.openhab.binding.somfytahoma-2.2.0-SNAPSHOT.jar?dl=1

Of course you need to remove your rollershutters (at least one) so the new silent roller shutters could be discovered.
Thanks
Ondrej

Thanks for the quick reaction. Iā€™ll try the new version as soon as possible.

Does not work:

Seems like there is something wrong with your parameter formatā€¦

2017-10-04 19:47:06.498 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send apply command setClosureAndLinearSpeed with params !
java.io.IOException: Server returned HTTP response code: 400 for URL: https://www.tahomalink.com/enduser-mobile-web/externalAPI/json/apply
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)[:1.8.0_121]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)[:1.8.0_121]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)[:1.8.0_121]
at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.sendDataToTahomaWithCookie(SomfyTahomaBridgeHandler.java:555)[232:org.openhab.binding.somfytahoma:2.2.0.201710031837]
at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.sendCommandInternal(SomfyTahomaBridgeHandler.java:595)[232:org.openhab.binding.somfytahoma:2.2.0.201710031837]
at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.sendCommand(SomfyTahomaBridgeHandler.java:579)[232:org.openhab.binding.somfytahoma:2.2.0.201710031837]
at org.openhab.binding.somfytahoma.handler.SomfyTahomaSilentRollerShutterHandler.handleCommand(SomfyTahomaSilentRollerShutterHandler.java:94)[232:org.openhab.binding.somfytahoma:2.2.0.201710031837]
at org.eclipse.smarthome.core.thing.internal.ThingManager$4.call(ThingManager.java:372)[105:org.eclipse.smarthome.core.thing:0.9.0.b4]
at org.eclipse.smarthome.core.thing.internal.ThingManager$4.call(ThingManager.java:1)[105:org.eclipse.smarthome.core.thing:0.9.0.b4]
at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:179)[98:org.eclipse.smarthome.core:0.9.0.b4]
at java.util.concurrent.FutureTask.run(Unknown Source)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[:1.8.0_121]
at java.lang.Thread.run(Unknown Source)[:1.8.0_121]

ok, try to redownload it once more, the dimmer was not implementedā€¦hope it should be working now
https://www.dropbox.com/s/5qkcr33yb4h7ykb/org.openhab.binding.somfytahoma-2.2.0-SNAPSHOT.jar?dl=1
thanks.

still doesnā€™t work.

exception is still the same - shouldnā€™t there be some values between those brackets (command setClosureAndLinearSpeed with params []!) ??

Sorry, please disregard my last post - i must have messed something up while updating the files.
I did a clean setup and it works perfectly!!

Again, many thanks for your work and your quick replies.

Hi

The binding works for me but i have many errors in the log.

2017-10-05 19:03:10.938 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:03:11.024 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:03:40.275 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:03:40.355 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:03:40.966 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:03:41.087 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:04:10.337 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:04:10.412 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:04:11.014 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:04:11.108 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:04:40.270 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:04:40.348 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:04:40.931 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:04:41.044 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:05:10.239 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:05:10.304 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:05:10.965 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:05:11.060 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:05:40.347 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:05:40.410 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:05:41.161 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:05:41.263 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:06:10.259 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:06:10.356 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:06:10.934 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:06:11.019 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:06:40.262 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:06:40.332 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

2017-10-05 19:06:40.897 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2017-10-05 19:06:40.973 [hingStatusInfoChangedEvent] - 'somfytahoma:bridge:c02cb801' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)

Have anyone a solution?

Hi, do you have Tahoma or Connexoon bridge? I guess the problem is getting the Tahoma firmware version which occurs every 30 secondsā€¦

Hi, i have the TaHoma Box Premium io.
Following things i have installed:
tahome

Status offline online change every 30 seconds