vault backup: 2026-03-12 08:35:13
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# Mission Control Dashboard (Python)
|
||||
|
||||
**Location:** C:\web\htdocs\mission-control-py
|
||||
**URL:** http://localhost:5050
|
||||
**Tech:** Python/Flask + MySQL + Home Assistant API
|
||||
|
||||
## Quick Reference
|
||||
|
||||
| Command | Action |
|
||||
|---------|--------|
|
||||
| Run | cd C:\web\htdocs\mission-control-py && python app.py |
|
||||
| Port | 5050 (Frigate-safe) |
|
||||
| Restart | Auto-reloads on file changes |
|
||||
|
||||
## Pages
|
||||
|
||||
| Route | Purpose |
|
||||
|-------|---------|
|
||||
| / | Gateway status, Cron jobs, Weather |
|
||||
| /admin | Projects/Tasks CRUD |
|
||||
| /news | News briefs archive |
|
||||
| /alerts | System alerts |
|
||||
| /calendar | HA calendar + F1 races |
|
||||
| /memory | Memory file stats |
|
||||
|
||||
## Features
|
||||
|
||||
- **Caching:** 5-minute TTL for Gateway/Cron/Weather
|
||||
- **Weather:** From HA weather.home entity
|
||||
- **News:** Cron-fed JSON at 8 AM daily
|
||||
- **Calendar:** HA integration (date range bug known)
|
||||
|
||||
## Known Issues
|
||||
|
||||
| Issue | Status |
|
||||
|-------|--------|
|
||||
| Calendar >10 days not showing | Known |
|
||||
| Calendar agent creates cron not events | Known |
|
||||
|
||||
_Last updated: 2026-02-20_
|
||||
71
Projects/Mission Control/Mission Control Dashboard - TLC.md
Normal file
71
Projects/Mission Control/Mission Control Dashboard - TLC.md
Normal file
@@ -0,0 +1,71 @@
|
||||
# Mission Control Dashboard — TLC Project
|
||||
|
||||
**Status:** In Progress — Needs Consolidation & Refresh
|
||||
**Created:** 2026-02-17 (Next.js) / 2026-02-20 (Python)
|
||||
**Goal:** Combine both dashboards into one unified system
|
||||
|
||||
---
|
||||
|
||||
## Current State
|
||||
|
||||
We have **TWO** Mission Control dashboards:
|
||||
|
||||
### 1. Next.js Dashboard
|
||||
| Attribute | Value |
|
||||
|-----------|-------|
|
||||
| **Location** | `C:\web\htdocs\mission-control` |
|
||||
| **URL** | http://localhost:3000 |
|
||||
| **Tech** | Next.js 14, TypeScript, Tailwind |
|
||||
| **Status** | Running but needs updates |
|
||||
| **Features** | Project cards, Kanban boards, Status widgets, Themes |
|
||||
|
||||
### 2. Python/Flask Dashboard
|
||||
| Attribute | Value |
|
||||
|-----------|-------|
|
||||
| **Location** | `C:\web\htdocs\mission-control-py` |
|
||||
| **URL** | http://localhost:5050 |
|
||||
| **Tech** | Python/Flask, MySQL, HA API |
|
||||
| **Status** | Running but needs updates |
|
||||
| **Features** | Admin CRUD, Weather, Gateway status, Projects |
|
||||
|
||||
---
|
||||
|
||||
## The Problem
|
||||
|
||||
Two dashboards doing similar things. Need to decide on architecture.
|
||||
|
||||
---
|
||||
|
||||
## Features to Preserve
|
||||
|
||||
### From Next.js:
|
||||
- Project cards, Kanban boards
|
||||
- Drag-and-drop tasks
|
||||
- Real-time status widgets
|
||||
- 4 themes (NASA, Luxury, Cyberpunk, Organic)
|
||||
- GLaDOS voice control
|
||||
|
||||
### From Python:
|
||||
- MySQL persistence
|
||||
- Home Assistant API
|
||||
- Weather widget
|
||||
- Admin CRUD
|
||||
- News tracking
|
||||
|
||||
---
|
||||
|
||||
## Possible Directions
|
||||
|
||||
**A:** Refactor Next.js (add MySQL, port Python features)
|
||||
**B:** Enhance Python (add themes, polish UI)
|
||||
**C:** Start Fresh (new tech stack)
|
||||
**D:** Hybrid API (Python backend, Next.js frontend)
|
||||
|
||||
---
|
||||
|
||||
**Notes:**
|
||||
- Frigate is working (Docker)
|
||||
- UniFi is parked (auth issues later)
|
||||
- On hold until direction decided
|
||||
|
||||
*Full doc in git: memory/projects/mission-control-dashboard-tlc.md*
|
||||
8
Projects/Mission Control/Tasks.md
Normal file
8
Projects/Mission Control/Tasks.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Mission Control Tasks
|
||||
|
||||
## In Progress
|
||||
- [ ] Fix calendar date range bug
|
||||
- [ ] Fix calendar agent (uses cron not ha_calendar)
|
||||
|
||||
---
|
||||
Last Updated: 2026-03-12
|
||||
Reference in New Issue
Block a user