44 lines
1.7 KiB
Markdown
44 lines
1.7 KiB
Markdown
# ROADMAP: Sensorpajen Modernization & TUI
|
|
|
|
## Overview
|
|
This roadmap defines the evolution of Sensorpajen from a CLI-based tool to a full-featured TUI application for sensor management and monitoring.
|
|
|
|
---
|
|
|
|
## Phase 1: Modern TUI Management & Data Persistence ✅ DONE (2025-12-29)
|
|
**Goal**: Replace the basic CLI with a full-screen Textual TUI and improve discovery data persistence.
|
|
|
|
**Notes**:
|
|
- Migrated discovery data to SQLite for better metadata tracking.
|
|
- Implemented a full-screen TUI using Textual with Discovery, Configured, and Ignored views.
|
|
- Added support for interactive Approve, Ignore, Edit, and Remove actions.
|
|
|
|
### Tasks:
|
|
- ✅ **Database Migration**: Replace `discovered_sensors.json` with a SQLite database.
|
|
- ✅ **Textual TUI Scaffolding**: Initialize a full-screen TUI using the `Textual` library.
|
|
- ✅ **Sensor Management View**: Interactive management of all sensor states.
|
|
- ✅ **Branching Strategy**: Developed in `feature/tui-management`.
|
|
|
|
---
|
|
|
|
## Phase 2: Live Monitoring & Global Configuration
|
|
**Goal**: Add real-time visibility and full system configuration to the TUI.
|
|
|
|
### Tasks:
|
|
- [ ] **Live Dashboard**:
|
|
- Real-time display of temperature, humidity, and battery levels.
|
|
- Visual indicators for sensor health/connectivity.
|
|
- [ ] **Global Configuration**:
|
|
- Edit MQTT settings (Host, Port, Credentials).
|
|
- Edit application settings (Watchdog, Log Level, etc.).
|
|
- [ ] **System Integration**:
|
|
- View service logs within the TUI.
|
|
- Restart/Stop service from the TUI.
|
|
|
|
---
|
|
|
|
## Completed Phases
|
|
- ✅ **Phase 0: Preparation & Cleanup** (2025-12-27)
|
|
- ✅ **Phase 0.1: Testing Infrastructure** (2025-12-29)
|
|
- ✅ **Phase 1: Modern TUI Management & Data Persistence** (2025-12-29)
|