LoveBootCaptain / WeatherPi_TFT

a weather display for a raspberry pi and a TFT display written in python3 and pygame
Other
80 stars 24 forks source link

M10: Visualization of weather conditions and temperature and humidity sensors #5

Closed miyaichi closed 4 years ago

miyaichi commented 4 years ago
  1. modules/WeatherForcustGraph.py Weather forcust graph module class.it plots weather condition data for the next 48 hours or 7 days.

  2. modules/TemperatureGraph.py Temperature and humidity graph module class. It is a base class of a temperature and humidity sensor module that integrates functions of thread control for acquiring sensor values, logging of values, and graph drawing. DHT.py, DegisparkTemper.py, IrMagitian.py, NatureRemo.py, TEMPer.py have been modified to inherit from this class.

  3. modules/GraphUtils.py Graph Utility class. It draws a graph plotted using matplotlib on the surface of pygame. Drawing the graph takes a few seconds and blocks the clock display, so draw on a new thread.