Skip to content

Files

Latest commit

 

History

History
47 lines (28 loc) · 1.7 KB

README.md

File metadata and controls

47 lines (28 loc) · 1.7 KB

ESP8266_mqtts

Arduino IDE project: send data from DS18B20 temperature sensor to mqtt.flespi.io via MQTT over SSL. Read more in flespi blog

Scheme

Screenshot

Prerequisites:

  • Arduino IDE
  • Hardware: ESP8266 board, DS18B20 sensor

Build Setup

install additional board to Arduino IDE

Arduino board project Howto

Official Arduino IDE info on how to install additional cores

install additional libraries

go to Sketch -> Include Library -> Manage Libraries

type in "Search" and install:

select board

Arduino IDE: Tools -> Board -> Generic ESP8266 module

get FlespiToken

register on flespi platform, create a Token in a tokens Tab and paste token in .ino file definitions:

#define FLESPI_TOKEN "FlespiToken REPLACE_WITH_YOUR_FLESPI_TOKEN"

test

compile the project and flash the board

To test it works you can use flespi online MQTT client:

Paste yout token and subscribe to topic "/ESP8266/test"

License

MIT license.