In this second part of this tutorial project on howto build a weather station with a Raspberry Pi and Python, I’ll be making the app more modular, along with adding error logging and environment variables to make customising the hardware a little easier.
The goal is that by the end of the third part, the sensor readings from the Adafruit BME280 sensor will be stored in a SQL database and the data can be downloaded to a CSV or Excel file via a web server for further analysis and visualisation.
Link to GitHub repository:
https://github.com/York13Pud/python-e...
#raspberrypi #techtutorial #pythonprogramming
Timestamps:
0:00 Introduction
00:36 Creating the modules folders
02:05 Creating the logging module
04:14 Creating the environment variables module
06:50 Creating the sensors module
09:09 Creating the displays module
14:46 Bringing it all together
20:16 Reviewing the error log
22:01 Wrapping-up part two plus what's next