The main purpose is to send serial Modbus RTU data via MQTT to the Kinetic cloud on a Cisco IR829 gateway. On this gateway you can deploy a dockerized application where this python script can run.
-
Clone the repo
-
Build the image
docker build -t modbusmqtt:latest .
- Create the IOx tar with ioxclient (CLI tool)
ioxclient docker package modbusmqtt:latest .
- Install and run on the IR8x9. You troubleshoot with:
ioxclient application console <appid>
- Cisco Kinetic Gateway Management Module
- MinimalModbus: https://pypi.org/project/minimalmodbus/
- Paho-MQTT: https://pypi.org/project/paho-mqtt/
This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details
Cisco DevNet Website: https://developer.cisco.com
IOx Documentation: https://developer.cisco.com/docs/iox/
Download ioxclient: https://developer.cisco.com/docs/iox/#!iox-resource-downloads