1
0
mirror of https://github.com/pommi/python-itho-wpu.git synced 2025-06-26 23:05:44 +02:00

feat(itho-wpu): cache results for getnodeid, getserial, getdatatype in a json file

The results for these calls are static. If we cache them we don't have
to retrieve it from the WPU every time we need it.

To ignore the cache (for reading), provide the --no-cache argument.
This commit is contained in:
2021-01-14 15:11:51 +01:00
parent 0b4b9a3d79
commit ff149eba6a
2 changed files with 62 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
itho-wpu-cache.json