Skip to content

markaggar/ai-image-reminders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ  AI Image Reminders - ADHD-Friendly Home Assistant Package

Version Home Assistant License

A comprehensive Home Assistant package that uses AI-powered image and video analysis to provide gentle, ADHD-friendly reminders for household tasks and dog walking. Features smart notifications via speakers, displays, and mobile devices with positive reinforcement and clear guidance.

โœจ Features

๐ŸŽฏ ADHD-Focused Design

  • Gentle Reminders: Encouraging language instead of nagging
  • Specific Tasks: AI provides actionable, detailed instructions
  • Positive Reinforcement: Celebrates completed tasks with enthusiasm
  • Multi-Modal Notifications: Audio (speakers) + Visual (displays) + Mobile
  • Smart Timing: Context-aware reminders that adapt to activity patterns

๐Ÿค– AI-Powered Analysis

  • Kitchen Monitoring: Detects when kitchen needs cleaning with specific tasks
  • Family Room Tracking: Identifies tidying needs with detailed task lists
  • Dog Walk Detection: Video analysis for walk start/completion detection
  • Enhanced Walk Returns: Specialized detection for low-light/obscured scenarios
  • Multi-Camera Support: Primary + secondary camera angles for better coverage

๐Ÿ”” Smart Notification System

  • Targeted Messaging: Different notifications for family members vs. parents
  • UNotify Integration: Rich notifications with audio, display, and mobile delivery
  • Walk-in-Progress Awareness: Suppresses duplicate reminders during active walks
  • Notification Cooldowns: Prevents ADHD-triggering notification spam
  • Interactive Confirmations: Action buttons for unclear situations

๐Ÿ“ฑ Advanced Walk Tracking

  • Dual-Sensor Logic: Requires both person and pet detection for reliability
  • Video-Based Analysis: 30-second recordings with 15-second lookback
  • Direction Detection: Distinguishes between starting and ending walks
  • Walk-in-Progress Monitoring: Enhanced return detection during active walks
  • Manual Override: User confirmation for ambiguous situations

๐Ÿ—๏ธ Architecture

Modular Design

The package uses a modular architecture with automated build system:

src/
โ”œโ”€โ”€ automations/          # 15 automation components
โ”œโ”€โ”€ sensors/             # Template sensors for status tracking
โ”œโ”€โ”€ helpers/             # Input helpers for configuration
โ””โ”€โ”€ header.yaml          # Package metadata

build-deploy.ps1         # Automated build and deployment

Key Components

  • 15 Automation Files: Each handling specific functionality
  • Template Sensors: AI analysis status and system monitoring
  • Input Helpers: Configurable settings and thresholds
  • Variable Sensors: Unlimited storage for AI analysis results
  • Build System: Automated concatenation and deployment

๐Ÿš€ Quick Start

Prerequisites

  • Home Assistant 2025.8+
  • AI Tasks integration (Google AI, OpenAI, or compatible)
  • Variables + History integration (from HACS)
  • UNotify integration for enhanced notifications
  • Camera entities for monitoring areas
  • Motion sensors for person/pet detection

Required Variable Sensors

This package uses the Variables + History integration for unlimited AI analysis storage. Create these variable sensors:

Kitchen Analysis Storage

# Variable Sensor: sensor.kitchen_clean_status
# Purpose: Unlimited storage for kitchen AI analysis results
# Attributes: tasks, timestamp, analysis_details

Family Room Analysis Storage

# Variable Sensor: sensor.family_room_tidy_status
# Purpose: Unlimited storage for family room AI analysis results
# Attributes: tasks, timestamp, analysis_details

Setup Steps:

  1. Install Variables + History from HACS
  2. Go to Settings > Devices & Services > Variables
  3. Create variable sensors with the exact names above
  4. The automations will automatically populate them with AI results

Installation

  1. Install Required Integrations:

    # Install from HACS:
    - AI Tasks (Google AI/OpenAI/compatible)
    - Variables + History  
    - UNotify
  2. Clone the repository:

    git clone https://github.com/markaggar/ai-image-reminders.git
    cd ai-image-reminders
  3. Create required variable sensors:

    • Install Variables + History integration
    • Create sensor.kitchen_clean_status
    • Create sensor.family_room_tidy_status
  4. Configure entity names in Home Assistant:

    • Update input_text helpers with your actual entity names:
      • Camera entities (camera.kitchen, camera.family_room, camera.driveway)
      • Motion sensors (binary_sensor.kitchen_person_motion, etc.)
      • AI Tasks entity (ai_task.google_ai_task)
  5. Deploy the package:

    .\build-deploy.ps1
  6. Import the dashboard:

    • Copy contents of dashboard-config.yaml
    • Go to Home Assistant > Settings > Dashboards
    • Create new dashboard and paste the YAML configuration
  7. Enable monitoring:

    • Turn on input_boolean.ai_detection_enabled
    • Enable specific monitoring: kitchen_monitoring_enabled, family_room_monitoring_enabled, dog_walk_monitoring_enabled
    • Set notification target: input_text.notification_target (liam/parents)
    • Configure notification settings

