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.3.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.3.tar.gz.
File metadata
- Download URL: python_zatobox-0.3.3.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 |
69cbb009d83a9e2a94e27d99ab49a2ec159afef1d467035f95cbd4cf52595da3
|
|
| MD5 |
0aa0b998886fc5e0d20a228850192e37
|
|
| BLAKE2b-256 |
c5892e3f403ea3b25605d2eea2886c0f3adb9df99cb96f5f7297cfd030b54f30
|
File details
Details for the file python_zatobox-0.3.3-py3-none-any.whl.
File metadata
- Download URL: python_zatobox-0.3.3-py3-none-any.whl
- Upload date:
- Size: 12.9 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 |
4a26783e531c9b6d8412a1c872f9759b5aaa6316376b28e1a92637838f321f57
|
|
| MD5 |
5dfabb982da73ab549302d2c2b7ca488
|
|
| BLAKE2b-256 |
d212fd33fd4800adc059739ab17054192f7faebf7013b9580aba554f0ae6e901
|