Velbus Domogik module

Hi Cereal,

Thank you.

When I add it to the devices as a dimmer in the visualization section it will not show the widget for a dimmer. It does show the visualization for a switch but when I press it it says Err - Rinor : No Data or timeout on getting command response (/rinor/api/command/velbus/16_1/)

the dmg_dump does recognize commands if I press the switches of the VMB4DC
{
hop=1
source+domogik.velbus.raspberrypi
target=*
}
lighting.device
{
device=16.1
level=0
}

Ill check previous posts on which logs you need and generate them and send them in a next post

Thanks

A part of the log which mentions the 16-1 if you need any more info I’ll be glad to send it.

2013-11-03 15:37:13,384 domogik-velbus DEBUG starting parser: 0ffb1008b8010000000000002504
2013-11-03 15:37:13,386 domogik-velbus DEBUG Received message with type: ‘dimmer channel status’ address: 16 module: VMB4DC(18)
2013-11-03 15:37:13,415 domogik-velbus DEBUG Messagetype module specifick parser not implemented
2013-11-03 15:37:13,417 domogik-velbus INFO schema:lighting.device, data:{‘device’: ‘16-1’, ‘level’: 0}
2013-11-03 15:37:13,430 domogik-velbus DEBUG normal send
2013-11-03 15:37:13,449 domogik-velbus DEBUG xPL Message sent by thread velbus-process-reader : xpl-trig
{
hop=1
source=domogik-velbus.raspberrypi
target=*
}
lighting.device
{
device=16-1
level=0
}

2013-11-03 15:37:13,871 domogik-velbus DEBUG starting parser: 0ff810040f012800ad04
2013-11-03 15:37:13,876 domogik-velbus DEBUG Received message with type: ‘slider status’ address: 16 module: VMB4DC(18)
2013-11-03 15:37:13,879 domogik-velbus DEBUG Messagetype module specifick parser not implemented
2013-11-03 15:37:13,884 domogik-velbus DEBUG Messagetype unimplemented 15
2013-11-03 15:37:14,367 domogik-velbus DEBUG starting parser: 0ff810040f014e008704
2013-11-03 15:37:14,369 domogik-velbus DEBUG Received message with type: ‘slider status’ address: 16 module: VMB4DC(18)
2013-11-03 15:37:14,371 domogik-velbus DEBUG Messagetype module specifick parser not implemented
2013-11-03 15:37:14,384 domogik-velbus DEBUG Messagetype unimplemented 15
2013-11-03 15:37:14,668 domogik-velbus DEBUG starting parser: 0ffbef02f6010e04

ok,

thanks i’ll have a look at it this weekend, this is what i needed

Maikel

Hi Maikel,

Im trying out the dmg_send interface but cannot get it to work.
If you have time can you post an example of how to send a message to velbus?

I’m trying: dmg_send xpl-trig lighting.device "device 254-2, level=100
I see the message appearing in de dmg dump but the relay isnt clicking

Thanks
Alex

you missed a equal sing

dmg_send xpl-trig lighting.device “device=254-2, level=100”

this works for me

Finally got the dmg_send to work,

It is not working with the command you suggested, following command did the trick:
dmg_send xpl-cmnd lighting.basic “device=254-2, level=100”

Thanks though for the quick response.

  1. I’m running domogik & domoweb 0.3 @ ESXi 5.5 with VM Ubuntu SE 14.04 LTS
    When I install the velbus plugin everything works fine.

  2. I’m running domogik & domoweb 0.3 @ HP laptop with Ubuntu SE 14.04 LTS
    When I’m trying to install the velbus plugin I get the following error

“pyserial (>=2.5) Missend
No candidate to dependency ‘pyserial’ installation found”

  1. I’m running domogik & domoweb 0.3 @ HP thin client with Ubuntu SE 14.04 LTS
    When I’m trying to install the velbus plugin I get the following error

“pyserial (>=2.5) Missend
No candidate to dependency ‘pyserial’ installation found”

Can someone help me with this?

Do a ‘pip install pyserial’ as root

Thanks for the quick reply cereal. I tried your solution and get the following.

root@domogik:~# pip install pyserial
The directory ‘/home/davy/.cache/pip/log’ or its parent directory is not owned by the current user and the debug log has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
The directory ‘/home/davy/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
The directory ‘/home/davy/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/local/lib/python2.7/dist-packages/pyserial-2.7-py2.7.egg
root@domogik:~# exit
exit
davy@domogik:~$ pip install pyserial
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/local/lib/python2.7/dist-packages/pyserial-2.7-py2.7.egg

When I installed domogik & domoweb @ ESXi I just followed the documentation without any bump in the road. But when I installed it on a physical machine I had to install the following package manually before I could finalese the domogik install.

sudo apt-get install libffi-dev

Don 't know why I have to do that manually?

I discovered that the difference between my VM & Physical machines was the version of Ubuntu. But I installed it with the same ISO file (14.04.1 LTS).

VM - 14.04.1 LTS
HP - 14.04.2 LTS

I could not install Ubuntu without the update 14.04.2

Now I’m running debian 7.8 @ the HP ThinClient flawless.