Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 766 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 766 Bytes

ESP8266_temp_sensor

An ESP8266 running Micropython, connected to a DHT22, reporting temp and humidity via MQTT

This project borrows heavily from the Fabian Affolter and @davea.

Setup

Create config.json

All the necessary configuration options are stored in a json file called config.json. See config.py for available options.

Install rshell

Rshell can copy files to the board over serial using a syntax much similar to the unix cp command.

pip3 install rshell

Copy files to the board

rshell -p /dev/ttyUSB0 -b 115200 --buffer-size=32 cp src/boot.py src/config.py src/main.py src/config.json /pyboard/