Skip to content

rockymanobi/espruino-mqtt-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Espruino MQTT Example

A sample implementation of MQTT publisher on Espruino.

Get Started Guide

requirements

  • node.js
  • npm

Get the source code and install dependencies.

git clone https://github.com/rockymanobi/espruino-mqtt-sample.git
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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published