Velbus Domogik module

the dimmer is already implemented (not tested as i don’t have dimmers :))

will have a look on the blinds in the coming days.

Thanks for the support so far. I can do some testing because I have a lot of modules running like VMB1DM, VMB1RY, VMB4RY, VMB1BL, VMB2BL, VMB4PD, VMB6IN, VMB8PB and the interface VMB1USB.
If you want please send me instructions and files to do the testing.

Dimmer support is committed, should be working now, can you let me know if it works?

Hi cereal,

where can I download it?

its committed into the main mercurial tree …

folow the instructions on domogik.org (make sure not to use 0.1)

if you already have the tree checked out:

  • hg pull
  • hg update
  • run src/tools/packages/insert_all_data.py as root
  • restart domogik
  • your up and running

On the blinds part, should it be possible to configure a time? or is the time configured staticly on the module? Because i’m not sure if the time part is possible at the moment.

Installed as instructed. After restart domogik the communication with velbus is interrupted. When I control something in the gui the following message is showen… RINOR : ‘No data or timeout on getting command response’ (/rinor/api/command/velbus/03-3/)

I have rebooted the debian server and manually restarted velbus.py but it does not work anymore.

Some output of the commands here below…

root@domogik:/home/domogik/domogik# hg pull
*** failed to import extension alias: No module named alias
pulling from hg.domogik.org/domogik
searching for changes
^[A^[[A^[[A^[[Aadding changesets
adding manifests
adding file changes
added 40 changesets with 89 changes to 62 files
(run ‘hg update’ to get a working copy)
root@domogik:/home/domogik/domogik# hg update
*** failed to import extension alias: No module named alias
merging src/domogik/examples/config/domogik.cfg
warning: conflicts during merge.
merging src/domogik/examples/config/domogik.cfg failed!
merging src/domogik/xpl/bin/velbus.py
warning: conflicts during merge.
merging src/domogik/xpl/bin/velbus.py failed!
59 files updated, 0 files merged, 1 files removed, 2 files unresolved
use ‘hg resolve’ to retry unresolved file merges
root@domogik:/home/domogik/domogik#

root@domogik:/etc/init.d# ./domogik restart

  • Stopping Plugins… Done.
  • Stopping XPL… Done.
  • Stopping Manager… Done.
  • Starting XPL… Done.
  • Starting Manager (with -d -r -p -E)…
    [INFO] Check if dbmgr is running.
    [INFO] Check if rest is running.
    [INFO] Start dbmgr on domogik
    [OK] Component dbmgr started with pid 4598
    [INFO] Start rest on domogik
    [INFO] Check non-system plugins to start at manager startup.
    [INFO] Start yweather on domogik
    [INFO] Start velbus on domogik
    [OK] Component rest started with pid 4612
    [ERROR] Component yweather failed to start. Please look in this component log files

root@domogik:/home/domogik/domogik/src/domogik/xpl/bin# python velbus.py
File “velbus.py”, line 64
<<<<<<< local
^
SyntaxError: invalid syntax
root@domogik:/home/domogik/domogik/src/domogik/xpl/bin#

root@domogik:/home/domogik/domogik/src/domogik/xpl/bin# tail -f /var/log/domogik/velbus.log
2012-02-04 13:57:22,067 domogik-velbus DEBUG xPL thread stopped
2012-02-04 13:57:22,114 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, stopped -1224922256)>
2012-02-04 13:57:22,144 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1224922256)>
2012-02-04 13:57:22,145 domogik-velbus DEBUG Try to stop thread <Thread(velbus-process-reader, stopped -1241707664)>
2012-02-04 13:57:22,146 domogik-velbus DEBUG Thread stopped <Thread(velbus-process-reader, stopped -1241707664)>
2012-02-04 13:57:22,166 domogik-velbus DEBUG Try to stop thread <__InternalTimer(internal-timer, stopped -1250100368)>
2012-02-04 13:57:22,197 domogik-velbus DEBUG Thread stopped <__InternalTimer(internal-timer, stopped -1250100368)>
2012-02-04 13:57:22,198 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, started -1258493072)>
2012-02-04 13:57:22,216 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, started -1258493072)>
2012-02-04 13:57:22,217 domogik-velbus INFO The thread write_packets_process was not registered, killing it

The shutter/blinds are controlled by 3 programmed button and timers on the module VMB4PD which controls all the blinds engines. The cabling from the blinds engines goes into the VMB1BL and VMB2BL modules.

it seems that you have a conflict in velbus.py

delete the file, and then do hg pull velbus.py, that will resolve the conflict

file is deleted from folder /home/domogik/domogik/src/domogik/xpl/bin now but cannot pull file as specified

root@domogik:/home/domogik/domogik/src/domogik/xpl/bin# hg pull velbus.py
*** failed to import extension alias: No module named alias
abort: repository velbus.py not found!

As soon as I click a button a always get the error… RINOR : ‘No data or timeout on getting command response’ (/rinor/api/command/velbus/03-3/)

Manually start velbus.py shows this…
root@domogik:/home/domogik/domogik/src/domogik/xpl/bin# python velbus.py
Traceback (most recent call last):
File “velbus.py”, line 39, in
from domogik.xpl.lib.velbus import VelbusUSB
ImportError: cannot import name VelbusUSB
root@domogik:/home/domogik/domogik/src/domogik/xpl/bin#

What else can I do to troubleshoot?

seems that something is wrong with hg, try to do a new checkout and update it again …

Sorry, but what do you mean exactly with checkout? :unamused:

i think:

cd src/domogik/xpl/bin
hg restore velbus.py
cd src
hg pull
hg update

not tested as i’m at the airport

I have managed to restore the velbus.py file (size 5.901 bytes) but it still does not work see output below…

root@domogik:/home/domogik/domogik/src# hg pull
*** failed to import extension alias: No module named alias
pulling from hg.domogik.org/domogik
searching for changes
adding changesets
adding manifests
adding file changes
added 42 changesets with 100 changes to 101 files (+1 heads)
(run ‘hg heads’ to see heads, ‘hg merge’ to merge)
root@domogik:/home/domogik/domogik/src# hg update
*** failed to import extension alias: No module named alias
remote changed src/domogik/xpl/bin/velbus.py which local deleted
use ©hanged version or leave (d)eleted? c
merging src/domogik/examples/config/domogik.cfg
warning: conflicts during merge.
merging src/domogik/examples/config/domogik.cfg failed!
69 files updated, 0 files merged, 0 files removed, 1 files unresolved
use ‘hg resolve’ to retry unresolved file merges
root@domogik:/home/domogik/domogik/src# /etc/init.d/domogik restart

  • Stopping Plugins… Done.
  • Stopping XPL… Done.
  • Stopping Manager… Done.
  • Starting XPL… Done.
  • Starting Manager (with -d -r -p -E)…
    [INFO] Check if dbmgr is running.
    [INFO] Start dbmgr on domogik
    [INFO] Check if rest is running.
    [OK] Component dbmgr started with pid 6432
    [INFO] Start rest on domogik
    [INFO] Check non-system plugins to start at manager startup.
    [INFO] Start yweather on domogik
    [INFO] Start velbus on domogik
    [OK] Component yweather started with pid 6462
    [OK] Component rest started with pid 6446
    [ERROR] Component velbus failed to start. Please look in this component log files
    [OK] System manager initialized.
  • Updating packages cache… Done

When I click on a button the following message shows up…
RINOR : ‘No data or timeout on getting command response’ (/rinor/api/command/velbus/03-3/)

Clicking on another button shows this…
RINOR : “No xml file for ‘velbus/100.xml’” (/rinor/api/command/velbus/03-3/)

velbus.log tail…
root@domogik:/home/domogik/domogik/src# tail -f /var/log/domogik/velbus.log
2012-02-05 21:19:45,442 domogik-velbus DEBUG force_leave called
2012-02-05 21:19:45,454 domogik-velbus DEBUG Calling stop additionnal method : leave
2012-02-05 21:19:45,454 domogik-velbus DEBUG xPL thread stopped
2012-02-05 21:19:45,454 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, started -1224721552)>
2012-02-05 21:19:47,480 domogik-velbus INFO self._should_stop set, leave.
2012-02-05 21:19:47,480 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1224721552)>
2012-02-05 21:19:47,492 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, stopped -1233114256)>
2012-02-05 21:19:47,492 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, stopped -1233114256)>
2012-02-05 21:19:48,040 domogik-velbus DEBUG del Single xpl plugin
2012-02-05 21:19:48,076 domogik-velbus DEBUG force_leave called
root@domogik:/home/domogik/domogik/src# tail -f /var/log/domogik/velbus.log
2012-02-05 21:19:45,442 domogik-velbus DEBUG force_leave called
2012-02-05 21:19:45,454 domogik-velbus DEBUG Calling stop additionnal method : leave
2012-02-05 21:19:45,454 domogik-velbus DEBUG xPL thread stopped
2012-02-05 21:19:45,454 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, started -1224721552)>
2012-02-05 21:19:47,480 domogik-velbus INFO self._should_stop set, leave.
2012-02-05 21:19:47,480 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1224721552)>
2012-02-05 21:19:47,492 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, stopped -1233114256)>
2012-02-05 21:19:47,492 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, stopped -1233114256)>
2012-02-05 21:19:48,040 domogik-velbus DEBUG del Single xpl plugin
2012-02-05 21:19:48,076 domogik-velbus DEBUG force_leave called

