Skip to content

TristanIsrael/Python-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python MQTT classes

Repository with python MQTT client class based on Paho mqtt with serial port capabilities and a proxy class between MQTT unix sockets

These classes come from Safecor, the operational system for security products.

Classes

  • UnixSocketTunneler can be used to create a tunnel between two UNIX domain sockets that copies data in both ways.
  • MqttClient - A generic MQTT client based on paho MQTT. It can handle connections to serial ports, unix domain sockets and TCP ports.
  • SerialMqttClient - The serial port facility for MqttClient.

The script mqtt_tunnels.py can also be used as a standalone application to establish tunnels between Unix domain sockets.

Other usages

This code is not restricted to MQTT communication and can be used to create tunnels between any Unix Domain sockets.

Licence

This code is provided with the GPLv3 licence and free to use. No support is provided but improvements and bug fixes are welcome.

About

Repository with python MQTT client class based on Paho mqtt with serial port capabilities and a proxy class between MQTT unix sockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages