Skip to main content

Module to control the IPX800 V4 device from GCE Electronics.

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.6+ support
  • Apache License

IPX800 features implemented

  • Control:
    • relays (ipx.relays[]),
    • virtual inputs (ipx.virtual_inputs[]),
    • virtual outputs (ipx.virtual_outputs[]).
  • Read values from analog sensors (ipx.analogs[]).

Installation

> pip install gce-ipx800

Usage

Note

The default API key of the device is apikey.

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.togle()

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.

Files for gce-ipx800, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size gce_ipx800-0.4.0-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size gce-ipx800-0.4.0.tar.gz (12.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page