can you makre a longer tail (add -n 200)

because the important info is not int it :slight_smile:

root@domogik:~# tail -f -n 300 /var/log/domogik/velbus.log

2012-02-05 21:00:25,430 domogik-velbus DEBUG force_leave called
2012-02-05 21:00:25,398 domogik-velbus DEBUG New message received : xpl-cmnd
2012-02-05 21:00:25,454 domogik-velbus DEBUG New message received : xpl-trig
2012-02-05 21:00:25,470 domogik-velbus DEBUG New message received : xpl-trig
2012-02-05 21:00:25,498 domogik-velbus DEBUG Try to stop timer <domogik.xpl.common.xplconnector.XplTimer instance at 0x990886c>
2012-02-05 21:00:25,506 domogik-velbus DEBUG New message received : xpl-trig
2012-02-05 21:00:25,506 domogik-velbus DEBUG Timer : stop, try to join() internal thread
2012-02-05 21:00:25,542 domogik-velbus INFO self._should_stop set, leave.
2012-02-05 21:00:25,570 domogik-velbus DEBUG Timer : stop, internal thread joined, unregister it
2012-02-05 21:00:25,590 domogik-velbus DEBUG ASk for timer unregister : <__InternalTimer(internal-timer, stopped -1252009104)>
2012-02-05 21:00:25,590 domogik-velbus DEBUG Timer stopped <domogik.xpl.common.xplconnector.XplTimer instance at 0x990886c>
2012-02-05 21:00:25,590 domogik-velbus DEBUG Calling stop additionnal method : leave
2012-02-05 21:00:25,618 domogik-velbus DEBUG xPL thread stopped
2012-02-05 21:00:25,618 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, stopped -1225225360)>
2012-02-05 21:00:25,618 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1225225360)>
2012-02-05 21:00:25,642 domogik-velbus DEBUG Try to stop thread <Thread(velbus-process-reader, stopped -1243616400)>
2012-02-05 21:00:25,642 domogik-velbus DEBUG Thread stopped <Thread(velbus-process-reader, stopped -1243616400)>
2012-02-05 21:00:25,642 domogik-velbus DEBUG Try to stop thread <__InternalTimer(internal-timer, stopped -1252009104)>
2012-02-05 21:00:25,666 domogik-velbus DEBUG Thread stopped <__InternalTimer(internal-timer, stopped -1252009104)>
2012-02-05 21:00:25,706 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, stopped -1268794512)>
2012-02-05 21:00:25,706 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, stopped -1268794512)>
2012-02-05 21:00:25,706 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, started -1268794512)>
2012-02-05 21:00:25,738 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, started -1268794512)>
2012-02-05 21:00:25,738 domogik-velbus INFO The thread write_packets_process was not registered, killing it
2012-02-05 21:01:36,214 domogik-velbus INFO Daemonize plugin velbus
2012-02-05 21:01:36,310 domogik-velbus DEBUG watcher fork
2012-02-05 21:01:36,350 domogik-velbus INFO ----------------------------------
2012-02-05 21:01:36,402 domogik-velbus INFO Starting plugin ‘velbus’ (new manager instance)
2012-02-05 21:01:36,494 domogik-velbus DEBUG Write pid file for pid ‘5428’ in file ‘/var/run/domogik/velbus.pid’
2012-02-05 21:01:36,530 domogik-velbus DEBUG xPL plugin velbus socket bound to 192.168.1.80, port 59888
2012-02-05 21:01:36,574 domogik-velbus DEBUG xPL thread started for velbus
2012-02-05 21:01:36,590 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘domogik.system’}
2012-02-05 21:01:36,590 domogik-velbus DEBUG end single xpl plugin
2012-02-05 21:01:36,606 domogik-velbus DEBUG Init config query instance
2012-02-05 21:01:36,614 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=use-socket
2012-02-05 21:01:36,626 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-05 21:01:36,638 domogik-velbus DEBUG normal send
2012-02-05 21:01:36,698 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=use-socket
}

