Skip to content

🏡 Temperature & Humidity sensor with ESP8266

Notifications You must be signed in to change notification settings

damoun/iot-temp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# iot-temp Travis

ESP8266 with temperature & humidity wireless sensor.

I use a huzzah ESP8266 and a HDC1008 from adafruit.

prototyping board

Requirement

This project use PlatformIO, an open source ecosystem for IoT development written in python. You can install it through pip :

pip install platformio

You need to setup a MQTT server too.

Settings

On the first boot, the sensor will start a wireless to be configured. You can follow the procedure from the homie-esp8266 lib.

Compile

Compile the program with the following command :

platformio run

Upload

On every upload, you need to put the ESP8266 in upload mode by pressing the GPIO0 button and the reset button. The LED should be red. To upload the compiled program to the ESP8266, use the following command :

platformio run --target upload

Debug

To debug the program, you can get the serial output with the following command :

platformio serialports monitor