Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IoT Air Monitoring System
#1
Hi,

I’m looking to make a small IoT project / test automation with my Raspberry Pi. I have a light and temperature sensor. I want to make an air monitoring system.

I want to take readings every minute, and store them in a postGreSQL database.

I’d like to write a script to then have a script access the database after 24 hours, and plot them over each hour. I assume I’ll use matplotlib.

What I want to use, and I don’t know how, is Docker. I’m not even sure what it is used for in its fullest, but I’d like to try it for a container software / test automation.


Separately, I’d like to like to write a script which would access the database after a week, and do data sorting on the week’s worth of data, and send me a “narrative” report of findings, which I can customize.

Here’s what I can do so far:

I can read sensor data from my RPi to my computer monitor.
I can use PyCharm to interact with postgreSQL and make a table

I’d like to be able to store the RPi data, every minute (or datadump it after 1 hour) into the database as a first step, but unsure how Docker would work with this.

I know it’s a bit vague, but I was hoping to get some help in starting my project.

Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Monitoring a Directory for new mkv and mp4 Files lastyle 3 1,608 May-07-2023, 12:33 PM
Last Post: deanhystad
  monitoring the temperature of the CPU with Python apollo 2 8,697 Apr-13-2021, 05:39 PM
Last Post: apollo
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 16,592 Jan-11-2021, 06:30 PM
Last Post: ykumar34
  Help with applying this instrument monitoring code to multiple inputs. Kid_Meier 1 2,083 Mar-04-2020, 12:01 PM
Last Post: Kid_Meier
Question Difference between Python's os.system and Perl's system command Agile741 13 6,772 Dec-02-2019, 04:41 PM
Last Post: Agile741
  OOP and module approaches in a simple app monitoring list of servers hjzxxzjcz 1 45,186 Nov-01-2019, 04:30 PM
Last Post: nilamo
  PYTHON - UNRAR : how can I build a thread to monitoring the downloading status Palerm0_24 2 2,587 Mar-18-2019, 02:25 PM
Last Post: Palerm0_24
  Resource Monitoring MuntyScruntfundle 1 46,603 Feb-20-2019, 10:00 PM
Last Post: Larz60+
  remote monitoring and control usb adapters Fran_3 0 2,269 Aug-24-2017, 07:55 PM
Last Post: Fran_3

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020