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

flespi-software/ESP8266_mqtts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266_mqtts

An outdated example, updated and simplified, can be found here: ESP32/ESP8266 mqtts (rootCA, fingerprint)

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published