Skip to content

Bridge between http and mqtt. Allows to handle messages to mqtt from an http call.

License

Notifications You must be signed in to change notification settings

iupsilon/HttpToMqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HttpToMqtt

Bridge between http and mqtt.

Receives http call and forwards it to mqtt. This project is useful for interacting with mqtt via http.

In my case, wireless relé (Shelly) I/O url actions can be configured with an http url. For example, for BUTTON LONG PRESSED URL event I configured: http://myserver:80/Mqtt/publish?deviceName=bedroom-light&action=button_long_pressed&payload=pressed

You can see the generated url from swagger testing page.

Everytime I perform a button long press an http call starts and an MQTT message is published

MQTT argument is computed in this way: {deviceName}/action

About

Bridge between http and mqtt. Allows to handle messages to mqtt from an http call.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages