livebox:xap_adapter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
livebox:xap_adapter [2011/12/18 18:18] brettlivebox:xap_adapter [2012/03/20 12:13] (current) – [1-Wire] minerva9
Line 5: Line 5:
 <code> <code>
 # xap-livebox --help # xap-livebox --help
- +Livebox Connector for xAP 
-Livebox Connector for xAP v12 +Copyright (C) DBzoo, 2008-2010
-Copyright (C) DBzoo, 2008,2009+
  
 xap-livebox: [options] xap-livebox: [options]
-  -n, --instance NAME    Default Controller 
   -i, --interface IF     Default br0   -i, --interface IF     Default br0
-  -p, --port NUM         Default 3639 
   -s, --serial DEV       Default /dev/ttyS0   -s, --serial DEV       Default /dev/ttyS0
-  -d, --debug            0-9+  -b, --baud RATE        Default 115200 
 +  -d, --debug            0-7
   -h, --help   -h, --help
 # #
Line 53: Line 51:
  
 <code ini> <code ini>
-[1-Wire] 
 # Up to 15x 1-wire devices may be supported increasing the number # Up to 15x 1-wire devices may be supported increasing the number
 # beyond what you have attached simply presents more xAP endpoints than # beyond what you have attached simply presents more xAP endpoints than
 # you have devices for. # you have devices for.
 +[1wire]
 +sensor1.label=livebox-temp
 devices=1 devices=1
-sensor1.label=Office+timeout=0 
 +temp_unit=C 
 +sensor1.romid=282E2DCB010000A928
 </code> </code>
  
 Each sensor can be given a label using the nomenclature "sensor#.label=<your label>" These are best setup using the WEB interface but can be done manually too. The assigned label will be included in the xAP message that is generated when the temperature changes. The 'displaytext' tag will have the format 'displaytext=<label> <temperature>' e.g. displaytext=Inside 21.0 Each sensor can be given a label using the nomenclature "sensor#.label=<your label>" These are best setup using the WEB interface but can be done manually too. The assigned label will be included in the xAP message that is generated when the temperature changes. The 'displaytext' tag will have the format 'displaytext=<label> <temperature>' e.g. displaytext=Inside 21.0
  
 +1wire devices can be setup with a calibration (offset) and hysteresis.   This allows you to adjust the reading from each device to allow for variances in their readings.  The hysteresis is used to prevent jitter from the devices triggering an event message.  The offset may be positive or negative.  The hysteresis is a positive value.  Both values are floating point.
  
  • livebox/xap_adapter.1324232280.txt.gz
  • Last modified: 2011/12/18 18:18
  • (external edit)