Difference between revisions of "EIB/KNX with eibd"
(Added notes about how to add EIB/KNX devices to the device tree when using the eibd driver.) |
(→Use EIBd) |
||
Line 58: | Line 58: | ||
* Add the EIB device to your device tree | * Add the EIB device to your device tree | ||
* Don't use the EIB Submenu to add devices, but use the regular lighting etc devices. | * Don't use the EIB Submenu to add devices, but use the regular lighting etc devices. | ||
− | + | === Adding a light switch === | |
− | + | For a regular on/off light this is device template 37 | |
− | + | * In ETS you need to create two new group addresses. | |
− | + | ** One group address to on/off the device (let's assume 0/0/1) | |
− | + | ** One group address to read the status of the device (let's assume 0/0/2) | |
− | + | * In the newly added device of device template 37, the channel has to be on-off-GA|status-GA, i.e. in our example it would be '''0/0/1|0/0/2'''. | |
− | + | === Adding drape control === | |
− | + | For a drapes switch we use the device template 68 (the drapes switch is also under lights) | |
− | + | * In ETS you need to create four new group addresses. | |
− | + | ** One group address to open the drapes a specific percentage (let's assume 0/0/3) | |
− | + | ** One group address to read the open percentage (let's assume 0/0/4) | |
− | + | ** One group address to open/close the drapes (let's assume 0/0/5) | |
− | + | ** One group address to stop the drapes movements (let's assume 0/0/6) | |
+ | * In the newly added device of device template 68, the channel has to be open%-GA|open-amount-status-GA|open-close-GA|stop-movement-GA, i.e. in our example it would be '''0/0/3|0/0/4|0/0/5|0/0/6''' | ||
== Send time/date to KNX == | == Send time/date to KNX == |
Revision as of 23:13, 13 September 2010
Version | Status | Date Updated | Updated By |
---|---|---|---|
710 | Unknown | N/A | N/A |
810 | Unknown | N/A | N/A |
1004 | Unknown | N/A | N/A |
1204 | Unknown | N/A | N/A |
1404 | Unknown | N/A | N/A |
Usage Information |
what
this page is an help one, made up to install the version of EIB that i started to make
the aim is to install an EIB version which can be uses several devices: ip, usb,...
the physical part issupported by the eibd program.
Hardware Compatibility
The eibd project has a wiki with lots of hardware compatibility information.
installing eibd
look here:
http://www.auto.tuwien.ac.at/~mkoegler/index.php/eibdeb
i link the page in case they want to modify it.. thus this page doesn't have to be modified too
installation of EIB
LinuxMCE 0810 alpha
No device data needed but you need to make sure that eibd is running. The driver is in the src/EIB-eibd directory of the 0810 branch.
linuxmce 710
you first need to get a partially compiled version of linuxmce 710, and its sources. you may have problems doing so, but if the libs are compiled there is no actual matter. see Compiling from 710 sources to get one.
when it's done, grab the file at
http://mantis.linuxmce.org/view.php?id=4299
(you need to create an account, until someone releases it )
then untar it and copy it instead of the former EIB sources.(rename them to be able to get them later, just in case).
then you must connect to lmce webadmin, and go in advanced=> templates. here modify the EIB template, so it has the following parameters:
bus type bus address
both must be string. type must be one of:
- ft12
- bcu1
- tpuart24
- tpuart
- ip
- ipt
- bcu1s
- tpuarts
- usb
address is required for ip, ipt and usb
(type in console eibd --help for details.)
now you must compile and run sql2cpp: place yourself in the source folder, run
cd sql2cpp; make; ./sql2cpp
and you template modifications are recorded you just have to place yourself in the EIB source folder, type
make
to get the EIB programm. rename the former one in /usr/pluto/bin (such as old_EIB) and move the one you compiled instead. restart your lmce router
dont forget to modify the existing EIB so that it has good launching parameters!
Use EIBd
- Add the EIB device to your device tree
- Don't use the EIB Submenu to add devices, but use the regular lighting etc devices.
Adding a light switch
For a regular on/off light this is device template 37
- In ETS you need to create two new group addresses.
- One group address to on/off the device (let's assume 0/0/1)
- One group address to read the status of the device (let's assume 0/0/2)
- In the newly added device of device template 37, the channel has to be on-off-GA|status-GA, i.e. in our example it would be 0/0/1|0/0/2.
Adding drape control
For a drapes switch we use the device template 68 (the drapes switch is also under lights)
- In ETS you need to create four new group addresses.
- One group address to open the drapes a specific percentage (let's assume 0/0/3)
- One group address to read the open percentage (let's assume 0/0/4)
- One group address to open/close the drapes (let's assume 0/0/5)
- One group address to stop the drapes movements (let's assume 0/0/6)
- In the newly added device of device template 68, the channel has to be open%-GA|open-amount-status-GA|open-close-GA|stop-movement-GA, i.e. in our example it would be 0/0/3|0/0/4|0/0/5|0/0/6
Send time/date to KNX
http://www.hoerndlein.de/cms/attachments/eibtime.pl