# Velbus binding for OpenHAB

**URL:** <https://forum.velbus.eu/t/velbus-binding-for-openhab/14992>\
**Category:** For developers\
**Created:** [February 10, 2018, 7:32pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992 "2018-02-10T19:32:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cedricb](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@cedricb](https://forum.velbus.eu/u/cedricb)\
**Post date:** [February 10, 2018, 7:32pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/1 "2018-02-10T19:32:38Z")

</div>

Hi,

I created a [pull request](https://github.com/openhab/openhab2-addons/pull/3213) for a Velbus binding for OpenHAB.  
It still has to be reviewed and merged, but you can already try it by putting the [compiled jar](https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/binding/org.openhab.binding.velbus/2.3.0-SNAPSHOT/org.openhab.binding.velbus-2.3.0-SNAPSHOT.jar) in your OpenHAB addons folder.  
The readme file can be found [here](https://github.com/cedricboon/openhab2-addons/blob/master/addons/binding/org.openhab.binding.velbus/README.md).

I added all Velbus modules that I was currently able to test.  
Please tell me if you are interested in other modules, I can add them if you are able to test them.

Regards,  
Cédric

---

<div class="post-metadata">

**Author:** ![MDAR](https://forum.velbus.eu/user_avatar/forum.velbus.eu/mdar/32/4215_2.png) [@MDAR](https://forum.velbus.eu/u/MDAR)\
**Post date:** [February 11, 2018, 7:10am UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/2 "2018-02-11T07:10:54Z")

</div>

Hi

That’s excellent news.

Can I help in any way?

Cheers,  
Stuart

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [March 26, 2018, 11:52pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/3 "2018-03-26T23:52:05Z")

</div>

Hi Cedric  
I installed openhab2.none of my modules are detected.

Could you add?  
Vmb4ry vm2bl vmb1dm vmb6in vmb8pb vmb4pb  
I only have 1st gen modules.  
I will test them and tell you how it works.  
Thank you

---

<div class="post-metadata">

**Author:** ![cedricb](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@cedricb](https://forum.velbus.eu/u/cedricb)\
**Post date:** [March 29, 2018, 8:42pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/4 "2018-03-29T20:42:44Z")

</div>

Hi Ciceron,

I will take a look at the 1st gen modules and see if they can easily be added!

Regards,  
Cédric

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [March 29, 2018, 11:43pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/5 "2018-03-29T23:43:13Z")

</div>

Thank you so much  
If you could tell me how, I can try or help you…

---

<div class="post-metadata">

**Author:** ![MDAR](https://forum.velbus.eu/user_avatar/forum.velbus.eu/mdar/32/4215_2.png) [@MDAR](https://forum.velbus.eu/u/MDAR)\
**Post date:** [March 30, 2018, 10:45am UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/6 "2018-03-30T10:45:49Z")

</div>

It’s really good of you to all this work.

Please let me know how I can help.

Cheers,  
Stuart

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [April 3, 2018, 9:19am UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/7 "2018-04-03T09:19:45Z")

</div>

Hi Cédric any news?  
Could we just start with vmb2bl and vmb4ry?  
Thanks

---

<div class="post-metadata">

**Author:** ![cedricb](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@cedricb](https://forum.velbus.eu/u/cedricb)\
**Post date:** [April 3, 2018, 7:46pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/8 "2018-04-03T19:46:42Z")

</div>

Hi Ciceron,

Can you try with this version:  
[https://we.tl/GGFZwEUrFx](https://we.tl/GGFZwEUrFx)

It should already support the vmb4ry.

Regards,  
Cédric

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [April 3, 2018, 7:47pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/9 "2018-04-03T19:47:12Z")

</div>

thanks i will right away

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [April 3, 2018, 8:03pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/10 "2018-04-03T20:03:15Z")

</div>

vmb4ry WORKS!! 😀😀😀  
vmb1dm not working but displaying current intensity  
modules status are : online

would it help if i provide log (where could i find it?)

---

<div class="post-metadata">

**Author:** ![cedricb](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@cedricb](https://forum.velbus.eu/u/cedricb)\
**Post date:** [April 3, 2018, 8:36pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/11 "2018-04-03T20:36:00Z")

</div>

Yes, a log file would help.  
On Windows you can find it under …\openHAB2\userdata\logs\openhab.log  
On Linux the log file will probably be under /var/log/openhab2/openhab.log

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [April 3, 2018, 8:40pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/12 "2018-04-03T20:40:39Z")

</div>

Log deleted.if needed let me know

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [April 3, 2018, 8:41pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/13 "2018-04-03T20:41:01Z")

</div>

Log deleted  
Too long …

---

<div class="post-metadata">

**Author:** ![cedricb](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@cedricb](https://forum.velbus.eu/u/cedricb)\
**Post date:** [April 4, 2018, 7:33pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/14 "2018-04-04T19:33:27Z")

</div>

Hi,

The log doesn’t show any problems, so maybe the binding is sending a wrong command to the vmb1dm.  
You can send 2 different commands, an ON/OFF command with a switch, and a Percentage command with a slider.  
Are both commands not working, or only one of them?

What could also help is if you go to the Logging-tab in VelbusLink, clear the log, perform the action directly on your vmb1dm through VelbusLink and save this log. That way I’ll be able to compare a correctly generated packet with the one that the OpenHAB binding is generating.

Regards,  
Cédric

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [April 4, 2018, 7:40pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/15 "2018-04-04T19:40:59Z")

</div>

Both commands do not work.

i will do that…

Could you add vmb2bl and vmb6in please?  
Family is thrilled by openhab!  
Thanks Cédric

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [April 4, 2018, 8:51pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/16 "2018-04-04T20:51:22Z")

</div>

this is the log of dimmer: on / off / 50%

 ![vellog dimmer](https://forum.velbus.eu/uploads/default/original/2X/7/7960ff0c7573021ec81e7c1cb37533d3895dc320.jpg)

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [April 5, 2018, 10:44pm UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/17 "2018-04-05T22:44:53Z")

</div>

Hi Cédric  
Is a raspberry ok for openhab, like model 3 b ? Or do you recommend something else?  
Thanks

---

<div class="post-metadata">

**Author:** ![cedricb](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@cedricb](https://forum.velbus.eu/u/cedricb)\
**Post date:** [April 6, 2018, 5:52am UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/18 "2018-04-06T05:52:31Z")

</div>

Hi Ciceron,

Thanks for the log!  
I noticed a small difference in the packet, I will try to make a new build of the binding with a few changes tonight or tomorrow.

I’m currently using OpenHab on a raspberry pi 3 and it works great.  
[openHABian](https://docs.openhab.org/installation/openhabian.html) makes the setup very easy!

---

<div class="post-metadata">

**Author:** ![cedricb](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@cedricb](https://forum.velbus.eu/u/cedricb)\
**Post date:** [April 7, 2018, 9:39am UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/19 "2018-04-07T09:39:23Z")

</div>

Hi Ciceron,

I made a modification for the vmb1dm, can you try this new version?  
[https://we.tl/QKQzfqmupU](https://we.tl/QKQzfqmupU)

Note that you might have to upgrade OpenHAB to the latest snapshot, as it already contains some other changes.  
(If the OpenHAB log mentions something about “javax.measure” not being found, this means you will have to upgrade)

Due to another change the channel names on your “Things” will probably also be gone.  
To fix this you can simply delete all things except the “Bridge”, and re-discover them again through the inbox.  
As you keep the “Bridge”-thing your items configuration will stay the same.

Regards,  
Cédric

Edit: made one more fix in the jar file

---

<div class="post-metadata">

**Author:** ![Ciceron](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@Ciceron](https://forum.velbus.eu/u/Ciceron)\
**Post date:** [April 7, 2018, 9:40am UTC](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992/20 "2018-04-07T09:40:48Z")

</div>

Hello  
If we could have vmb2bl this WE, that would be great  
Thanks

[Next page](https://forum.velbus.eu/t/velbus-binding-for-openhab/14992.md?page=2)
