pynut error

This commit is contained in:
2026-08-10 18:58:29 +02:00
parent c10831e2a6
commit 14451d4d45
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -1035,6 +1035,8 @@ The important point is that **Python does not communicate directly with the UPS*
It communicates with the NUT server through a Python client: It communicates with the NUT server through a Python client:
```python ```python
from PyNUTClient import PyNUT
client = PyNUT.PyNUTClient(host="127.0.0.1") client = PyNUT.PyNUTClient(host="127.0.0.1")
values = client.GetUPSVars("BX950MI") values = client.GetUPSVars("BX950MI")
``` ```
+1 -1
View File
@@ -1,4 +1,4 @@
PyNUTClient PyNUTClient>=2.8.5
rrdtool rrdtool
# The NUT server and USB driver are still required to communicate with the UPS. # The NUT server and USB driver are still required to communicate with the UPS.
+1 -1
View File
@@ -37,8 +37,8 @@ import os
import sys import sys
import time import time
import PyNUT
import rrdtool import rrdtool
from PyNUTClient import PyNUT
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------