1
0
mirror of https://github.com/pommi/python-itho-wpu.git synced 2024-12-22 18:53:28 +01:00

Compare commits

..

3 Commits

Author SHA1 Message Date
dfc78da5ba feat: add support for reading counters 2023-09-10 20:17:01 +02:00
e02aa03459 chore(itho-wpu): rename wpu.get -> wpu.call 2023-09-10 18:53:32 +02:00
71e776e092 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-09 20:34:58 +02:00

View File

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