Framework for MQTT Gateways.
Project description
mqttgateway is a python framework to build consistent gateways to MQTT networks.
What it does:
it deals with all the boilerplate code to manage MQTT connections, load configuration and other data files, and create log handlers;
it encapsulates the interface in a class that needs only 2 methods, an initialisation method (__init__) and a loop method (loop or loop_start);
it creates an intuitive messaging abstraction layer between the wrapper and the interface;
it isolates the syntax and keywords of the MQTT network from the interface.
Who is it for:
Developers of MQTT networks in a domestic environment looking to adopt a definitive syntax for their MQTT messages and to build gateways with their devices that are not MQTT enabled.
Available interfaces
Check the existing fully developped interfaces. Their names usually follows the pattern <interface_name>2mqtt, for example musiccast2mqtt.
This library comes with a dummy interface to test the installation and that can be used as a template.
Links
Documentation on readthedocs.
Source on github.
Distribution on pypi.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file mqttgateway-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: mqttgateway-1.1.2-py3-none-any.whl
- Upload date:
- Size: 33.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2834f17eea409c85462a9d445d38f46899b07141f9e7bf2977924f412a4a7811 |
|
MD5 | 5489ae29ed2d1ce6dea7d006a8f7291e |
|
BLAKE2b-256 | 5c519a5ca6b9aed6efeb21e955f2a0baf324df2f6c52fc5e2dd1d74cfe8c72a9 |