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.2.11.tar.gz (9.6 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.2.11-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_zatobox-0.2.11.tar.gz
  • Upload date:
  • Size: 9.6 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.2.11.tar.gz
Algorithm Hash digest
SHA256 2793381661df6dd65e33e041a92fffd72aba71d33ca7a8aa1e8fa11d793cb2b0
MD5 72d4f68971651f74bc7da20897d53787
BLAKE2b-256 12aaa90cf428ac6c01a56ae3e6a8ca572307ba07a9f759d0311220098000c6c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_zatobox-0.2.11-py3-none-any.whl
  • Upload date:
  • Size: 11.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.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 68fc8851823a9a02bc3e23b58ee18a899dc16638f61a176d9fd0eccea35f84b1
MD5 2e8aca128a5f8e25c0af8af7b899441c
BLAKE2b-256 38d48ada0742bc182b7b1a9354c34da91b8fe88d70526cbc77f6fe674b6a00be

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