KNX

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(eibd connection)
Line 25: Line 25:
 
</devices>
 
</devices>
 
</pre>
 
</pre>
 +
=== Starting eibd ===
 +
When you want to use a local eibd instance, you need to start it first. These are quite common options for an IP KNX interface (assuming 1.2.3.4 for its address):
 +
eibd -D -T -R -S -i -u ipt:1.2.3.4
 +
=== starting agoknx ===
 +
You can start agoknx via systemctl:
 +
systemctl start agoknx.service
 +
Don't forget to enable it when it shall start automatically on reboot:
 +
systemctl enable agoknx.service
 +
You can also start it manually, just execute it:
 +
/opt/agocontrol/bin/agoknx

Revision as of 11:41, 22 November 2012

Contents

Dependencies

agoknx depends on eibd. You can install debian packages after adding the following to the sources.list:

deb http://www.auto.tuwien.ac.at/~mkoegler/debian/ eib main

Configuration

eibd connection

You can specify a connection URL for eibd with the following config.ini snippet:

[knx]
url=ip:127.0.0.1:6720

This is already set as default when no setting is done via the config file.

Device configuration

The device configuration is done via a XML file named "/etc/opt/agocontrol/knx/devices.xml". You can override the path with a "devicesfile=..." entry in the config.ini. This XML file defines the mapping between group addresses (GA) and ago control devices. The mapping is done like this:

<devices>
  <device uuid="5e4c10c2-05ab-46eb-ad9d-4dc39f4d4913" type="switch">
	<ga type="onoff">0/0/101</ga>
	<ga type="onoffstatus">0/0/102</ga>
  </device>
  <device uuid="4b568cb7-26be-4486-ad7e-0a16f9915162" type="drapes">
	<ga type="onoff">0/0/33</ga>
	<ga type="setlevel">0/0/32</ga>
	<ga type="levelstatus">0/0/31</ga>
	<ga type="stop">0/0/34</ga>
  </device>
</devices>

Starting eibd

When you want to use a local eibd instance, you need to start it first. These are quite common options for an IP KNX interface (assuming 1.2.3.4 for its address):

eibd -D -T -R -S -i -u ipt:1.2.3.4

starting agoknx

You can start agoknx via systemctl:

systemctl start agoknx.service

Don't forget to enable it when it shall start automatically on reboot:

systemctl enable agoknx.service

You can also start it manually, just execute it:

/opt/agocontrol/bin/agoknx
Personal tools