Skip to content

A simple mqtt subscriber that executes a command on mqtt messages

License

Notifications You must be signed in to change notification settings

ncopa/mqtt-exec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqtt-exec

A simple mqtt subscriber that executes a command on mqtt messages

Build requriements

  • C compiler + make
  • libmosquitto

Example usage

This example shows how to get messages as desktop notifications:

mqtt-exec -h $mqtt_host -t $topic -v -- /usr/bin/notify-send -t 3000 -i network-server

About

A simple mqtt subscriber that executes a command on mqtt messages

Resources

License

Stars

Watchers

Forks

Packages

No packages published