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.4-py3-none-any.whl
.
File metadata
- Download URL: mqttgateway-1.1.4-py3-none-any.whl
- Upload date:
- Size: 33.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c434f357ac85b066b44ca782cf220ab84f5a330d68e6b7d482304d4752ce2e5 |
|
MD5 | 102ee57271c0bbea1804b9b28f856303 |
|
BLAKE2b-256 | 5a689090411e87ee23124f37a560b3d6a216c107d6c76890ee031dc1768d45f4 |