Skip to content

Commit

Permalink
Introduced valid modbus bindings for all nilan registers. Python-Scri…
Browse files Browse the repository at this point in the history
…pts for reading nilan modbus registers are now obsolete.
  • Loading branch information
starze committed Apr 16, 2017
1 parent 6e68917 commit afd0b90
Show file tree
Hide file tree
Showing 29 changed files with 1,068 additions and 338 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,16 @@ Copy config files from openhab2 folder into your openHAB2 installation (i.e. /et

## Details

### Create nilan heatpump modbus items out of csv file
Some details how I created my config-files.

* Create nilan heatpump modbus items out of csv file / nilan documentation
```sh
$ cd /etc/openHAB2/scripts
$ python createNilanItems.py > ../items/nilan.items
```
* Add modbus address binding according to nilan address-specifications and the configuration in services/modbus.cfg
* Add Items into your main.sitemap file.

### Automatically update items that are not bind with openHAB2 Modbus binding
Currently I didn't get all items bind with openHAB2 so I used a workaround to get all the nilan sensors into openHAB2 items.

```sh
$ echo "* * * * * root cd /etc/openHAB2/scripts/ && python readNilan.py" >> /etc/contab
```

## Other useful links
* https://github.com/nickma82/nilan_communication_bringup
Expand Down
Binary file added openhab2/icons/classic/fire-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/fire-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/fire.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/flap-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/flap-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/flap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/light-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/light-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/siren-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/siren-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added openhab2/icons/classic/siren.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions openhab2/items/groups.items
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Group All
Group gNilan "Alle Modbus Attribute (input + holding)" (All)
Group gNilanInput "Alle Sensoren" (gNilan)
Group gNilan "All Modbus attributes (input + holding)" (All)
Group gNilanProgram "User program settings"
362 changes: 212 additions & 150 deletions openhab2/items/nilan.items

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions openhab2/items/nilan_generated.items
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
String nilan_generated_displaytext "Display: [%s]" <player> (gNilan)
String nilan_generated_time "[%s]" <clock> (gNilan)
String nilan_generated_time "Systemzeit [%s]" <clock> (gNilan)
7 changes: 0 additions & 7 deletions openhab2/items/nilan_write.items

This file was deleted.

Loading

0 comments on commit afd0b90

Please sign in to comment.