Skip to content

marcaurele/gce-ipx800

Repository files navigation

GCE-IPX800

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

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

len(ipx.relays)  # => 56

Licence

Licensed under Apache License Version 2.0