feat: implement Textual TUI and SQLite database for sensor management

This commit is contained in:
2025-12-29 09:39:33 +01:00
parent 4213b6101a
commit cfa24d1fa5
22 changed files with 1734 additions and 723 deletions

15
Tasks.md Normal file
View File

@@ -0,0 +1,15 @@
# Tasks
## Task: TUI Enhancements (Phase 2)
**Goal**: Add live data, global config, and dashboard.
### Sub-tasks:
- [ ] **Live Data Integration**:
- [ ] Implement a message bus or shared state to feed live BLE readings into the TUI.
- [ ] Create a "Live Dashboard" view with real-time gauges/sparklines.
- [ ] **Global Configuration**:
- [ ] Create a form-based view to edit `sensorpajen.env` values.
- [ ] **System Dashboard**:
- [ ] Add system stats (CPU, Temp, Memory) relevant for Raspberry Pi.
- [ ] Add service control buttons (Restart, Stop).