Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
livebox:xap_adapter [2011/12/18 18:13] – brett | livebox:xap_adapter [2012/03/04 09:53] – [1-Wire] Copied 1wire information from 305 release notes karl | ||
---|---|---|---|
Line 5: | Line 5: | ||
< | < | ||
# 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: | xap-livebox: | ||
- | -n, --instance NAME Default Controller | ||
-i, --interface IF | -i, --interface IF | ||
- | -p, --port NUM | ||
-s, --serial DEV | -s, --serial DEV | ||
- | -d, --debug | + | |
+ | | ||
-h, --help | -h, --help | ||
# | # | ||
Line 26: | Line 24: | ||
The webserver interacts with this daemon by using an internal (127.0.0.1) socket connection on port 79. This allows each component to be restarted independently of the other. | The webserver interacts with this daemon by using an internal (127.0.0.1) socket connection on port 79. This allows each component to be restarted independently of the other. | ||
- | ===== 1-Wire | + | ===== Inputs and Relays |
- | + | ||
- | <code ini> | + | |
- | [1-Wire] | + | |
- | # Up to 15x 1-wire devices may be supported increasing the number | + | |
- | # beyond what you have attached simply presents more xAP endpoints than | + | |
- | # you have devices for. | + | |
- | devices=1 | + | |
- | sensor1.label=Office | + | |
- | </ | + | |
- | Each sensor can be given a label using the nomenclature " | + | {{: |
- | + | ||
- | ===== Inputs and Relays ===== | + | |
These sections allow us to configure user friendly names that will appear on the webserver interface. | These sections allow us to configure user friendly names that will appear on the webserver interface. | ||
Line 58: | Line 45: | ||
The inputs are exposed as four pairs of terminal blocks. Simply short the adjacent terminals together to turn the input on. Looking at the connectors, with the LCD connector on the right, each pair is one input. Numbered (left to right) 2,1,4,3. If your environment is ' | The inputs are exposed as four pairs of terminal blocks. Simply short the adjacent terminals together to turn the input on. Looking at the connectors, with the LCD connector on the right, each pair is one input. Numbered (left to right) 2,1,4,3. If your environment is ' | ||
+ | |||
+ | ===== 1-Wire ===== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <code ini> | ||
+ | # Up to 15x 1-wire devices may be supported increasing the number | ||
+ | # beyond what you have attached simply presents more xAP endpoints than | ||
+ | # you have devices for. | ||
+ | [1wire] | ||
+ | sensor1.label=livebox-temp | ||
+ | devices=1 | ||
+ | timeout=0 | ||
+ | temp_unit=C | ||
+ | sensor1.romid=282E2DCB010000A928 | ||
+ | </ | ||
+ | |||
+ | Each sensor can be given a label using the nomenclature " | ||
+ | |||
+ | 1wire devices can be setup with a calibration (offset) and hysteresis. | ||