Skip to main content

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)

Source distribution for python-zatobox 0.3.5
File Size Uploaded
python_zatobox-0.3.5.tar.gz 14.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-zatobox 0.3.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

This release

0.3.5 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.2.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page