Config.ini

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(rename config file)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= system.conf =
 
= system.conf =
The file /etc/opt/agocontrol/system.conf is used to configure the components of ago control. It consists of a "global" section and sections for the specific components like device interfaces. Here is an example config:
+
The file /etc/opt/agocontrol/conf.d/system.conf is used to configure the core settings for the components of ago control. Here is an example config:
  
 
<pre>
 
<pre>
Line 7: Line 7:
 
broker=127.0.0.1
 
broker=127.0.0.1
  
 +
# when you change username and/or password, you also need to adjust the qpid sasl db to reflect the change
 
username=agocontrol
 
username=agocontrol
 
password=letmein
 
password=letmein
 +
units=SI
  
 
# coordinates for sunrise/sunset event calculation
 
# coordinates for sunrise/sunset event calculation
Line 17: Line 19:
 
debug=WARN
 
debug=WARN
  
[devices]
+
</pre>
queue=agocontrol
+
  
[knx]
+
*Note- Use "SI" for Metric and "IP" for the Inch-Pound system.
url=ip:127.0.0.1:6720
+
 
+
[zwave]
+
device=/dev/ttyUSB0
+
 
+
[chromoflex]
+
uuid=489ad103-0dfc-4023-aac2-10d65b4bab0d
+
device=/dev/ttyS_chromo
+
 
+
[owfs]
+
device=/dev/usbowfs
+
 
+
[enocean]
+
device=/dev/usbenocean
+
</pre>
+

Latest revision as of 04:37, 17 March 2015

[edit] system.conf

The file /etc/opt/agocontrol/conf.d/system.conf is used to configure the core settings for the components of ago control. Here is an example config:

[system]
uuid=1258d9f3-47d6-4548-a2ad-3e422d336909
broker=127.0.0.1

# when you change username and/or password, you also need to adjust the qpid sasl db to reflect the change
username=agocontrol
password=letmein
units=SI

# coordinates for sunrise/sunset event calculation
lat=47.07
lon=15.42

# debug: WARN, DEBUG
debug=WARN

  • Note- Use "SI" for Metric and "IP" for the Inch-Pound system.
Personal tools