diff --git a/README.md b/README.md index bb59e34..88c1320 100644 --- a/README.md +++ b/README.md @@ -6,22 +6,42 @@ The Goal is to display and visualize data received/measured from a Raspberry Pi ## Milestone 2 -The Raspberry Pi shoul send be integratable to a Home Assistant Server and be used as as sensor input. +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 +Data should be sent and received via MQTT to an ESP32. The Pi acts as a sensor gateway. # Ausführung - **Programmiersprache**: Python +- **Libraries**: -# Arbeitsaufträge +# Docs -1. Präsentation, GitHub Einrichtung () -2. +- `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 + +# Arbeitsaufträge / Aufgabeneinteilung + +## Zu Vergeben + +- Präsentation +- Programme: + - Daten von RPI erfassen und sauber abspeichern + - Daten an einem Webserver anzeigen + +| Kieler | Chiara | +| -------------- | ------ | +| Everything Git | | +| | | +| | | # Credits -`Chiara` -`Kieler` +[Chiara](https://git.miaig.dev/chiara) +[Kieler](https://git.miaig.dev/mia) diff --git a/main.py b/main.py new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..59b64dd --- /dev/null +++ b/shell.nix @@ -0,0 +1,10 @@ +{ pkgs ? import {} }: +(pkgs.buildFHSUserEnv { + name = "pipzone"; + targetPkgs = pkgs: (with pkgs; [ + python313 + python313Packages.pip + python313Packages.virtualenv + ]); + runScript = "bash --init-file /etc/profile"; +}).env