168 lines
4.5 KiB
Plaintext
168 lines
4.5 KiB
Plaintext
========================================
|
|
FAMILY HUB - FEATURE ROADMAP
|
|
========================================
|
|
|
|
📊 CURRENT STATUS: Database initialized, basic auth working, network access configured
|
|
|
|
========================================
|
|
PHASE 1: IMMEDIATE FIXES (Can do now)
|
|
========================================
|
|
|
|
✅ 1.1 Fix User Edit Button
|
|
- Add edit modal in Settings page
|
|
- Allow admins to edit other users
|
|
|
|
✅ 1.2 Make Lou an Admin
|
|
- Run: python backend\make_lou_admin.py
|
|
|
|
✅ 1.3 Add Birthday Field
|
|
- Add birthday column to users table
|
|
- Update user forms to include birthday
|
|
|
|
========================================
|
|
PHASE 2: USER ENHANCEMENTS
|
|
========================================
|
|
|
|
🔶 2.1 Photo Upload
|
|
OPTIONS:
|
|
A) Simple URL input (current method - works now)
|
|
B) File upload to server (requires file storage)
|
|
C) Upload to cloud storage (AWS S3, Cloudinary, etc.)
|
|
|
|
RECOMMENDATION: Start with URL input, add upload later
|
|
|
|
🔶 2.2 Birthday-Based Chore Logic
|
|
- Skip chores on user's birthday
|
|
- Optional: Skip chores X days before/after birthday
|
|
|
|
========================================
|
|
PHASE 3: CHORE SYSTEM UPGRADES
|
|
========================================
|
|
|
|
🔶 3.1 Multiple Users Per Chore
|
|
DATABASE CHANGE REQUIRED:
|
|
- Create chore_assignments table
|
|
- Migration script needed
|
|
- Update all chore APIs
|
|
|
|
🔶 3.2 Chore Editing by Admins
|
|
- Add edit chore endpoint
|
|
- Add chore edit UI for admins
|
|
|
|
========================================
|
|
PHASE 4: HOME ASSISTANT INTEGRATION
|
|
========================================
|
|
|
|
🔴 4.1 Home Assistant Setup
|
|
REQUIREMENTS:
|
|
- Home Assistant URL
|
|
- Long-lived access token
|
|
- Entity IDs for appliances:
|
|
* Dishwasher (sensor.dishwasher_status?)
|
|
* Dryer (sensor.dryer_status?)
|
|
* Washing Machine (sensor.washing_machine_status?)
|
|
|
|
🔴 4.2 Appliance Status API
|
|
- Create Home Assistant API client
|
|
- Endpoints to check appliance status
|
|
- Cache status to avoid hammering HA
|
|
|
|
🔴 4.3 Smart Chore Logic
|
|
- Hide running appliance chores
|
|
- Show "unload" chores when appliance finishes
|
|
- Auto-create chores based on appliance state
|
|
|
|
========================================
|
|
PHASE 5: DASHBOARD REDESIGN
|
|
========================================
|
|
|
|
🔴 5.1 New Dashboard Layout
|
|
COMPONENTS:
|
|
- Appliance status cards (dishwasher, dryer, washer)
|
|
- User dropdown filter
|
|
- Chore buttons (not list)
|
|
- Quick assign workflow
|
|
|
|
🔴 5.2 Chore Assignment Workflow
|
|
- Click chore button
|
|
- Select user from dropdown
|
|
- Submit or cancel
|
|
|
|
🔴 5.3 Chore Filtering
|
|
- Filter by selected user
|
|
- Filter by chore status
|
|
- Filter by appliance state
|
|
|
|
========================================
|
|
QUESTIONS BEFORE PROCEEDING
|
|
========================================
|
|
|
|
HOME ASSISTANT:
|
|
1. Do you have Home Assistant running?
|
|
2. What is the URL? (e.g., http://10.0.0.x:8123)
|
|
3. Do you have the entity IDs for your appliances?
|
|
4. Do you have a long-lived access token?
|
|
|
|
CHORE LOGIC:
|
|
5. Should multiple users complete the SAME chore, or assign to multiple users?
|
|
Example: "Clean kitchen" - all 3 people do it together vs assign to 3 people separately
|
|
|
|
6. For birthday logic:
|
|
- Skip chores only on exact birthday?
|
|
- Or skip for range (e.g., ±3 days)?
|
|
|
|
PHOTOS:
|
|
7. For now, should we just use URL input (easy) or set up file upload (complex)?
|
|
|
|
DATABASE:
|
|
8. Are you okay with me creating database migration scripts?
|
|
This will modify your database structure safely.
|
|
|
|
========================================
|
|
RECOMMENDED IMPLEMENTATION ORDER
|
|
========================================
|
|
|
|
WEEK 1: Core Fixes
|
|
- Fix user edit modal ✅
|
|
- Make Lou admin ✅
|
|
- Add birthday field ✅
|
|
- Test user management
|
|
|
|
WEEK 2: Photo & Chore Editing
|
|
- Photo URL input
|
|
- Chore edit UI for admins
|
|
- Birthday-based logic
|
|
|
|
WEEK 3: Multi-User Chores
|
|
- Database migration
|
|
- Chore assignment table
|
|
- Update all APIs
|
|
- Update UI
|
|
|
|
WEEK 4: Home Assistant
|
|
- HA integration setup
|
|
- Appliance status tracking
|
|
- Smart chore logic
|
|
|
|
WEEK 5: Dashboard
|
|
- New dashboard UI
|
|
- Chore buttons
|
|
- Assignment workflow
|
|
- Filtering
|
|
|
|
========================================
|
|
NEXT STEPS
|
|
========================================
|
|
|
|
IMMEDIATE (Today):
|
|
1. Run: cd D:\Hosted\familyhub\backend
|
|
2. Run: python make_lou_admin.py
|
|
3. Test: Lou should now see admin features
|
|
|
|
THEN ANSWER:
|
|
- Which phase should we tackle first?
|
|
- Do you have Home Assistant setup info ready?
|
|
- OK to modify database structure?
|
|
|
|
========================================
|