bitfocus / companion-module-generic-mqtt

MIT License
2 stars 4 forks source link

Parsing variables to publish as topics #18

Closed philipcain closed 11 months ago

philipcain commented 1 year ago

The payload field in the Publish Message action doesn't support parsing variables.

This would be a really valuable addition - the ability to push existing data from Companion to the MQTT broker. As the module currently stands, it seems like the only possible payload is manually entered text.

It was suggested in Slack that simply adding variable parsing to the payload in the existing Publish action might be a breaking change, if perhaps someone is pushing actual variable names as payloads rather than the variable values. If that's the case, maybe a new action could be added - Publish Message from Variable

thargunitoth75 commented 1 year ago

I have the same problem.

josephdadams commented 11 months ago

it has this feature as of v2.0.2 of the module