Skip to content

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

License

Notifications You must be signed in to change notification settings

dmitrygribenchuk/ESP8266_mqtts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 75.9%
  • C 24.1%