mgott
A HTTP to MQTT publish proxy.
Send a POST request on /publish
using the following body as a template:
{
"host": "mqtt.example.com",
"port": 1883,
"username": "username",
"password": "password",
"topic": "garage/open",
"payload": "Hello, World!"
}
host
defaults tolocalhost
;port
defaults to1883
;- if one of
username
orpassword
is missing, none are specified; topic
is mandatory and results in a 400 error if not specified;payload
defaults to an empty string.