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

feat(itho-wpu): getsetting support

Action "getsetting" retrieves the value of a setting byi the provided id.

Example usage:
> ./itho-wpu.py --action getsetting --settingid 1
> 1. Hardware Configuratie: 70 (min: 0, max: 65535, step: 1)
> ./itho-wpu.py --action getsetting --settingid 2
> 2. Jaar Inbedrijfstelling: 2010 (min: 2004, max: 2099, step: 1)
This commit is contained in:
2023-06-05 21:35:34 +02:00
parent 620cdaf880
commit d28acae756
3 changed files with 135 additions and 9 deletions

View File

@ -99,6 +99,12 @@ See the [pislave](https://github.com/ootjersb/pislave#wiring) project
...
```
* Retrieve a single setting from the WPU
```
# ./itho-wpu.py --action getsetting --settingid 1
1. Hardware Configuratie: 70 (min: 0, max: 65535, step: 1)
```
# Exporting measurements
## InfluxDB