@hellomiakoda
Theres a command line tool for mqtt messages, mqtt-cli. It can subscribe to a topic and will block until the message is received then print the message. So your shell script can loop on reading a message from a pipe and doing a thing. Basically a little shell script server. Does that help?
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Daniel Lakeland (dlakelan@mastodon.sdf.org)'s status on Sunday, 07-Sep-2025 21:40:52 JST
Daniel Lakeland