Skip to content

OldhamMade/ESP8266-dht-micropython-seriesly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature/Humidity Sensor using MicroPython and Seriesly

A small project to send temperature and humidity information to the timeseries database Seriesly for later study. Built for NodeMCU/ESP8266 boards running MicroPython.

Installing MicroPython

You'll need to install the correct drivers for your OS and board. For NodeMCU, I used those found at SiLabs. You should then be able to proceed by following the MicroPython install instructions.

Installing the code

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 the settings.py as necessary with network and pin settings before uploading.

Once you've installed the dependencies, rebooting the board should kick things off and you should see entries start appearing in your Seriesly server.

Dependencies

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')

About

Temperature/Humidity Sensor using MicroPython and Seriesly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages