1
0
mirror of https://github.com/pommi/python-itho-wpu.git synced 2025-07-06 00:35:43 +02:00

feat: add support for reading manual operations

This commit is contained in:
2023-07-21 15:26:12 +02:00
parent 381dd4c6ec
commit 63f06400ef
5 changed files with 120 additions and 19 deletions

View File

@ -101,7 +101,7 @@ See the [pislave](https://github.com/ootjersb/pislave#wiring) project
* Retrieve a single setting from the WPU
```
# ./itho-wpu.py --action getsetting --settingid 1
# ./itho-wpu.py --action getsetting --id 1
1. Hardware Configuratie: 70 (min: 0, max: 65535, step: 1)
```
@ -123,7 +123,7 @@ See the [pislave](https://github.com/ootjersb/pislave#wiring) project
* Change a setting of the WPU
```
# ./itho-wpu.py --action setsetting --settingid 139 --value 48
# ./itho-wpu.py --action setsetting --id 139 --value 48
Current setting:
139. Blokkade Tijd Van Verwarmen Naar Koelen (uur): 24 (min: 0, max: 168, step: 1)
Setting `139` will be changed to `48`? [y/N] y
@ -132,6 +132,12 @@ See the [pislave](https://github.com/ootjersb/pislave#wiring) project
139. Blokkade Tijd Van Verwarmen Naar Koelen (uur): 48 (min: 0, max: 168, step: 1)
```
* Retrieve a manual operation setting from the WPU
```
# ./itho-wpu.py --loglevel info --action getmanual --id 0
0. Buitentemp (°C): 10.0
```
# Exporting measurements
## InfluxDB