⚠ After a 2 years pause, it's finally back... 😀
I am working on the new version.
mqttgateway
is a python framework to build consistent gateways to MQTT networks.
- 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
orloop_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.
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.
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.
- Documentation on readthedocs.
- Source on github.
- Distribution on pypi.