๐ŸŽฎ Management Dashboard

A comprehensive Home Assistant dashboard is included for easy system management:

Dashboard Features:

  • System Status: AI detection system overview and controls
  • Kitchen Monitoring: Status, variable sensor data, and manual controls
  • Family Room Monitoring: Status, analysis results, and configuration
  • Dog Walk Tracking: Walk status, completion times, and manual overrides
  • System Configuration: Entity settings, cooldowns, and integration setup
  • Setup Guide: Built-in requirements and variable sensor creation instructions
  • History Graphs: Visual timeline of analysis results
  • Activity Log: Recent system events and changes

Dashboard Installation:

  1. Copy the contents of dashboard-config.yaml
  2. Go to Home Assistant Settings > Dashboards
  3. Click + Add Dashboard
  4. Choose "Take control" and paste the YAML configuration
  5. Save as "AI Image Reminders Control Center"

The dashboard provides a single control center for all system monitoring, configuration, and troubleshooting.

โš™๏ธ Configuration

Essential Settings

  • Camera Entities: Configure your actual camera entity names
  • Motion Sensors: Set up person and pet detection sensors
  • AI Tasks: Ensure AI integration is configured and working
  • UNotify: Set up for multi-modal notification delivery

Customizable Parameters

  • Notification Cooldown: 10-240 minutes (default: 30)
  • Walk Completion Window: Auto-detect timeouts and thresholds
  • Analysis Triggers: Motion-based timing for room analysis
  • Message Targeting: Configure liam vs parents notifications

๐Ÿ“Š Notification System

For ADHD Family Member (Liam)

  • ๐ŸŽต Audio: Encouraging reminders via speakers
  • ๐Ÿ“บ Display: Visual notifications on TV/displays
  • ๐Ÿ“ฑ Mobile: Full notification experience
  • ๐ŸŽฏ Content: Task reminders, walk prompts, positive reinforcement

For Parents (Remote Monitoring)

  • ๐Ÿ“ฑ Mobile Only: Silent text notifications
  • ๐Ÿ“Š Status Updates: Completion confirmations and system status
  • โ“ Decision Points: Unclear situations requiring input
  • ๐Ÿ”• No Audio/Display: Appropriate for remote/work situations

๐ŸŽฎ Manual Controls

Force Analysis

  • input_boolean.force_kitchen_check
  • input_boolean.force_family_room_check

Walk Management

  • input_boolean.walk_in_progress
  • input_datetime.morning_walk_done
  • input_datetime.evening_walk_done

System Toggles

  • input_boolean.ai_detection_enabled - Master system toggle
  • input_boolean.notifications_enabled - All notifications
  • Individual monitoring enables for each area

๐Ÿ› ๏ธ Development

Build System

The modular build system automatically:

  1. Combines all source components
  2. Validates YAML syntax
  3. Deploys to Home Assistant
  4. Reloads configurations
  5. Archives previous versions
.\build-deploy.ps1  # Full build and deploy

Component Structure

  • Each automation is a separate file for easy development
  • Template sensors provide system status and AI analysis
  • Input helpers offer user-configurable settings
  • Automated dependency management and validation

๐Ÿ“ˆ System Status

Monitoring Dashboard

  • AI Detection Status: Active, monitoring, checking, disabled
  • Last Analysis Times: Kitchen, family room, driveway
  • Walk Status: In progress, completion times, duration tracking
  • Notification Cooldowns: Current status and remaining time

Troubleshooting

  • Check entity availability in Developer Tools > States
  • Verify AI Tasks integration is responding
  • Confirm camera entities are accessible
  • Test motion sensor triggering

๐Ÿค Contributing

This project is designed for ADHD-friendly home automation. Contributions should maintain:

  • Gentle, encouraging language in all notifications
  • Clear, specific task instructions
  • Positive reinforcement patterns
  • Accessible configuration options

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Home Assistant community for the foundation
  • AI Tasks integration developers
  • UNotify integration for enhanced notifications
  • ADHD community for guidance on supportive technology design

Version 1.0.0 - Complete ADHD-friendly home automation with AI-powered analysis, smart notifications, and comprehensive walk tracking. Ready for production use! ๐ŸŽ‰

About

AI image-based reminders to keep the house clean and take the dog for a walk

Resources

License

Stars

Watchers

Forks

Packages

No packages published