MQTT is a fantastic protocol.
I basically do the same as the author but use nutshell and its powerful pattern matching [0] as the router
-[0] https://www.nushell.sh/cookbook/pattern_matching.html#patter...
sunshine-o | 2 hours ago
For those using termux, termux widgets are exposed to Android device control so you don't need the MqttDroid app
sunshine-o | 2 hours ago
It's time for me to re-read the man page for bash. I was not aware of BASH_REMATCH, wow. It's in the first snippet on the linked page, and would save the hassle of using multiple var expansions of the %% and ## et al sort.