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

ff3dd4a · Oct 20, 2022

History

29 Commits
Nov 28, 2013
Oct 20, 2022
Feb 26, 2018
May 21, 2014
Oct 20, 2022

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