2012-02-05 21:01:36,898 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=use-socket, v=None
2012-02-05 21:01:36,923 domogik-velbus DEBUG Config value received : use-socket : None
2012-02-05 21:01:36,939 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=device
2012-02-05 21:01:36,947 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-05 21:01:36,947 domogik-velbus DEBUG normal send
2012-02-05 21:01:36,955 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=device
}

2012-02-05 21:01:37,175 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=device, v=/dev/ttyACM0
2012-02-05 21:01:37,175 domogik-velbus DEBUG Config value received : device : /dev/ttyACM0
2012-02-05 21:01:37,251 domogik-velbus ERROR A socket device is in the form of :, exitting
2012-02-05 21:01:37,267 domogik-velbus DEBUG force_leave called
2012-02-05 21:01:37,267 domogik-velbus DEBUG Calling stop additionnal method : leave
2012-02-05 21:01:37,267 domogik-velbus DEBUG xPL thread stopped
2012-02-05 21:01:37,287 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, started -1223574672)>
2012-02-05 21:01:39,244 domogik-velbus INFO self._should_stop set, leave.
2012-02-05 21:01:39,300 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1223574672)>
2012-02-05 21:01:39,300 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, stopped -1231967376)>
2012-02-05 21:01:39,316 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, stopped -1231967376)>
2012-02-05 21:01:40,208 domogik-velbus DEBUG del Single xpl plugin
2012-02-05 21:01:40,216 domogik-velbus DEBUG force_leave called
2012-02-05 21:19:44,202 domogik-velbus INFO Daemonize plugin velbus
2012-02-05 21:19:44,254 domogik-velbus DEBUG watcher fork
2012-02-05 21:19:44,326 domogik-velbus INFO ----------------------------------
2012-02-05 21:19:44,366 domogik-velbus INFO Starting plugin ‘velbus’ (new manager instance)
2012-02-05 21:19:44,426 domogik-velbus DEBUG Write pid file for pid ‘6477’ in file ‘/var/run/domogik/velbus.pid’
2012-02-05 21:19:44,466 domogik-velbus DEBUG xPL plugin velbus socket bound to 192.168.1.80, port 56930
2012-02-05 21:19:44,546 domogik-velbus DEBUG xPL thread started for velbus
2012-02-05 21:19:44,574 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘domogik.system’}
2012-02-05 21:19:44,614 domogik-velbus DEBUG end single xpl plugin
2012-02-05 21:19:44,634 domogik-velbus DEBUG Init config query instance
2012-02-05 21:19:44,654 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=use-socket
2012-02-05 21:19:44,686 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-05 21:19:44,722 domogik-velbus DEBUG normal send
2012-02-05 21:19:44,766 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=use-socket
}

