Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 347 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 347 Bytes

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