Somfy tahoma update from 26 November

Hi folks,

Since the firmware update of the tahoma box from 26 November, the tilt values of all my blinds are invertet now. Instead of 100 I have to send 0 now.

Anyone else here with the same experiance?

Same issue, updated openhab and restarted Raspberry. Now ok again. I guess that Somfy binding must have been updated.

For me, after the Tahoma Box update, no position updates were reported to OH anymore. But OH was still able to control the blinds. After a restart the Somfy Tahoma Bridge Thing is stuck in “Status: OFFLINE - COMMUNICATION_ERROR Received invalid data”.

I did log:set TRACE org.openhab.binding.somfytahoma in the console to produce the following:

2019-12-07 21:14:56.758 [DEBUG] [oma.handler.SomfyTahomaBridgeHandler] - Getting Tahoma Updates...
2019-12-07 21:14:56.759 [DEBUG] [oma.handler.SomfyTahomaBridgeHandler] - Doing relogin
2019-12-07 21:14:56.851 [TRACE] [oma.handler.SomfyTahomaBridgeHandler] - Login response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Overkiz - Error</title>
</head>
<body>
        <h2>Bad request</h2>
<i>Sat Dec 07 21:14:56 CET 2019</i><br/>

</body>
</html>

2019-12-07 21:14:56.852 [DEBUG] [oma.handler.SomfyTahomaBridgeHandler] - Received invalid data
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:224) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:887) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:852) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:801) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:773) ~[?:?]
        at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.login(SomfyTahomaBridgeHandler.java:135) ~[?:?]
        at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.getTahomaUpdates(SomfyTahomaBridgeHandler.java:360) ~[?:?]
        at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.lambda$1(SomfyTahomaBridgeHandler.java:103) ~[?:?]
        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) [?:?]
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
        at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385) ~[?:?]
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213) ~[?:?]
        ... 14 more
2019-12-07 21:14:56.863 [TRACE] [oma.handler.SomfyTahomaBridgeHandler] - Sending POST to Tahoma to url: https://www.tahomalink.com/enduser-mobile-web/externalAPI/json/getEvents with data: 
2019-12-07 21:14:57.056 [TRACE] [oma.handler.SomfyTahomaBridgeHandler] - Login response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Overkiz - Error</title>
</head>
<body>
        <h2>Bad request</h2>
<i>Sat Dec 07 21:14:57 CET 2019</i><br/>

</body>
</html>

2019-12-07 21:14:57.057 [DEBUG] [oma.handler.SomfyTahomaBridgeHandler] - Received invalid data
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:224) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:887) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:852) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:801) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:773) ~[?:?]
        at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.login(SomfyTahomaBridgeHandler.java:135) ~[?:?]
        at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.getEvents(SomfyTahomaBridgeHandler.java:176) ~[?:?]
        at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.getTahomaUpdates(SomfyTahomaBridgeHandler.java:363) ~[?:?]
        at org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler.lambda$1(SomfyTahomaBridgeHandler.java:103) ~[?:?]
        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) [?:?]
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
        at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385) ~[?:?]
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213) ~[?:?]
        ... 15 more
2019-12-07 21:14:57.065 [DEBUG] [oma.handler.SomfyTahomaBridgeHandler] - Got total of 0 events

After logging in on https://www.tahomalink.com/, I get the same “Bad request” page on that URL (sending no request). Does the TRACE output really mean that the request is empty? It says “with data:”, but no data follows.

Hi Matthias,

no idea about the details of the error log. But since the update from 26th November, Somfy changed the API

The update solved my issues.

I’m on 2.4.0 with the new somfytahoma binding as posted in the other thread now. Thanks for the pointer. I don’t know why I didn’t find that thread.
Now it works again, except that the tilt values of all the venetian blinds are inverted…

Hello Guys, I have a Problem with the Tahoma Binding at OH 2.5. Since the recent changes to the API 2 at Tahoma, the MY Position at my Rollershutters isn’t working anymore. At the API V1 I allways used the command
sendCommand(Item, STOP) And that worked fine.
But at the new System with the new API and OH 2.5, the Command isnt`t working anymore.
Is there a different command to come to the MY Position?
Thanks for your help!

1 Like