Compare commits

..

3 Commits

Author SHA1 Message Date
Pim van den Berg 7048014a22 feat: add support for reading counters 2023-09-11 20:07:59 +02:00
Pim van den Berg f0c350971f chore(itho-wpu): rename wpu.get -> wpu.call 2023-09-11 20:07:59 +02:00
Pim van den Berg a11df838f8 feat: add support for writing manual operations
Initiating and finishing a manual operation works a bit strange. First
of all the Maximum Manual Operation Time is controlled by a setting
(--id 4) and defaults to 0 (infinite). And instead of waiting for the
timer to expire (which you have to do when its set to 0) you can finish
a manual operation by passing "--no-check".

Note: For some reason no response is given when a manual operation is
written to. That's why execute_action() returns succesfully (with None)
when its executing the "setmanual" action and the response queue size is 0.
2023-09-11 20:07:59 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ See the [pislave](https://github.com/ootjersb/pislave#wiring) project
Are you really sure? (Type uppercase yes): YES
```
* Reset all errors:
* Reset timer:
```
# ./itho-wpu.py --action setmanual --id 38 --value 1
Current manual operation: