GCE-IPX800
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[]
).
- relays (
- 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
Links
- GCE IPX800 V4 API: https://gce.ovh/wiki/index.php?title=API_V4
Licence
Licensed under Apache License Version 2.0