Files
Retro_HA/TASKS.md
Krzysztof Cieślik 22a3e0fe7e Initial commit
2026-06-13 21:43:53 +02:00

1.7 KiB

RetroHA — Task Tracker

Methodology: Incremental Kanban (Simple .md file)

[PHASE 1] Foundations (Proof of Concept)

  • Project configuration (minSdk 19, Kotlin, Retrofit)
  • Login screen (URL + Token)
  • Configuration persistence in SharedPreferences
  • Basic REST client (fetch /api/states)
  • Connection verification (Online/Offline status)

[PHASE 2] Custom Graphics Engine (Bauhaus Canvas)

  • WidgetCardView implementation (Custom View)
  • Manual tile rendering (background, border, shadow)
  • Manual text rendering with StaticLayout optimization
  • Icon system (HaIcons.kt) rendered on Canvas
  • Widget grid (GridView) with responsive column count

[PHASE 3] Data Integration & Entity Selection

  • Mapping Home Assistant states to visual styles
  • Entity browser and selection screen (Searchable)
  • Persistent storage of selected widget list
  • Domain filtering via Tabs (Lighting, Sockets, Power, etc.)
  • Automatic background data refresh

[PHASE 4] Interactions & Control

  • Short click handling (Toggle / Execute)
  • Pulsing animation during state transitions (Toggling)
  • Brightness control menu (LightControlDialog)
  • Button removal from brightness menu (Auto-save on release)
  • Dismiss menu on outside touch

[PHASE 5] UX Polish & Stability

  • Internationalization (PL/EN support)
  • Kiosk Mode (Wake Lock - prevent screen sleep)
  • onDraw performance optimization (zero allocation in draw loop)
  • Stability testing (Monkey Stress Test)

Future Development

  • WebSocket implementation for real-time updates
  • Support for climate and media_player domains
  • RGB color support for lighting

Legend:

  • - Done
  • - To Do