Tahoma Binding compatible with OH2

Thank you so very much, maybe I can control my rollershutters after planning to do so for the last four years or so :smile:

Now I have ordered a Tahoma box after many years of trying to hack something myself. Interesting to see that Somfy has reduced its prices to slightly less exorbitant levelsā€¦

By the way, do you intend to have this integrated into the main source tree at some time? If so, it would be best if you continued your development in a branch, as creating pull requests from your ā€œmasterā€ branch is a total pain in the ass :smile:

Good point, I have no experience with pull requests to OH master and of course I would be glad if it integrates into main source sometimeā€¦Any help appreciated if someone wants to contribute to this binding!

To create a new branch with just the commits for the tahoma-binding, I did the following (in an empty directory):

git clone https://github.com/octa22/openhab2-addons.git openhab2-addons-somfytahoma
cd openhab2-addons-somfytahoma
git checkout -b somfytahoma-binding 786878dbade56a08221a7937119264cc5f19f487
git cherry-pick 3cecee0609867829525a1dede73b0e97546f3c32
git cherry-pick 5880e1f9c7ad0a9f2162ed910f098cfbf41742c5
git cherry-pick c8fbe8852befcc96c812c4000ef7cc389f1b3c75
git cherry-pick 7e5319e7d7cae5ed55df2c57ac0e46e8bfa95ca9
git cherry-pick 9fb0099d5c1043df679cb842b1b7357ff5e9b109
git cherry-pick 35a0cf86a7e9d0c240040340135a40b0aff54633
git cherry-pick a0893f142a3aaf87dc16f8954d806dc76a26fbda
git cherry-pick b7031e6eeaf754301d45df4c83b2f781cef3a9c8
git cherry-pick d0df3828c74bc87ae368e1d2631c11a0cb736e1f
git cherry-pick 358b9e449a1fb9acaa4735c090777b63ed98b642
git push --set-upstream origin +somfytahoma-binding

In a very similiar way, you can set up branches for the ā€œefergyā€ and ā€œmi speakerā€ bindings which you have in your master branch as well. In general, every binding / contribution should be developed in its own branch so you can easily create pull requests from them.

When you have pushed the new branch to github, you will see a button that offers you to create a pull request from the branch. Do so, and add a ā€œ[WIP]ā€ in the title of the branch, and everyone will know that you are still developing the binding. Whenever you feel the code is ready for reviews, remove the ā€œ[WIP]ā€ from the title.

Looking forward to see your binding integrated into the main tree :smile:

Thank you for the detailed steps. Iā€™ve done this for all my OH2 bindings and now they are in separate branches :grinning:

1 Like

Glad to be able to help :slight_smile:

Today I installed my Tahoma box at home and configured my roller blinds. Now all I have to do is to integrate things with your wonderful binding, and I can have automated blinds after four long years of playing with OH :wink:

The link to the README is broken since the code was moved to a branch. Could you please update it?

fixed. thanks

Hi,

Thanks for the work, going to take a look at it when back from holidays! Really appreciate this since I didnā€™t had the time to write it myself.

Thanks!

Thanks to @hakan who tested the latest version of this binding, helped integration of awnings and gave me improvement suggestions. Iā€™m starting a pull request to OH2 bindings master :grinning:

2 Likes

Thanks to @Ondrej_Pecta for making my roller shutters work the way they were intended to work since three years agoā€¦

Now I donā€™t have to be ashamed when comparing my setup to the neighbours with their Apple Home Whatever stuff :smiling_imp:

Hi there, since I am also interested in this Tahoma Binding, could you please share the link where it can be downloaded?
thx :slight_smile:

Jenkins does build this PR and uploads it to jfrog:

https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/binding/org.openhab.binding.somfytahoma/2.2.0-SNAPSHOT/org.openhab.binding.somfytahoma-2.2.0-SNAPSHOT.jar

@Ondrej_Pecta a bit more meta-work: Maybe you create a marketplace entry for your binding until the PR has been merged into master?

Good news - since today the binding is available also via Eclipse IOT Marketplace: https://marketplace.eclipse.org/content/somfy-tahoma-binding

1 Like

Hi @Ondrej_Pecta. Many thanks for this binding! Works pretty much like a charm.

Using the link (supplied by @hakan) Iā€™ve been able to control the actions. The action groups, bridge and gateway are available as things in the inbox. Manually I can easily add awnings. All controls works great!
However I expected the sunscreens to appear in the inbox, but the automatic discovery doesnā€™t seem to work as expected for these. Is this to be expected at this point? Iā€™m using OH 2.1.0-1 btw.

Hi, Iā€™m glad it is useful for you. Awnings should be automatically discovered too, itā€™s weird it did not happen. It seems sunscreen is a new device and I can easily add an new thing for it. Could you please PM me the debug output of this binding? There should be more info about discovered devicesā€¦thanks

Hi @Ondrej_Pecta

thanks for creating this amazing piece of software (especially if Somfy is not opening the API to get rid of the box).

Itā€™s working like charm for me with my iO roller shutters, however, it does not discover my Somfy dexxo io 800 garage door motor. Could you please check whether these can be discovered as well and add to your software?

Thanks a lot and keep this great work working. You made my day being able to now integrate the iO stuff into OpenHAB.

P.S.: Can I somehow figure out the address / url of the garage door motor myself? I would try to add it as roller shutter, but I have no idea where to get the info from to create a io:// address.

Of course I can add it, just PM me trace (not debug) log from this binding, Iā€™ll check it and create a new thing for it :slight_smile:
the important JSON sentence contains uiClass variable containing device type and a list of commands which can be sent to this device

Sure!

Could you please just let me know how I can create a debug output only for your binding? If I go in Karaf and do log:set debug and then log:tail I see too much output and cannot get the one for your binding.

Thanks

this should be sufficient:
log:set trace org.openhab.binding.somfytahoma.handler.SomfyTahomaBridgeHandler