No project description provided
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_zatobox-0.3.4.tar.gz
(11.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_zatobox-0.3.4.tar.gz.
File metadata
- Download URL: python_zatobox-0.3.4.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.9.13 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cac9e5f6b48c2ac00d9255f2d34433c87898b34d55d0a3caad224e514c18dce8
|
|
| MD5 |
26b3a3453ee733e05758a315e48c9084
|
|
| BLAKE2b-256 |
02ccaeff4a8fe521c59abd0aaf375c4564d8a3f47c480937891a298e1f31b2d4
|
File details
Details for the file python_zatobox-0.3.4-py3-none-any.whl.
File metadata
- Download URL: python_zatobox-0.3.4-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.9.13 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1652c5d511725d29d70626852a69ddd3f2741580fe5b2b6967ebb20cc4425a43
|
|
| MD5 |
275d85786e20164a2936bc44c9dbd820
|
|
| BLAKE2b-256 |
ea23fd582b8e50865f609a4f5766a3ac1c59a0a3a0bb335566b50f353ce14be8
|