Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_zatobox-0.3.4-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

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

Hashes for python_zatobox-0.3.4.tar.gz
Algorithm Hash digest
SHA256 cac9e5f6b48c2ac00d9255f2d34433c87898b34d55d0a3caad224e514c18dce8
MD5 26b3a3453ee733e05758a315e48c9084
BLAKE2b-256 02ccaeff4a8fe521c59abd0aaf375c4564d8a3f47c480937891a298e1f31b2d4

See more details on using hashes here.

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

Hashes for python_zatobox-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1652c5d511725d29d70626852a69ddd3f2741580fe5b2b6967ebb20cc4425a43
MD5 275d85786e20164a2936bc44c9dbd820
BLAKE2b-256 ea23fd582b8e50865f609a4f5766a3ac1c59a0a3a0bb335566b50f353ce14be8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page