This Project aims to collect sensor data from a Raspberry PI to visualize them on a webpage.
Find a file
2025-05-21 21:26:45 +00:00
sensors Mikrofon Sensor daten erfasst und in eine Json datei gespeichert 2025-05-21 11:33:09 +02:00
webserver added matplotlib to plot graphs; elements are now sorted from newest to oldest; slight changes in html structure; 2025-05-21 21:21:39 +00:00
.gitignore added .gitignore 2025-05-21 21:26:45 +00:00
gitHelp.png updated readme 2025-05-15 09:49:37 +02:00
htmlHelp.png added basic webserver 2025-05-21 11:48:26 +02:00
main.py Added requirements, the main python file and a nix shell; Updated readme 2025-05-14 13:53:41 +00:00
mdHelp.png updated readme 2025-05-15 09:49:37 +02:00
README.md formatted html 2025-05-21 14:21:12 +02:00
requirements.txt Added requirements, the main python file and a nix shell; Updated readme 2025-05-14 13:53:41 +00:00
shell.nix added matplotlib to plot graphs; elements are now sorted from newest to oldest; slight changes in html structure; 2025-05-21 21:21:39 +00:00
shell.nix.old added matplotlib to plot graphs; elements are now sorted from newest to oldest; slight changes in html structure; 2025-05-21 21:21:39 +00:00

Project Name

Milestones

Milestone 1

The Goal is to display and visualize data received/measured from a Raspberry Pi on a webinterface.

Milestone 2

The Raspberry Pi should be integratable to a Home Assistant Server and be used as as sensor input and opitionally logic level output.

Milestone 3

Data should be sent and received via MQTT to an ESP32. The Pi acts as a sensor gateway.

Tech Stack

  • Raspberry Pi model:
  • Programming languages: Python
  • Frameworks/tools/Libraries: (e.g., Flask, GPIO Zero)
    • Webserver:
      • Python Http Server
      • Json
    • Sensors:

Hardware Requirements

  • Raspberry Pi with [model/specs]
  • Sensors:
    • LER (Lichtsensor)
    • Temperatur und Luftfeuchtigkeit
    • ...

Docs

  • Json format:

        {
        "location": "Building A - Lab 3",
        "sensors": [
          {
            "id": "sensor_001",
            "type": "temperature",
            "unit": "°C",
            "readings": [
              { "ts": 1747814400, "value": 22.5 },
              { "ts": 1747818000, "value": 23.0 },
              { "ts": 1747821600, "value": 23.7 }
            ]
          },
          {
            "id": "sensor_002",
            "type": "humidity",
            "unit": "%",
            "readings": [
              { "ts": 1747814400, "value": 45.2 },
              { "ts": 1747818000, "value": 47.1 },
              { "ts": 1747821600, "value": 46.8 }
            ]
          },
          {
            "id": "sensor_003",
            "type": "pressure",
            "unit": "hPa",
            "readings": [
              { "ts": 1747814400, "value": 1012.4 },
              { "ts": 1747818000, "value": 1012.8 },
              { "ts": 1747821600, "value": 1013.0 }
            ]
          }
        ]
      }
    
  • requirements.txt This file holds the requirements for pip

  • shell.nix This file is only used on nixos and for the nix packagemananger

  • main.py The main file for the project

Git Help

A Git Cheatsheet

MarkDown Help

A MarkDown Cheatsheet

Html Help

A Html Cheatsheet

Arbeitsaufträge / Aufgabeneinteilung

Zu Vergeben

  • Präsentation
Kieler Chiara
Git Daten von RPI erfassen und sauber abspeichern
Readme
Daten an einem Webserver anzeigen

Acknowledgments

Chiara Kieler

License

MIT