Tahoma Binding compatible with OH2

All is fonctional, thank you very much.
What about drawn ? and how flag drawn ? sorry for this basic questions

if you want some missing channels, I can add them.
In this case the required data/status must be exposed by Tahoma cloud - you can see it in TaHome app or web portal, and I need you to PM me the debug log of the discovery phase.

thanks.
Ondrej

For the moment, i have all what i need.

Thanks

Hi,
the ā€œMOVEā€ Command isnā€™t working :frowning:
In My Sitemap is another Problem with the New Version.
So Far, i used in my Sitemap the Line:

Switch item=Rolladen_Luis_Ostseite label=ā€œLuis Ostseiteā€
Switch item=Rolladen_Luis_Suedseite label=ā€œLuis SĆ¼dseiteā€

to get the three Buttons of my Rollershutter; UP, DOWN, STOP (When the Rollershutter stands still, the Stop butten is the MY-Button.
But since I use the new Version of the Addon I have a normal Switch :wink:

In My Paper UI, I have the three buttons to Controll the Rollershutter.
grafik

Thanks for your work!

Hi,
Recently Iā€™m having some issues with bad connection of one of my IO devices. It indeed shows low RSSI. Is there a way to assign the RSSI value to an item (using text files) such that I can log the RSSI?
Thanks!

Hi, here is the latest snapshot with RSSI channel by all thing that provide the RSSI value.
https://www.dropbox.com/s/ngva1z5ovfhir3p/org.openhab.binding.somfytahoma-2.5.2-SNAPSHOT.jar?dl=1

thanks for testing
Ondrej

1 Like

You are fast! Tried it and it works. Thanks!

Hello all, i want buy a two awning for our terasse. I want use Somfy Io motors. Now my question. I want the cheapest solution for integrate the io Motors in Openhab. Can I only use the Somfy Connexxon-io and then i can control the awnings or must i buy the big Somfy Tahoma Gateway. What is the differnce. I donĀ“t want use the system directly i only want have a good Gateway to Openhab.

Thanks a lot

https://shop.somfy.de/connexoon-io-steuerung.html

Hi,
both gateways allow you to control the awnings.
The Tahoma Premium offers other protocols integration (zwave, enocean, RTD) comparing to Connexoon, maybe there are other differenciesā€¦

I personally use Tahoma, so any comments from Connexoon users are welcomed :slight_smile:
Regards,
Ondrej

I am using the Connexoon Gateway with 8 awnings. Works great.
However, if I could choose again I would not take Somfy controls again, as all communication is via cloud services (you need internet connection to Somfy just to move your awnings). A simple Z-Wave or Shelly device could do the same job locally. But I understood this too lateā€¦

Iā€™m also using a Connexoon bridge and have 9 RTS blinds with another 6 on the way. All works really well as long as the Somfy servers are up. I just had an outage this morning which was of the longest Iā€™ve experianced to date. To be fair it does not happen often but when it does itā€™s really inconvenient

It might be fate but a few weeks ago I was looking into ways to remove the cloud altogether as I know at some point it will all go bad. I will also sell my house at some point in the future so really need the system to work flawlessly, of course I could just get some more remotes but thatā€™s not fun.

Iā€™ve found the following Z-Wave units and until this morning I was not going to invest any money or time into it, which might just change now.

I donā€™t know about the compatibility of the Somfy unit with OpenHAB as I cannot find anyone who has attempted to use it. I do know there is a RFXCOM OpenHAB binding and has been used with varying success, mostly good.

I know this does not actually help with your issue for the io protocol (also adding incase others are unaware) but I would think something does or will exist to be cloud free. One option already available is a remote hack, not pretty but the concept works.

Hello everybody!

Let me introduce myself quickly. My name is Florian, I live in munich and Iā€™m a happy owner of an old house since half a year. In December I installed 5 IO engines of somfy, bought a Connexoon installed openhab and it worked immediately. Very convenient.
My setup is, openhabian on a Rasperry Pi 4. The binding version is binding-somfytahoma 2.5.1.

Unfortunately some days ago (I think 7 - 10 days) it stopped working.

The paper UI told me there is an authentication challenge within the bridge. (identical within the log)
somfytahoma.bridge:xxxxxx changed from initialized to offline (communication_error): authentication challenge

I tried a lot since then, for example:

  • removing of binding, things, and items
  • Clearing of openhab Cache
  • Several reboots and restarts
  • changing login password and email address

First I thought somfy changed something but it looks like Iā€™m alone with my topic as nobody else posted something in this direction.

Any idea what I can tryā€¦ or betterā€¦ any solution =)

One more information:
Tahomalink.com doesnā€™t work and the hotline told me this is for tahoma users, only. (is this true?)

Best regards,
Florian

Now I tried a new clean openhabian installation but still get the same error.

Anybody else out there with a connection issue of the tahoma bridge binding?
No idea what I can try further.

Looks like issue is solved as it is working again.
Not completely sure about the reason.

My bet: The 60 minutes deacitivation of somfy account after 4 failed tries.

As OH donā€™t give me this information I was trying and trying without any chance to get connection.
Most likely I changed too much during testing with passwords and emails and therefore got into deacitivation again when I tried it at a later point in time.

Hi,

first off I would like to thank you @Ondrej_Pecta for your incredible work on the Somfy binding.
I may have run into a problem with it though.

We recently built a house, which features four floors and has thick walls containing some metal pieces. This makes it very hard for any waves to get through them.

We got some Somfy rollershutters (io), a Velux window (io), an awning (RTS) and most recently a lot of Slim io contact sensors. Unfortunately our Tahoma box on the ground floor only covers the basement, ground floor and some of the parts of the first floor.

Therefor today I bought and installed another box, a Connexoon io, as there is no point in getting another Tahoma as all the devices on the upper floors are io only.

I added another bridge to my somfy.things file and all the sensors. At first it looked like everything was working fine, but then suddenly I started seeing errors in the log regarding first the Tahoma then the Connexoon being marked as offline followed by Authentication challenges. After commenting one out, the other would work, but having both would always lead to one getting disconnected and then the other. My guess is that the wrong credentials or a wrong auth token is used to access the other boxes API.

Is this possible and could you take a look if I provide you with some more information? Just tell me what you need.

Thank you very much in advance for any assistance you may provide.

Cheers,
Gregory

P.S:
No problems with the Connexoon and your binding itself by the way. Also Iā€™m not having problems using both the Somfy apps. Also, there are two types of Connexoon boxes, one is for io devices only, the other for RTS devices only. Only the Tahoma supports both (and more).

P.P.S:
By the way: Somfy doesnā€™t seem to support a home owner having more than one box. I had to use another mail address to successfully register the Connexoon. Somfy actually indicated that a Tahoma was already registered to that same mail address. And both boxes have different apps available for controlling them in the store. At least this way, I can log into both without having to log out and back into the other account to control my devices.

P.P.P.S: Somfy locked me out of both accounts for 60 minutes, as the binding seems to have made too many requests and possibly/ probably provided the wrong credantials too many times.

Here is my somfy.things file for reference in case it helps somehow:

Bridge somfytahoma:bridge:e87b2d69 "Somfy Tahoma Bridge" [ email="<MAILADDRESS1>", password="<PASSWORD1>", refresh=30 , statusTimeout=300] {
  // Thing gateway 1218-1469-6425 "Tahoma gateway" [ id="1218-1469-6425" ]
  Thing rollershutter 2312923f-fb99-418f-acc4-fb9e71367cc6 "Rollladen Wohnzimmer Links" [ url="io://1218-1469-6425/1380068" ]
  Thing rollershutter dee6431c-3931-4475-9a98-ad7a7a5259cd "Rollladen Wohnzimmer Rechts" [ url="io://1218-1469-6425/391374" ]
  Thing rollershutter 3fb1ffbf-7af6-4974-883b-a74a1618700a "Rollladen KĆ¼che" [ url="io://1218-1469-6425/9521199" ]
  Thing awning 29aa705d-6aed-4cdc-a4bb-3c9eaa03585d "Markise" [ url="io://1218-1469-6425/12811918" ]
  Thing actiongroup 08e2a786-c004-4dbd-8027-4c452ca7f4f3 "Markisenlicht Aus Action" [ url="08e2a786-c004-4dbd-8027-4c452ca7f4f3" ]
  Thing actiongroup 34615b47-ad95-4ddc-833b-1a82046f28a8 "Markisenlicht An Action" [ url="34615b47-ad95-4ddc-833b-1a82046f28a8" ]
  Thing actiongroup 7abdc68c-dada-48ca-ba1d-9f4aab30583d "Heizstrahler Aus Action" [ url="7abdc68c-dada-48ca-ba1d-9f4aab30583d" ]
  Thing actiongroup ccea1aa9-6d71-4b42-acc4-ec76dc8b4609 "Heizstrahler My Action" [ url="ccea1aa9-6d71-4b42-acc4-ec76dc8b4609" ]
  Thing actiongroup 508eec8d-8b25-47e7-87ba-e25ef63cec79 "Heizstrahler Max Action" [ url="508eec8d-8b25-47e7-87ba-e25ef63cec79" ]
  Thing rollershutter 802c3d33-89b9-4613-8a1d-c5a9d0293f1f "K HR Fenster" [ url="io://1218-1469-6425/11519518" ]
  Thing rollershutter 7fd35219-46ea-440c-88e5-792a6b7929b7 "K LR Fenster" [ url="io://1218-1469-6425/2888028" ]
  Thing contactsensor 887da141-a834-4c56-8b87-37a9438d8bfd "EG WC Fenstersensor" [ url="io://1218-1469-6425/9686144" ]
  Thing contactsensor 8af185e9-ce64-4baa-b515-7a96867aba6d "EG WZ Fenstersensor" [ url="io://1218-1469-6425/6824594" ]
  Thing contactsensor 1aa36142-d219-4c55-97f6-4099f65fb1c1 "EG KU Fenstersensor" [ url="io://1218-1469-6425/10585561" ]
  Thing contactsensor 66c1275a-800c-456a-b633-a5b99737789b "OG EZ Fenstersensor" [ url="io://1218-1469-6425/15662542" ]
  Thing contactsensor 925282b7-4526-4c47-93f3-ce388e4c1ad5 "OG PZ Fenstersensor" [ url="io://1218-1469-6425/11237194" ]
  Thing contactsensor 1727db24-17a9-48cd-90e4-e2db2343efa5 "K HR Fenstersensor" [ url="io://1218-1469-6425/8530038" ]
  Thing contactsensor beef4dd7-5ddc-47c5-8c20-e8e11924d187 "K LR Fenstersensor" [ url="io://1218-1469-6425/12683967" ]
}

