Skip to content

A simple web app that shows temperature taken from HDC1080 sensor and displays it in form of table and line chart.

Notifications You must be signed in to change notification settings

pgrabowski1/monitor_hdc1080_spring_boot_thymeleaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web app for displaying data from HDC1080

Datasheet for HDC1080 can be found here:

Link

Used technologies

  • Java 11, MySQL, Thymeleaf, HTML, CSS, Google Charts.

How it works

Data from HDC1080 is read with Raspberry Pi, using Python3 library made by user switchdoclabs Then it is added to MySQL database also installed on Pi.

The web app connects with that MySQL database using Spring Data and JPQL queries. From there it reads temperature and humidity data as well as measurement timestamps. This app uses a line chart from Google Charts which was described here.

The data is then displayed in a table (last 60 measurements). Alt text

The temperature and humidity from last 6h and last 24h is also displayed on subsequent pages. Below you can see chart with data from the last 6 hours. Alt text

About

A simple web app that shows temperature taken from HDC1080 sensor and displays it in form of table and line chart.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published