Example how to use vanubus for a zatobox device with python.
More information about the vanubus protocol can be found in the developer documentation. https://web-documentation.zatobox.com/docs/developer/vanubus
from python_zatobox.vanubus import Vanubus
host = "192.168.68.102" # Replace with the actual IP address of the device
from python_zatobox.vanubus import Vanubus
ip_adress = "192.168.68.103"
client = Vanubus(ip_adress)
infodata =client.request_all_info()
if infodata == None:
return
while True:
sensorids = []
for sensordata in infodata.sensordata:
sensorids.append(sensordata.id)
data = client.getdata(sensorids)
print(data[0])
time.sleep(5)
Release files for python-zatobox 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_zatobox-0.3.5.tar.gz | 14.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_zatobox-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:30.4 kB
Release files / python_zatobox-0.3.5.tar.gz
| Download URL | python_zatobox-0.3.5.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6414e2e2494c01914afcf78ab0934bbb3c43cfaff736343076244788ef48aa63
|
|
BLAKE2b-256 checksum How to use checksums |
1c414ad7b64fc14863b2f5bf18503ce90f140945a4012edc949509d563762ea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.9.13 Windows/10
|
Release files / python_zatobox-0.3.5-py3-none-any.whl
| Download URL | python_zatobox-0.3.5-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29822c5e62330387221f4d2d2e42cd0828a00973026e052e0d0b6d163027c4b8
|
|
BLAKE2b-256 checksum How to use checksums |
e44285f101d4a892a3287f814f3fe33b05aa91a5dca99311ac5658a47f97043d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.9.13 Windows/10
|