Bridge somfytahoma:bridge:e65f3139 "Somfy Connexoon Bridge" [email="<MAILADDRESS1>", password="<PASSWORD2>", refresh=30, statusTimeout=300] {
  // Thing gateway 0824-1519-4573 "Connexoon gateway" [ id="1218-1469-6425" ]
  Thing window 443cb6da-0799-4ae4-bfff-eb7e1571417b "DG F Dachfenster" [ url="io://0824-1519-4573/6173610" ]
  Thing contactsensor 57f23a74-8005-4d09-98ab-650833c4a461 "OG WZ Fenstersensor" [ url="io://0824-1519-4573/2480090" ]
  Thing contactsensor 2c1331f0-538c-4e98-8c3e-a69d5cdf3c36 "OG B Fenstersensor" [ url="io://0824-1519-4573/1206517" ]
  Thing contactsensor 3f36caa6-b670-4916-96a6-febe9d685154 "DG SZ L Fenstersensor" [ url="io://0824-1519-4573/5674541" ]
  Thing contactsensor 4a39f6c9-eadd-4c5c-894a-eaec1c6984ad "DG SZ R Fenstersensor" [ url="io://0824-1519-4573/6936778" ]
  Thing contactsensor 34080df9-f7dc-4b26-a87b-e1011d04bfb5 "DG NZ Fenstersensor" [ url="io://0824-1519-4573/15332817" ]
  Thing contactsensor b39c6630-69f4-4ee5-81c0-74bb5146e460 "DG B Fenstersensor" [ url="io://0824-1519-4573/11121801" ]
}

Okay, the lockout period of Somfy ended, which I tested by using the Somfy apps on my phone.

I than redeployed my previously removed somfy.things file onto my openhab instance. For testing purposes the file only had the Connexoon active and the Tahoma was commented out.

I was able to use all Connexoon related stuff via Openhab.

So after 30 minutes of testing the Connexoon alone I added the Tahoma by removing the comments.

This resulted in the Tahoma bound items to become usable but it also immediately resulted in the Connexoon, which is the second Bridge entry in my somfy.things-file to be thrown out. The log shows the following error:

somfytahoma:bridge:e65f3139' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Received invalid data

hi, I know most probably where is the problem ā€¦
as a result of the code review (before merging to the OH2 master) I had to ā€œimproveā€ the binding by using the shared HttpClient. So your both bridges are using the same client, sharing session (authentization token). It canā€™t work at all. Iā€™ll try to come up with some solution for you.
Give me some time, please.

Edit:
try this version please:
https://www.dropbox.com/s/pmm59z5vgw4j4px/org.openhab.binding.somfytahoma-2.5.3-SNAPSHOT.jar?dl=1

Thanks.
Ondrej

1 Like

Hi, youā€™re incredible man! Woah.
Iā€™ll give it a try now. Iā€™ll get back to you shortly.

Okay, I did test it, but unfortunately Iā€™m seeing the same issue. Plus, when I add the second bridge and try to interact with an item associated with it I get messages like these in the logs:

[rnal.handler.SomfyTahomaBridgeHandler] - Apply command response: {"errorCode":"UNSPECIFIED_ERROR","error":"Security exception : Gateway #0824-1519-4573 does not belong to setup 85a2a01c-0e08-48d6-bcbb-473fa9241608"}

this seems to be a problem in your .things file

Thing gateway 0824-1519-4573 "Connexoon gateway" [ id="1218-1469-6425" ]

should be

Thing gateway 0824-1519-4573 "Connexoon gateway" [ id="0824-1519-4573" ]

I guessā€¦