|
1 | 1 | # ContromeToOpenHAB |
2 | | -Tool to create openHAB Config Files from a Controme Server |
| 2 | +Tool to create openHAB 2 config files from a Controme Server. |
| 3 | + |
| 4 | +It will automaticly create: |
| 5 | + |
| 6 | +1. A item file containig items to get the current temprature and acces the target temprature for each room |
| 7 | +2. A rule file managing all required proxy items and rules to delgete the set-request to the controme server |
| 8 | +3. A sitemap file |
| 9 | + |
| 10 | +## Usage |
| 11 | +``` |
| 12 | +ContromeToOpenHAB 1.0.0.0 |
| 13 | +Copyright © 2017 |
| 14 | +
|
| 15 | + -a, --addr Required. The IP-Address oder DNS name of the |
| 16 | + Controme-Mini-Server (e.g 192.168.1.100 or contromeServer) |
| 17 | +
|
| 18 | + -u, --user Required. The UserName openHAB will use to set Values |
| 19 | +
|
| 20 | + -p, --password Required. The Password for the User (Hint: the password is |
| 21 | + stored in plain text in the config-File) |
| 22 | +
|
| 23 | + -h, --houseid (Default: 1) The House-ID in the Controme Server to use, |
| 24 | + default is 1 |
| 25 | +
|
| 26 | + -o, --output (Default: ) Target directory to create the openHAB files |
| 27 | + in. |
| 28 | +
|
| 29 | + -c, --cacheUrl (Default: controme) The HTTP-Cache-Entry to point to the |
| 30 | + Controme-Mini-Server. Set to empty to disable. |
| 31 | +
|
| 32 | + --help Display this help screen. |
| 33 | + ``` |
| 34 | + |
| 35 | +## Example |
| 36 | + |
| 37 | +``` |
| 38 | +ContromeToOpenHAB.exe -a "192.168.1.10" -u "[email protected]" -p "MyPassword" |
| 39 | +``` |
| 40 | +``` |
| 41 | +Creating files for floor EG |
| 42 | +Creating entries for Küche / Esszimmer |
| 43 | +Creating entries for Wohnzimmer |
| 44 | +Creating entries for Flur |
| 45 | +Creating entries for Bad |
| 46 | +Creating files for floor OG |
| 47 | +Creating entries for Flur |
| 48 | +Creating entries for Bad |
| 49 | +Creating entries for Arbeitszimmer |
| 50 | +Creating entries for Kinderzimmer |
| 51 | +Creating entries for Schlafzimmer |
| 52 | +Created config files at C:\git\ContromeToOpenHAB\ContromeToOpenHAB\bin\Debug\conf |
| 53 | +``` |
| 54 | + |
| 55 | + ## Requirements |
| 56 | + |
| 57 | + 1. HTTP Binding (http://docs.openhab.org/addons/bindings/http1/readme.html) |
| 58 | + 2. JsonTransform (http://docs.openhab.org/addons/transformations/jsonpath/readme.html) |
| 59 | + 3. curl accessable via Path (I use http://www.paehl.com/open_source/?CURL_7.55.1) |
| 60 | + 4. Recommend: Basic UI |
| 61 | + |
| 62 | + |
0 commit comments