Skip to content

vigevenoj/mp_esp_temp_humidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Because I didn't write good getting-started documentation for [https://github.com/vigevenoj/esp-dht-mqtt] (esp-dht-mqtt)"

Getting started

Clone the repository
Create a virtualenv and activate it
pip install -r requirements.txt
Upload secrets.py to hardware with adafruit-ampy
Upload sensor_reader.py to hardware as main.py with adafruit-ampy

Flashing hardware

To erase the firmware,
esptool.py --port $(PORT) erase_flash
To write micropython firmware,
esptool.py --port $(PORT) --baud 46080 write_flash --flash_size=detect 0 $(FIRMWARE)

About

Micropython temperature/humidity publishing to mqtt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages