Python modules
The IX15 supports Python 3.6 and provides you with the ability to run Python applications on the device interactively or from a file. It also offers extensions to manage your IX15:
- The digidevice module provides platform-specific extensions that allow you to interact with the device’s configuration and interfaces.
The following submodules are included with the digidevice module:- XBee: digidevice.xbee
LEDs: digidevice.led
SMS: digidevice.sms
GPS: digidevice.location
- Digi Remote Manager:
- digidevice.datapoint
- digidevice.device_request
- digidevice.name
- Device configuration: digidevice.config
- Command line interface: digidevice.cli
- Access runtime database: digidevice.runt
- Set the maintenance window: digidevice.maintenance
Application Monitor API: digidevice.appmonitor
- The XBee Python Library is also integrated so you can work with the local and remote XBee devices in your network.
- Use the Python serial module—pySerial—to access the serial ports.
- PyModbus, a full Modbus protocol implementation.
- Eclipse Paho MQTT Python client enables applications to connect to an MQTT broker to publish messages, and to subscribe to topics and receive published messages.
Note Module-related documentation is in the Digidevice module section.