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

feat(itho-wpu): setsetting support

With action "setsetting" settings of an Itho WPU can be modified.
This commit is contained in:
2023-07-18 17:23:26 +02:00
parent 1ffd5a72d7
commit 381dd4c6ec
3 changed files with 91 additions and 6 deletions

View File

@ -121,6 +121,17 @@ 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
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
Updating setting 139 to `48`
Are you really sure? (Type uppercase yes): YES
139. Blokkade Tijd Van Verwarmen Naar Koelen (uur): 48 (min: 0, max: 168, step: 1)
```
# Exporting measurements
## InfluxDB