2012-02-05 21:19:45,158 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=use-socket, v=None
2012-02-05 21:19:45,158 domogik-velbus DEBUG Config value received : use-socket : None
2012-02-05 21:19:45,206 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=device
2012-02-05 21:19:45,206 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-05 21:19:45,206 domogik-velbus DEBUG normal send
2012-02-05 21:19:45,218 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=device
}

2012-02-05 21:19:45,374 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=device, v=/dev/ttyACM0
2012-02-05 21:19:45,374 domogik-velbus DEBUG Config value received : device : /dev/ttyACM0
2012-02-05 21:19:45,430 domogik-velbus ERROR A socket device is in the form of :, exitting
2012-02-05 21:19:45,442 domogik-velbus DEBUG force_leave called
2012-02-05 21:19:45,454 domogik-velbus DEBUG Calling stop additionnal method : leave
2012-02-05 21:19:45,454 domogik-velbus DEBUG xPL thread stopped
2012-02-05 21:19:45,454 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, started -1224721552)>
2012-02-05 21:19:47,480 domogik-velbus INFO self._should_stop set, leave.
2012-02-05 21:19:47,480 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1224721552)>
2012-02-05 21:19:47,492 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, stopped -1233114256)>
2012-02-05 21:19:47,492 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, stopped -1233114256)>
2012-02-05 21:19:48,040 domogik-velbus DEBUG del Single xpl plugin
2012-02-05 21:19:48,076 domogik-velbus DEBUG force_leave called
2012-02-05 21:51:35,528 domogik-velbus INFO Daemonize plugin velbus
2012-02-05 21:51:35,576 domogik-velbus DEBUG watcher fork
2012-02-05 21:51:35,580 domogik-velbus INFO ----------------------------------
2012-02-05 21:51:35,612 domogik-velbus INFO Starting plugin ‘velbus’ (new manager instance)
2012-02-05 21:51:35,632 domogik-velbus DEBUG Write pid file for pid ‘8109’ in file ‘/var/run/domogik/velbus.pid’
2012-02-05 21:51:35,640 domogik-velbus DEBUG xPL plugin velbus socket bound to 192.168.1.80, port 49381
2012-02-05 21:51:35,688 domogik-velbus DEBUG xPL thread started for velbus
2012-02-05 21:51:35,688 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘domogik.system’}
2012-02-05 21:51:35,692 domogik-velbus DEBUG end single xpl plugin
2012-02-05 21:51:35,692 domogik-velbus DEBUG Init config query instance
2012-02-05 21:51:35,724 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=use-socket
2012-02-05 21:51:35,728 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-05 21:51:35,732 domogik-velbus DEBUG normal send
2012-02-05 21:51:35,736 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=use-socket
}

2012-02-05 21:51:35,880 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=use-socket, v=None
2012-02-05 21:51:35,880 domogik-velbus DEBUG Config value received : use-socket : None
2012-02-05 21:51:35,928 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=device
2012-02-05 21:51:35,928 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-05 21:51:35,932 domogik-velbus DEBUG normal send
2012-02-05 21:51:35,949 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=device
}

2012-02-05 21:51:36,069 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=device, v=/dev/ttyACM0
2012-02-05 21:51:36,073 domogik-velbus DEBUG Config value received : device : /dev/ttyACM0
2012-02-05 21:51:36,113 domogik-velbus ERROR A socket device is in the form of :, exitting
2012-02-05 21:51:36,113 domogik-velbus DEBUG force_leave called
2012-02-05 21:51:36,113 domogik-velbus DEBUG Calling stop additionnal method : leave
2012-02-05 21:51:36,117 domogik-velbus DEBUG xPL thread stopped
2012-02-05 21:51:36,121 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, started -1223890064)>
2012-02-05 21:51:38,078 domogik-velbus INFO self._should_stop set, leave.
2012-02-05 21:51:52,690 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1223890064)>
2012-02-05 21:51:52,690 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, stopped -1232282768)>
2012-02-05 21:51:52,698 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, stopped -1232282768)>
2012-02-05 21:51:53,098 domogik-velbus DEBUG del Single xpl plugin
2012-02-05 21:51:53,102 domogik-velbus DEBUG force_leave called
2012-02-05 21:54:22,242 domogik-velbus INFO Daemonize plugin velbus
2012-02-05 21:54:22,278 domogik-velbus DEBUG watcher fork
2012-02-05 21:54:22,290 domogik-velbus INFO ----------------------------------
2012-02-05 21:54:22,314 domogik-velbus INFO Starting plugin ‘velbus’ (new manager instance)
2012-02-05 21:54:22,330 domogik-velbus DEBUG Write pid file for pid ‘8254’ in file ‘/var/run/domogik/velbus.pid’
2012-02-05 21:54:22,342 domogik-velbus DEBUG xPL plugin velbus socket bound to 192.168.1.80, port 34859
2012-02-05 21:54:22,354 domogik-velbus DEBUG xPL thread started for velbus
2012-02-05 21:54:22,354 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘domogik.system’}
2012-02-05 21:54:22,358 domogik-velbus DEBUG end single xpl plugin
2012-02-05 21:54:22,382 domogik-velbus DEBUG Init config query instance
2012-02-05 21:54:22,410 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=use-socket
2012-02-05 21:54:22,410 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-05 21:54:22,426 domogik-velbus DEBUG normal send
2012-02-05 21:54:22,430 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=use-socket
}

2012-02-05 21:54:22,522 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=use-socket, v=None
2012-02-05 21:54:22,526 domogik-velbus DEBUG Config value received : use-socket : None
2012-02-05 21:54:22,570 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=device
2012-02-05 21:54:22,570 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-05 21:54:22,570 domogik-velbus DEBUG normal send
2012-02-05 21:54:22,578 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=device
}

2012-02-05 21:54:22,674 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=device, v=/dev/ttyACM0
2012-02-05 21:54:22,690 domogik-velbus DEBUG Config value received : device : /dev/ttyACM0
2012-02-05 21:54:22,754 domogik-velbus ERROR A socket device is in the form of :, exitting
2012-02-05 21:54:22,754 domogik-velbus DEBUG force_leave called
2012-02-05 21:54:22,754 domogik-velbus DEBUG Calling stop additionnal method : leave
2012-02-05 21:54:22,758 domogik-velbus DEBUG xPL thread stopped
2012-02-05 21:54:22,758 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, started -1223386256)>
2012-02-05 21:54:24,679 domogik-velbus INFO self._should_stop set, leave.
2012-02-05 21:54:24,679 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1223386256)>
2012-02-05 21:54:24,683 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, stopped -1231778960)>
2012-02-05 21:54:24,683 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, stopped -1231778960)>
2012-02-05 21:54:24,867 domogik-velbus DEBUG del Single xpl plugin
2012-02-05 21:54:24,875 domogik-velbus DEBUG force_leave called

ok,

the configuration is incorrect at the webapp

what does the webapp show when you go the configuration part?

to use serial:
use-socket should be unchecked
device: /devttyAC0

to use a socket:
use-socket should be checked
device should be in the form of ip:port

save the config, and then the plugin will start

I have not changed the default configuration (see attached screenshot).
Yes, I agree the velbus plugin configuration has changed.
How should I now set the options?

Settings of velbus plugin:
Key Description value Actions
startup-plugin Required Automatically start plugin at Domogik startup (enabled this one)
use-socket Required use a TCP socket instead of a serial port (Not configured)
device Required velbus device (/dev/ttyACM0 for serial, or ip:port for socket (/dev/ttyACM0)

Why does this forum not allow users to upload a screenshot or another image?

try checking the use-socket and save, then uncheck and save.

Seems that domoweb is not handling the saving very well …

Hi,

I have tried your instructions twice but domogik keeps failing to start the velbus plugin (see logs here below)

2012-02-06 12:38:56,463 domogik-velbus INFO Daemonize plugin velbus
2012-02-06 12:38:56,483 domogik-velbus DEBUG watcher fork
2012-02-06 12:38:56,487 domogik-velbus INFO ----------------------------------
2012-02-06 12:38:56,511 domogik-velbus INFO Starting plugin ‘velbus’ (new manager instance)
2012-02-06 12:38:56,523 domogik-velbus DEBUG Write pid file for pid ‘23288’ in file ‘/var/run/domogik/velbus.pid’
2012-02-06 12:38:56,535 domogik-velbus DEBUG xPL plugin velbus socket bound to 192.168.1.80, port 40245
2012-02-06 12:38:56,580 domogik-velbus DEBUG xPL thread started for velbus
2012-02-06 12:38:56,584 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘domogik.system’}
2012-02-06 12:38:56,588 domogik-velbus DEBUG end single xpl plugin
2012-02-06 12:38:56,588 domogik-velbus DEBUG Init config query instance
2012-02-06 12:38:56,604 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=use-socket
2012-02-06 12:38:56,604 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-06 12:38:56,612 domogik-velbus DEBUG normal send
2012-02-06 12:38:56,632 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=use-socket
}

2012-02-06 12:38:56,716 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=use-socket, v=True
2012-02-06 12:38:56,720 domogik-velbus DEBUG Config value received : use-socket : True
2012-02-06 12:38:56,768 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=device
2012-02-06 12:38:56,768 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-06 12:38:56,768 domogik-velbus DEBUG normal send
2012-02-06 12:38:56,776 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=device
}

2012-02-06 12:38:56,852 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=device, v=/dev/ttyACM0
2012-02-06 12:38:56,860 domogik-velbus DEBUG Config value received : device : /dev/ttyACM0
2012-02-06 12:38:56,916 domogik-velbus ERROR A socket device is in the form of :, exitting
2012-02-06 12:38:56,920 domogik-velbus DEBUG force_leave called
2012-02-06 12:38:56,920 domogik-velbus DEBUG Calling stop additionnal method : leave
2012-02-06 12:38:56,920 domogik-velbus DEBUG xPL thread stopped
2012-02-06 12:38:56,920 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, started -1225110672)>
2012-02-06 12:38:58,857 domogik-velbus INFO self._should_stop set, leave.
2012-02-06 12:38:58,857 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1225110672)>
2012-02-06 12:38:58,857 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, stopped -1233503376)>
2012-02-06 12:38:58,865 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, stopped -1233503376)>
2012-02-06 12:38:59,005 domogik-velbus DEBUG del Single xpl plugin
2012-02-06 12:38:59,009 domogik-velbus DEBUG force_leave called
2012-02-06 12:41:35,781 domogik-velbus INFO Daemonize plugin velbus
2012-02-06 12:41:35,809 domogik-velbus INFO ----------------------------------
2012-02-06 12:41:35,829 domogik-velbus INFO Starting plugin ‘velbus’ (new manager instance)
2012-02-06 12:41:35,813 domogik-velbus DEBUG watcher fork
2012-02-06 12:41:35,845 domogik-velbus DEBUG Write pid file for pid ‘23498’ in file ‘/var/run/domogik/velbus.pid’
2012-02-06 12:41:35,853 domogik-velbus DEBUG xPL plugin velbus socket bound to 192.168.1.80, port 58475
2012-02-06 12:41:35,865 domogik-velbus DEBUG xPL thread started for velbus
2012-02-06 12:41:35,865 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘domogik.system’}
2012-02-06 12:41:35,865 domogik-velbus DEBUG end single xpl plugin
2012-02-06 12:41:35,897 domogik-velbus DEBUG Init config query instance
2012-02-06 12:41:35,905 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=use-socket
2012-02-06 12:41:35,909 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-06 12:41:35,925 domogik-velbus DEBUG normal send
2012-02-06 12:41:35,929 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=use-socket
}

2012-02-06 12:41:36,037 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=use-socket, v=False
2012-02-06 12:41:36,037 domogik-velbus DEBUG Config value received : use-socket : False
2012-02-06 12:41:36,065 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=device
2012-02-06 12:41:36,065 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-06 12:41:36,065 domogik-velbus DEBUG normal send
2012-02-06 12:41:36,097 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=device
}

2012-02-06 12:41:36,157 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=device, v=/dev/ttyACM0
2012-02-06 12:41:36,157 domogik-velbus DEBUG Config value received : device : /dev/ttyACM0
2012-02-06 12:41:36,189 domogik-velbus ERROR A socket device is in the form of :, exitting
2012-02-06 12:41:36,189 domogik-velbus DEBUG force_leave called
2012-02-06 12:41:36,193 domogik-velbus DEBUG Calling stop additionnal method : leave
2012-02-06 12:41:36,197 domogik-velbus DEBUG xPL thread stopped
2012-02-06 12:41:36,201 domogik-velbus DEBUG Try to stop thread <Thread(thread-monitor, started -1224836240)>
2012-02-06 12:41:38,154 domogik-velbus INFO self._should_stop set, leave.
2012-02-06 12:41:38,154 domogik-velbus DEBUG Thread stopped <Thread(thread-monitor, stopped -1224836240)>
2012-02-06 12:41:38,154 domogik-velbus DEBUG Try to stop thread <Thread(Manager-new-message-cb, stopped -1233228944)>
2012-02-06 12:41:38,154 domogik-velbus DEBUG Thread stopped <Thread(Manager-new-message-cb, stopped -1233228944)>
2012-02-06 12:41:38,286 domogik-velbus DEBUG del Single xpl plugin
2012-02-06 12:41:38,290 domogik-velbus DEBUG force_leave called

