# OpenRemote.com intergration with Velbus - Free to ALL

**URL:** <https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538>\
**Category:** For developers\
**Created:** [May 20, 2015, 2:22pm UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538 "2015-05-20T14:22:10Z")\
**Posts on this page:** 16\
**Page:** 4

<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:** [December 26, 2016, 4:35am UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/61 "2016-12-26T04:35:37Z")

</div>

Hi Bart.

Are you using the free / demo version?

It is most certainly in the Pro version.

[designer.openremote.com](http://designer.openremote.com)

Cheers,  
Stuart

---

<div class="post-metadata">

**Author:** ![Bart8400](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/b/8edcca/32.png) [@Bart8400](https://forum.velbus.eu/u/Bart8400)\
**Post date:** [December 26, 2016, 10:43am UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/62 "2016-12-26T10:43:23Z")

</div>

Ah indeed, I’m not using the designer version, since i can’t find velbus among the other predefined manufacturers.  
Signed up now, awaiting the activation mail.

Greetings,  
Bart

---

<div class="post-metadata">

**Author:** ![Fluxlicious](https://forum.velbus.eu/user_avatar/forum.velbus.eu/fluxlicious/32/52_2.png) [@Fluxlicious](https://forum.velbus.eu/u/Fluxlicious)\
**Post date:** [February 22, 2017, 9:10pm UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/63 "2017-02-22T21:10:05Z")

</div>

I finally got around to test this and after quite some problems i did get it to work with controller v2.5.0.

With v2.6.0\_beta i was constantly getting the “Could not load commandBuilder class: org.openremote.controller.protocol.velbus.VelbusCommandBuilder” in boot.log  
When i downgraded the controller i also updated and upgraded my rpi, so that may have something to do with it, need to do some more testing here.  
What controller versions are you using btw?

Anyway, i got a relay and a dimmer working (with switch & slider) so i’m pretty pleased 😃

---

<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 23, 2017, 2:42pm UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/64 "2017-02-23T14:42:37Z")

</div>

Hello again 🙂

I’m very glad that you’re getting some results with OpenRemote and Velbus.

Just wait until you start investigating the possibilities with Thermostat functions 😉

For your reference, I have a number of machines running OpenRemote controllers, with various core Linux OS versions, but they all use OpenRemote-Controller-Pro-V2.5.0.

I should do some testing with V2.6.0 beta, but I just don’t have the time right now.

If your interested, my machines are :-

Samsung N150 1.6Ghz Single Core netbooks  
BeagleBone Black 1.0Ghz Single Core SBCs  
ODroid XU4 1.0Ghz Octo-Core SBC (curiously no faster than the BeagleBones)

FYI, I originally tried Windows 7 home starter on the Samsung Netbooks, which worked well but were noticeably slower than Ubuntu 16 LTE headless server Linux OS on the same machines.

---

<div class="post-metadata">

**Author:** ![jeroends](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/j/ea5d25/32.png) [@jeroends](https://forum.velbus.eu/u/jeroends)\
**Post date:** [August 25, 2017, 6:31pm UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/65 "2017-08-25T18:31:25Z")

</div>

Hello MDAR,

do you have any idea when or if the older velbus modules will be supported? My installation does only have the older modules (runs since 2008).

Jeroen

---

<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:** [August 26, 2017, 9:02am UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/66 "2017-08-26T09:02:50Z")

</div>

Hi @jeroends

Thanks for following this topic and providing your VelServ TCP server to the community.

As I’m sure you’re aware, the older modules use very different memory maps compared to the 2nd generation modules.

It’s not impossible to add the older modules, just a lot more involved than the new ones, which is why it hasn’t been done so far.

The situation is that MDAR Ltd formally pays a commercial programmer to do this work, so until we are in a situation where it is essential for a commercial project, we don’t have any plans to make Velbus within OpenRemote compatible with the older modules.

That said, as I’ve suggested in previous posts, we are all willing and keen to add these modules, it’s simply a matter of funding the programming time.

Would you be willing to provide a list of the modules you’d like to see added so we could cost the work.  
(The other important issue is that we don’t have access to older modules to test with)

I hope you understand the difficult position we’re in.

Please send me a direct message if you’d like to take this conversation further.

Best wishes,

Stuart  
MDAR Ltd

---

<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:** [September 5, 2017, 7:20am UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/67 "2017-09-05T07:20:52Z")

</div>

Hi

I’ve got some interesting news for you…

I’ve been authorised to offer a limited amount of people a very cost effective upgrade price, if you want to swap out 1st generation modules for 2nd generation or integrated modules, for the sole purpose of creating an OpenRemote compatible Velbus system.

For reference, we’re added support for the VMB1TS to make life a little easier.

Does this help you at all?

Cheers,

Stuart

---

<div class="post-metadata">

**Author:** ![jan\_b](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jan\_b](https://forum.velbus.eu/u/jan_b)\
**Post date:** [September 13, 2017, 12:20am UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/68 "2017-09-13T00:20:25Z")

</div>

Hi,

Just started to experiment a bit with OpenRemote - using a NAS (Asustor) as gateway.

First and foremost: got it to work - quite easily.  
@jeroends @MDAR - kudos

To me it’s just a small hobby project - will see where/when it ends…

In order to keep everything alive as best as possible, I’m planning to create Asustor packages for both the velserv ‘gateway server’ and the OpenRemote Controller.

All in all, creating these packages doesn’t seem to be too difficult - just a bit tedious.  
I created a first _velserv\_1.5\_x86-64.apk_ which does the job.

@jeroends  
I did encounter 1 issue: re-starting the velserv sometimes results in the usb (serial) device not being accessible anymore: dmesg error message:  
cdc\_acm 1-2:1.0: failed to set dtr/rts

Solution/workaround:

- stop the velserv process
- disconnect the usb cable
- wait
- re-connect
- verify whether the Velbus usb device is re-connected (lsusb) and
- start the velserv once more

dmesg log:  
…  
usb 1-2: USB disconnect, device **_number 3_**  
…  
usb 1-2: new full-speed USB device **_number 5_** using xhci\_hcd  
usb 1-2: New USB device found, idVendor=10cf, idProduct=0b1b  
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0  
usb 1-2: Product: VMB1USB Velbus USB interface  
usb 1-2: Manufacturer: Velleman Projects  
cdc\_acm 1-2:1.0: ttyACM0: USB ACM device  
…

Does this issue ring a bell?  
I did find quite some references on the internet related to similar issues, but didn’t dig deeper.

Any info would be appreciated…

Thanks!  
Jan

---

<div class="post-metadata">

**Author:** ![jeroends](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/j/ea5d25/32.png) [@jeroends](https://forum.velbus.eu/u/jeroends)\
**Post date:** [September 13, 2017, 5:56am UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/69 "2017-09-13T05:56:55Z")

</div>

Hey Jan, this idd ring a bell.

A few years ago I had a problem with a bad USB cable running through the electricity closet and causing emi problems on the USB (thats what the driver stated). This was causing a half disconnect, in this I mean, the system thought the interface was connected (ttyacm was alive) but there was no data traffic possible.  
In the end I enede up writing a script checking for a defined module, if I couldn’t reach that module I re-enumerated the usb modules (event) and then the interface came back alive.

The problem went away using another USB cable so I never searched for another solution.

---

<div class="post-metadata">

**Author:** ![jan\_b](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jan\_b](https://forum.velbus.eu/u/jan_b)\
**Post date:** [September 13, 2017, 3:53pm UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/70 "2017-09-13T15:53:08Z")

</div>

Hi @jeroends,

Thanks!  
Will definitely test with a different USB cable.  
Hope this will solve the issue…

I will let you know!

---

<div class="post-metadata">

**Author:** ![jan\_b](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jan\_b](https://forum.velbus.eu/u/jan_b)\
**Post date:** [September 14, 2017, 7:29pm UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/71 "2017-09-14T19:29:09Z")

</div>

FYI

The above mentioned ASUSTOR packages are ready:  
velserv\_1.5\_x86-64.apk  
openremote-controller\_2.6.0 beta3\_any.apk

Actually, both were quite easy to create as it’s not required to take care of any ‘upgrade’ aspects.  
Whenever a newer version needs to be installed, the previous version can just be deleted.

Definitely true in the context of the velserv, but I assume this is also valid in the context of the OpenRemote Controller: whenever a new version is deployed, your OpenRemote Designer workspace needs to be synced once more, and that should cover it…  
Well, that’s at least my experience so far.

---

<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:** [September 14, 2017, 8:11pm UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/72 "2017-09-14T20:11:46Z")

</div>

@jan_b

Thanks for all this information.

As I’m sure this would be really useful to anyone who is going to work with OpenRemote, could you put this information on the Google Groups OpenRemote page ?

[https://groups.google.com/forum/m/#!forum/openremotecommunity](https://groups.google.com/forum/m/#!forum/openremotecommunity)

Many thanks,  
Stuart

---

<div class="post-metadata">

**Author:** ![jan\_b](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jan\_b](https://forum.velbus.eu/u/jan_b)\
**Post date:** [September 14, 2017, 11:54pm UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/73 "2017-09-14T23:54:17Z")

</div>

Hi @MDAR, @jeroends,

FYI  
[https://groups.google.com/forum/?nomobile=true#!topic/openremotecommunity/fu66o4XBxW0](https://groups.google.com/forum/?nomobile=true#!topic/openremotecommunity/fu66o4XBxW0)

Hope this proves useful!

Kind regards,  
Jan

---

<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:** [September 15, 2017, 5:40am UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/74 "2017-09-15T05:40:18Z")

</div>

Good morning @jan_b

Thanks for putting that post on the Google site.

Just one tiny observation, Velbus has been supported in OpenRemote Pro for a couple of years now, with the very latest Jar file used in the stable version (OpenRemote V2.5) and the beta version (V2.6).

This information might be useful if you discover any issues with the beta version.

Good luck,

Stuart

---

<div class="post-metadata">

**Author:** ![jan\_b](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jan\_b](https://forum.velbus.eu/u/jan_b)\
**Post date:** [September 15, 2017, 7:32am UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/75 "2017-09-15T07:32:30Z")

</div>

Hi @MDAR,

Yes, true - I thought the V2.6 beta automatically included the latest Velbus integration (and that’s what I was trying to explain), but upon a short review it’s not even the latest 1.3.1 but still a 1.3.0.

I’ll try to clarify this on the Google forum too.

A stable OpenRemote-Controller V2.5 with Velbus 1.3.1 would’ve made more sense.

Thanks!  
Jan

---

<div class="post-metadata">

**Author:** ![jeroends](https://forum.velbus.eu/letter_avatar_proxy/v4/letter/j/ea5d25/32.png) [@jeroends](https://forum.velbus.eu/u/jeroends)\
**Post date:** [September 19, 2017, 4:22am UTC](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538/76 "2017-09-19T04:22:40Z")

</div>

Jan,  
a smal remark. The story I mentionned was about myself having an usb bus that locked up due a bad usb cable.  
When you disconnect the cable without closing the bus, meaning, velserv still has the ttyacm0 open, a new interface (mostly ttyacm1, or higher) will be created because ttyacm0 is still open.  
I used the script in the link to recreate the interface after trouble. Maybe it 's an idea to create a script checking an interface on the bus who you know it’s there. If that’s not reachable after for ex 3 times, than there most be a problem an the script can be executed.

script: [velbus](http://leachy.homeip.net/velbus/velbus) This script was used on a redhat system so it could be that it needs to be adjusted to be used on a debian system.

[Previous page](https://forum.velbus.eu/t/openremote-com-intergration-with-velbus-free-to-all/11538.md?page=3)
