Skip to content

williamtwild/mqtt_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mqtt_example

Example mqtt worker library using paho for MQTT 3.1

python single_leaf_example.py

worker will auto load config.json . use 'python single_leaf_example.py yourconfig.json' to load a different/specific config . useful if you have test and prod configs.

On startup the worker will do discovery to see if there is another worker of the same name ( ie. function ) and if there is it will go into backup mode. if the other worker dies this will assume the primary role

Misc Notes:

send_admin_email was a custom webhook to a local node

ACL for MQTT Library:

workers/# pub sub

About

Example mqtt worker library using paho

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages