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.2.tar.gz (10.9 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.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file python_zatobox-0.3.2.tar.gz.

File metadata

  • Download URL: python_zatobox-0.3.2.tar.gz
  • Upload date:
  • Size: 10.9 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.2.tar.gz
Algorithm Hash digest
SHA256 e17656d5457be68f558a3c57173399f61f78c12b9995eaa96e6d454ed3476e78
MD5 b3be85ddaeb1c787f07cccdaf1547b10
BLAKE2b-256 437963432602bd1525b603823540497c8180e64bf3761496c66dad7a4f87f154

See more details on using hashes here.

File details

Details for the file python_zatobox-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: python_zatobox-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 12.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 753c7c2c38d1d5faa7d1052c4da5a60fb4352f50746363798e4cd90722515131
MD5 d6e7a180a89249c581cd360b8ad20cbe
BLAKE2b-256 dcccf666b0e57fbd198c89c412e7798a4985e4ad4b83e71fa71cfb2fdfde5268

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