Tahoma Binding compatible with OH2

Hi guys, please see the latest release. It has compatibility with OH2 and I am using it in OH2 for 2 weeks with no problems. Do not expect channels and things, you have to configure it manually as mentioned in readme (it is the OH1 way how items are configured)

1 Like

Hi, one user confirmed that connexoon uses the same API and it works

Hi, here is a pure OH2 version of this binding, I’m currently testing it, if you are interested, you can build the binding by yourselves or I can provide you with the binary…

Hi Ondrej,

thanks so much.
I will give this a try, and let you know how I am managing!

Thanks and regards,

Helge

Hi… Would be nice with the binary… Please provide

Hi, here it is:

Please follow the instructions here:

Thank you.

Perfect with the Thing-Channel concept.

I get multiple errors in the log:

2017-07-20 10:26:12.487 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.542 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.590 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.639 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.687 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.735 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.787 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.841 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.889 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.936 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:12.990 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:13.045 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:13.099 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException
2017-07-20 10:26:13.172 [ERROR] [oma.handler.SomfyTahomaBridgeHandler] - Cannot send getStates command: java.lang.NullPointerException

Do you know what this is?

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?