Skip to main content

Library to interact with the GCE Electronics IPX800 device

Project description

Pypi version Build Status Code coverage License Python versions

A python library to control a GCE-Electronics IPX800 V4 device through its API.

  • Python 3.8+ support

  • Apache License

IPX800 features implemented

  • Analog sensors (ipx.analogs[])

  • Control:

    • relays (ipx.relays[])

    • virtual inputs (ipx.virtual_inputs[])

    • virtual outputs (ipx.virtual_outputs[])

  • Counters (ipx.counters[])

Installation

> pip install gce-ipx800

Usage

from ipx800 import ipx800

ipx = ipx800("http://your-device-ip", "apikey")

r4 = ipx.relays[3]

r4.status  # => return a Boolean

r4.on()

r4.off()

r4.toggle()

len(ipx.relays)  # => 56

Licence

Licensed under Apache License Version 2.0

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

gce_ipx800-0.6.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

gce_ipx800-0.6.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file gce_ipx800-0.6.0.tar.gz.

File metadata

  • Download URL: gce_ipx800-0.6.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1017-azure

File hashes

Hashes for gce_ipx800-0.6.0.tar.gz
Algorithm Hash digest
SHA256 3cfc4ba142e359027b5a9d90d8dcaef221ce69d3466ead71aea834d5bb9fe31b
MD5 129c0d4c3744a697e7648159e26e8658
BLAKE2b-256 eec22b7b924e666662d57f29ce0723f33552e15994326cecb5d6cc74ae03ad42

See more details on using hashes here.

File details

Details for the file gce_ipx800-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: gce_ipx800-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1017-azure

File hashes

Hashes for gce_ipx800-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3dac837110e1800189ca3dcfe4a8b09383cc9497c7a8433508ff4e233206c302
MD5 554648f6a4f7569a9cfd73a99b346c17
BLAKE2b-256 750ca496c215ba2353c4adc4296aaac86c0b241bf3c52621d5447a8b60297acd

See more details on using hashes here.

Supported by

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