Skip to content

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

License

Notifications You must be signed in to change notification settings

arunderwood/ESP8266_temp_sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages