I have an http listener (a hacked version of your HTTPD2 plugin) that listens for incoming messages and changes a device state on or off. . I then want to use that state change as a trigger. For now, I am happy to have two triggers (on and off) for each state I want to monitor. I may try to generalize it a bit in the future. So far, that works fine. I can trigger on the state change and write to the log. However, I what I really want to do is to publish an mqtt message. The messages I want to send are already saved as the on off msgs in an mqtt Shim device, so I can just copy them from there.
All that is lacking is a scriptable feature of the mqtt connector to send an arbitrary msg. Is there a way to do that now? Is this even of interest to anyone else?