Skip to content

chrismerck/mqtt2rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

mqtt2rest -- An MQTT to REST Bridge

Allows connecting traditional REST web services with MQTT.

Usage:

# edit mqtt2rest.js to configure REST endpoint
vim mqtt2rest.js 

# install dependencies
npm install mqtt

# run bridge
node mqtt2rest.js

Diagram:

----------------------------    ---------------    -------------     ---------------
| End Device (MQTT Client) |----| MQTT Broker |----| mqtt2rest |-----| REST WebApp |
----------------------------    ---------------    -------------     ---------------
           ^^^^^^^                   ^^^^              ^^^^               ^^^^^
        an IoT "Thing"          such as mosquitto    this program    such as scriptr.io

About

MQTT to REST Bridge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published