QGIS Plugin to integrate QGIS with MQTT
Target platform QGIS 2.4
Latest changes:
- Added support for V2 style attribute widgets
- Added support for visible/invisible features (partial)
- Added support to change Granted QoS value (not supported by Mosquitto)
- Removed Broker ID and Type from layer attributes and hid remaining attributes
Features:
- Broker manager to manage a list of brokers and connection parameters
- Topic Managers (extensible) to support different "types" of Topics and Layer Formats
- Integration with MQTT via Mosquitto client library
- Connections and updates within dedicated thread
Usage:
- Enter Settings to start adding your brokers
- Select a Generic MQTT broker for a topic manager
- Create a New Telemetry (Point) Layer - selecting the Broker and Topic Type
- Add Features based on topics generated via the Topic Manager (i.e. Broker Uptime)
Installation:
To install and run locally, copy recursively into a ~/.qgis2/python/plugins/TelemetryLayer directory then enable the plugin
A public repo will be created soon
Issues:
This is very alpha software and still has many features not implemented. It is recommended for developers only and must NOT be used on production projects! We accept no liability
The code has been developed on a Mac using OSX 10.9.4.
Am looking for assistance to bring the plugin to an improved state of maturity.
The latest release fixes a lot of issues. See the commit change log in GIT
Constructive feedback is welcome
TODO:
This is my top list. There's lots more of course!
- experiment rules based renderer for layers with better examples i.e. alerting
- get topicmanager plugin framework working with Plugin Reloader plugin
- icons for symbols and application - including sensor state symbology
- integrate with QGIS native help with splash screen showing new features
- replace mosquitto client with paho.Client and add TLS/SSL certificate support (done)
- Added basic username/password authentication (done)
- ensure topics can only be added as a feature once?
- linux testing of custom feature form
- document topic manager API
If you want to help with any of this, please get in touch!!!
Andrew McClure andrew@agsense.co.nz