Tahoma Binding compatible with OH2

Hi,

please can you confirm that the bundled 2.5.0 version works fine? What do you mean by “there are no more items”? The channels are missing?
thanks
Ondrej

Exactly, the Channels are missing. All other Devices works.

OK, and how does the bundled 2.5.0 version work? Is it OK?
Thanks
Ondrej

Hi,
Now, my System is working fine. Only 2 Rollershutters are striking. But I don’t think that the Binding is the Problem. The Problem is maybe in my system

The build in Version 2.5.0 has the same problem.

If i search for new things and then add the new thing, the log says:

2019-12-29 11:04:55.844 [WARN ] [re.thing.internal.ThingFactoryHelper] - Could not create channel ‘switch’ for thing type ‘somfytahoma:light:07216f6d:56aade98-c5d9-4903-81ef-70ac636038ff’, because channel type ‘somfytahoma:switch’ could not be found.

Hi,
try this one, should be working…
https://www.dropbox.com/s/wxbc1zhdzvy8y4s/org.openhab.binding.somfytahoma-2.5.1-SNAPSHOT.jar?dl=1

Thanks for testing!
Ondrej

Hi Ondrej,

the channels are now connected and things are working. Thank you!

Initializing a thing takes about 3-5 minutes. Is that correct?

Best regards

It depends what had happened during the binding initialization. If “Too many requests” error, than several minutes are OK. The log will tell you more.

Please watch this behaivour and let me know if it occurs often…
Sorry for these issues, but it may take some time to tune it against the V2 API :slight_smile:

Regards.
Ondrej

Thank you for your work on this binding!

Hi, okay the MY-Position is working. But only one time! After the reinstallation of the binding, the MY Position is working for one time. But now, after the one time the system isn’t working.

Maybe, somebody has this error as well :slight_smile:

Thanks and have a good New Year’s Eve :slight_smile:LG

Hi,

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

Now it is possible to set the MY position of a rollershutter by sending MOVE command (OH2 does not know MY, so it stands for “move to my position”).

sendCommand(ROLLERSHUTTER_THING, MOVE)

or

ROLLERSHUTTER_THING.sendCommand(MOVE)

Thanks.
Ondrej

Hi Ondrej,

in my sitemap (basic ui) the status of Somfy roller shutters and lights is not updated. Other devices work.

What can that be?

Please could you PM me the trace log? 5 minutes time window should be sufficient. Thanks.
Ondrej

Hi Stylewarz3
I have the same probleme, see the error message and the conf files:

Error in log:

2020-01-06 11:30:15.502 [WARN ] [re.thing.internal.ThingFactoryHelper] - Could not create channel ‘switch’ for thing type ‘somfytahoma:light:a107ae8f:beee6c2f-9429-4c6e-9b3e-1663cff3dd85’, because channel type ‘somfytahoma:switch’ could not be found.
2020-01-06 11:30:15.534 [WARN ] [.thing.internal.GenericThingProvider] - Could not create channel ‘switch’ for thing ‘somfytahoma:light:a107ae8f:beee6c2f-9429-4c6e-9b3e-1663cff3dd85’, because channel type ‘somfytahoma:switch’ could not be found.
2020-01-06 11:30:15.539 [WARN ] [re.thing.internal.ThingFactoryHelper] - Could not create channel ‘switch’ for thing type ‘somfytahoma:light:a107ae8f:eca3551a-56e8-4379-a5da-0e6d4f111214’, because channel type ‘somfytahoma:switch’ could not be found.
2020-01-06 11:30:15.542 [WARN ] [.thing.internal.GenericThingProvider] - Could not create channel ‘switch’ for thing ‘somfytahoma:light:a107ae8f:eca3551a-56e8-4379-a5da-0e6d4f111214’, because channel type ‘somfytahoma:switch’ could not be found.

Dump discovery:

Added new thing ‘somfytahoma:light:a107ae8f:beee6c2f-9429-4c6e-9b3e-1663cff3dd85’
Added new thing ‘somfytahoma:light:a107ae8f:eca3551a-56e8-4379-a5da-0e6d4f111214’

somfy.things

Thing light beee6c2f-9429-4c6e-9b3e-1663cff3dd85 “Ecl_Ext_Rue” [ url=“rts://1204-9462-3265/16756022” ]
Thing light eca3551a-56e8-4379-a5da-0e6d4f111214 “Ecl_Ext_Jardin” [ url=“rts://1204-9462-3265/16773116” ]

somfy.items

Switch SwEclExtRue “Switch RTS Ecl. Haut Rue” (GR_TaHoma) {channel=“somfytahoma:light:a107ae8f:beee6c2f-9429-4c6e-9b3e-1663cff3dd85:switch”}
Switch SwEclExtJardin “Switch RTS Ecl. Haut & Bas Jardin” (GR_TaHoma) {channel=“somfytahoma:light:a107ae8f:eca3551a-56e8-4379-a5da-0e6d4f111214:switch”}

How do you solve the problem, for me i change the binding by the version 2.51 given by Ondrej then restart openhab but i’s not solved. In Paper UI it apear to be 2.5.0 version ?

Thanks for answer

Hi,

there is a bug relating to the light thing channel type.
Please try latest SNAPSHOT
https://www.dropbox.com/s/avg49e7dndffg5e/org.openhab.binding.somfytahoma-2.5.1-SNAPSHOT.jar?dl=1

this version

  • improves the detection of devices
  • includes fixes for light and smoke sensor things
  • introduces support for a camera thing
  • introduces a new “aggressiveUpdate” config parameter of the Bridge in case you are having problems with status update (two users reported that the new V2 API version does not return all events and even states from the Tahoma cloud, so this might be the way how to sync all devices)

Thanks.
Ondrej

Thank for your answer Ondrej,
I copy the binding.somfytahoma-2.5.1-SNAPSHOT.jar to /var/lib/openhab2/tmp/kar/openhab-addons-2.5.0/org/openhab/addons/bundles/org.openhab.binding.somfytahoma directory and then restart openhab and the error is always here. In Paper UI the somfytahoma binding is mark as 2.5.0 is it normal ?
And is it the good directory where i copy ?
Thank

Please disable the bundled 2.5.0 Somfytahoma binding and copy the new snapshot to
/usr/share/openhab2/addons

thanks
Ondrej

Now there is no error in log, but do not work. see picture, there are no propriétés
image
In openhab console show the good version loaded:

Sorry for the previosly info, i do an error the name of the thing was the same the item. Now i have some properties:

I continue testing,
Thank for your help