A small project to display and send temperature and humidity information to the timeseries database Seriesly for later study. Built for ESP8266/Wemos-D1 boards running MicroPython.
For this project, I used the following items:
You'll need to install the correct drivers for your OS and board. You should then be able to proceed by following the MicroPython install instructions.
The easiest way to do this is to connect to the board using something like
picocom, enable the webrepl
, and use the MicroPython webrepl tool
to upload the files to the board. Remember to update the settings.py
file
as necessary with network and pin settings before uploading.
I can also recomment using adafruit-ampy if you prefer transferring files directly over your wired connection.
Once you've installed the dependencies, rebooting the board should kick things
off and you should immediately see an ONLINE
message on your OLED display,
followed by some temperature/humidity readings, and entries should start
appearing in your Seriesly server.
Before the code will run, you'll need to install the dependencies below by accessing the MicroPython REPL and running the following commands:
>>> import upip
>>> upip.install('micropython-logging')