Hmm,

a small mistake in the vebus.py file

inside xpl/bin run:
hg pull
hg update

and try again

Hi,

Thanks a lot. You do have pretty good analysis and troubleshooting skills.
It does work brilliantly now. I have found your most recent script update on hg.domogik.org/hgwebdir.cgi/domo … 02da01d997

Here is the most recent velbug.log tail output…
2012-02-06 13:39:37,621 domogik-velbus INFO Daemonize plugin velbus
2012-02-06 13:39:37,641 domogik-velbus DEBUG watcher fork
2012-02-06 13:39:37,653 domogik-velbus INFO ----------------------------------
2012-02-06 13:39:37,665 domogik-velbus INFO Starting plugin ‘velbus’ (new manager instance)
2012-02-06 13:39:37,677 domogik-velbus DEBUG Write pid file for pid ‘26342’ in file ‘/var/run/domogik/velbus.pid’
2012-02-06 13:39:37,685 domogik-velbus DEBUG xPL plugin velbus socket bound to 192.168.1.80, port 54260
2012-02-06 13:39:37,693 domogik-velbus DEBUG xPL thread started for velbus
2012-02-06 13:39:37,693 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘domogik.system’}
2012-02-06 13:39:37,693 domogik-velbus DEBUG end single xpl plugin
2012-02-06 13:39:37,697 domogik-velbus DEBUG Init config query instance
2012-02-06 13:39:37,745 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=use-socket
2012-02-06 13:39:37,749 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-06 13:39:37,757 domogik-velbus DEBUG normal send
2012-02-06 13:39:37,777 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=use-socket
}

2012-02-06 13:39:37,861 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=use-socket, v=False
2012-02-06 13:39:37,861 domogik-velbus DEBUG Config value received : use-socket : False
2012-02-06 13:39:37,913 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=use-socket
2012-02-06 13:39:37,913 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-06 13:39:37,913 domogik-velbus DEBUG normal send
2012-02-06 13:39:37,921 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=use-socket
}

2012-02-06 13:39:37,993 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=use-socket, v=False
2012-02-06 13:39:37,993 domogik-velbus DEBUG Config value received : use-socket : False
2012-02-06 13:39:38,005 domogik-velbus DEBUG QC : ask > h=domogik, t=velbus, k=device
2012-02-06 13:39:38,005 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-stat’, ‘technology’: ‘velbus’, ‘hostname’: ‘domogik’, ‘schema’: ‘domogik.config’}
2012-02-06 13:39:38,005 domogik-velbus DEBUG normal send
2012-02-06 13:39:38,021 domogik-velbus DEBUG xPL Message sent by thread MainThread : xpl-cmnd
{
hop=1
source=domogik-velbus.domogik
target=*
}
domogik.config
{
technology=velbus
hostname=domogik
key=device
}

2012-02-06 13:39:38,089 domogik-velbus DEBUG QC : res > h=domogik, t=velbus, k=device, v=/dev/ttyACM0
2012-02-06 13:39:38,089 domogik-velbus DEBUG Config value received : device : /dev/ttyACM0
2012-02-06 13:39:38,113 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘lighting.basic’}
2012-02-06 13:39:38,113 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘shutter.basic’}
2012-02-06 13:39:38,117 domogik-velbus INFO Try to open VELBUS: /dev/ttyACM0
2012-02-06 13:39:38,117 domogik-velbus INFO VELBUS opened
2012-02-06 13:39:38,121 domogik-velbus INFO write deamon
2012-02-06 13:39:38,125 domogik-velbus DEBUG Try to enable Heartbeat
2012-02-06 13:39:38,137 domogik-velbus DEBUG New timer registered : <domogik.xpl.common.xplconnector.XplTimer instance at 0xa21eeac>
2012-02-06 13:39:38,153 domogik-velbus DEBUG New timer created : <domogik.xpl.common.xplconnector.XplTimer instance at 0xa21eeac>
2012-02-06 13:39:38,161 domogik-velbus INFO Start listening VELBUS
2012-02-06 13:39:38,177 domogik-velbus DEBUG New listener, filter : {‘xpltype’: ‘xpl-cmnd’, ‘schema’: ‘hbeat.request’}
2012-02-06 13:39:38,177 domogik-velbus DEBUG Heartbeat enabled
2012-02-06 13:41:05,531 domogik-velbus INFO schema:lighting.device, data:OrderedDict((‘level’, ‘255’), (‘device’, ‘03-3’)])
2012-02-06 13:41:05,543 domogik-velbus DEBUG normal send
2012-02-06 13:41:05,571 domogik-velbus DEBUG xPL Message sent by thread Manager-new-message-cb : xpl-trig
{
hop=1
source=domogik-velbus.domogik
target=*
}
lighting.device
{
level=255
device=03-3
}

2012-02-06 13:41:05,571 domogik-velbus DEBUG set relay on
2012-02-06 13:41:05,583 domogik-velbus INFO write packet
2012-02-06 13:41:05,587 domogik-velbus INFO START SENDING PACKET 0x3
2012-02-06 13:41:05,591 domogik-velbus DEBUG 8
2012-02-06 13:41:08,152 domogik-velbus INFO schema:lighting.device, data:OrderedDict((‘level’, ‘0’), (‘device’, ‘03-3’)])
2012-02-06 13:41:08,168 domogik-velbus DEBUG normal send
2012-02-06 13:41:08,204 domogik-velbus DEBUG xPL Message sent by thread Manager-new-message-cb : xpl-trig
{
hop=1
source=domogik-velbus.domogik
target=*
}
lighting.device
{
level=0
device=03-3
}

2012-02-06 13:41:08,220 domogik-velbus DEBUG set relay off
2012-02-06 13:41:08,220 domogik-velbus INFO write packet
2012-02-06 13:41:08,248 domogik-velbus INFO START SENDING PACKET 0x3
2012-02-06 13:41:08,256 domogik-velbus DEBUG 8
2012-02-06 13:41:10,357 domogik-velbus INFO schema:lighting.device, data:OrderedDict((‘level’, ‘255’), (‘device’, ‘03-1’)])
2012-02-06 13:41:10,361 domogik-velbus DEBUG normal send
2012-02-06 13:41:10,401 domogik-velbus DEBUG xPL Message sent by thread Manager-new-message-cb : xpl-trig
{
hop=1
source=domogik-velbus.domogik
target=*
}
lighting.device
{
level=255
device=03-1
}

2012-02-06 13:41:10,409 domogik-velbus DEBUG set relay on
2012-02-06 13:41:10,409 domogik-velbus INFO write packet
2012-02-06 13:41:10,417 domogik-velbus INFO START SENDING PACKET 0x3
2012-02-06 13:41:10,417 domogik-velbus DEBUG 8
2012-02-06 13:41:11,482 domogik-velbus INFO schema:lighting.device, data:OrderedDict((‘level’, ‘0’), (‘device’, ‘03-1’)])
2012-02-06 13:41:11,486 domogik-velbus DEBUG normal send
2012-02-06 13:41:11,514 domogik-velbus DEBUG xPL Message sent by thread Manager-new-message-cb : xpl-trig
{
hop=1
source=domogik-velbus.domogik
target=*
}
lighting.device
{
level=0
device=03-1
}

2012-02-06 13:41:11,538 domogik-velbus DEBUG set relay off
2012-02-06 13:41:11,550 domogik-velbus INFO write packet
2012-02-06 13:41:11,582 domogik-velbus INFO START SENDING PACKET 0x3
2012-02-06 13:41:11,582 domogik-velbus DEBUG 8
2012-02-06 13:41:12,454 domogik-velbus INFO schema:lighting.device, data:OrderedDict((‘level’, ‘255’), (‘device’, ‘02-3’)])
2012-02-06 13:41:12,466 domogik-velbus DEBUG normal send
2012-02-06 13:41:12,474 domogik-velbus DEBUG xPL Message sent by thread Manager-new-message-cb : xpl-trig
{
hop=1
source=domogik-velbus.domogik
target=*
}
lighting.device
{
level=255
device=02-3
}

2012-02-06 13:41:12,474 domogik-velbus DEBUG set relay on
2012-02-06 13:41:12,478 domogik-velbus INFO write packet
2012-02-06 13:41:12,478 domogik-velbus INFO START SENDING PACKET 0x2
2012-02-06 13:41:12,502 domogik-velbus DEBUG 8
2012-02-06 13:41:14,452 domogik-velbus INFO schema:lighting.device, data:OrderedDict((‘level’, ‘0’), (‘device’, ‘02-3’)])
2012-02-06 13:41:14,452 domogik-velbus DEBUG normal send
2012-02-06 13:41:14,484 domogik-velbus DEBUG xPL Message sent by thread Manager-new-message-cb : xpl-trig
{
hop=1
source=domogik-velbus.domogik
target=*
}
lighting.device
{
level=0
device=02-3
}

2012-02-06 13:41:14,484 domogik-velbus DEBUG set relay off
2012-02-06 13:41:14,496 domogik-velbus INFO write packet
2012-02-06 13:41:14,500 domogik-velbus INFO START SENDING PACKET 0x2
2012-02-06 13:41:14,508 domogik-velbus DEBUG 8