LED Strip Simulator & App Playtime Tracking System Design
Architecture Overview⌗
[Diagram showing system flow]:
Computer/Server → MQTT → Property PI → LED Strip (146 Strip)
↓
5v External Power
Hardware Specifications⌗
- AllOZ: Speed Run components
- Dimensions: 10 x 12 grid configuration
- Power: External 5v power supply required
Software Components⌗
EEPROM (LED Strip Simulator)⌗
- Features:
- Zone Handwriting
- OIC → Upload Jobs
- Intervals: “daily” / “hourly”
- Package Name: [unclear]
App Playtime Tracking System⌗
- AppPlayTimeScheduleWorker
- AppPlayTimeTrackingWorker
Scheduled Worker System⌗
[Diagram showing worker flow]:
Scheduled Worker (runs every hour)
↓
Pull tracking worker scheduling/config
↓
(if config interval changed)
↓
Cancel/Unqueue Work ("PR AppPlaytime Tracker") + Enqueue/MagicWork
Shared Preferences & Interval Management⌗
- Interval: Set → Package → Interval
- Config: If interval changed → get package name & interval
- Tracking Worker: Manages scheduling updates
AppPlaytimeTrackingWorker Details⌗
- Frequency: Every X minutes (run @interval hourly)
- Query: “Only query for this every 8.1 day”
- Questions tracked:
- Query → Has it been 1 hour?
- If daily → Has it been 75 1 day?
Implementation Notes⌗
- Take CPF then spread it out
- Feeling good about current progress
- Corn Rate with Ham Interface integration planned
Diagram Explanations⌗
- System Architecture: Shows the flow from computer/server through MQTT to the LED strip setup
- Worker Scheduling Flow: Illustrates how the background workers manage app playtime tracking and scheduling
- Hardware Layout: Shows the physical configuration of the LED strip array (10x12 grid)