No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
broker.js avoid to use deprecated api Nov 17, 2015
publisher.js adjust to new version of MQTT.js library Nov 17, 2015

Espruino MQTT Example

A sample implementation of MQTT publisher on Espruino.

Get Started Guide


  • node.js
  • npm

Get the source code and install dependencies.

git clone
cd espruino-mqtt-sample
npm install

Run the broker and subscriber program.

node broker.js
node subscriber.js

Connect the CC3000 WiFi module and DS18B20 Temperature to your Espruino as follows here.

Run espruino_mqtt.js on Espruino WebIDE. Then, everytime you press the BTN1, the temperature will be sent to subscriber by MQTT.