Families Easy

Gaming Time Limits

Set daily gaming caps with gentle warnings before enforcement kicks in.

The Problem

Your child games too much and loses track of time. You want fair limits without constant arguments.

How Leassh Solves It

Leassh monitors running processes and vision-classified screenshots. When gaming time hits 80%, the child gets a warning notification. At 100%, the gaming app is closed automatically.

Sample Configuration

screen_time:
  enabled: true
  capture_interval_minutes: 5

time_limits:
  - node: kids-pc
    category: gaming
    max_minutes_per_day: 120

enforcement:
  - node: kids-pc
    category: gaming
    warn_percent: 80
    action: kill_category

What You Get

  • Telegram alert at 80% of daily limit
  • Automatic process termination at 100%
  • Daily summary of gaming vs other activities
Families Easy

Weekly Behavioral Report

Get a warm, factual summary of your child's computer habits every week.

The Problem

You want to understand your child's computer habits without hovering over their shoulder or reading their messages.

How Leassh Solves It

Leassh captures periodic screenshots, classifies activities via AI vision, and generates a weekly narrative report. The tone is like a thoughtful teacher at a parent conference: positive, factual, and non-judgmental.

Sample Configuration

screen_time:
  enabled: true
  capture_interval_minutes: 10
  data_retention_days: 30
  vision:
    ollama_url: http://localhost:11434
    model: llava

# Call the insights API weekly:
# GET /fleet/api/insights/kids-pc/weekly

What You Get

  • Weekly report with highlights, patterns, and notable observations
  • Week-over-week comparison with specific numbers
  • New app and category detection
Families Easy

Bedtime Enforcement

Automatically log off the computer on school nights at a set time.

The Problem

They stay up late on the computer, especially on school nights. Morning battles follow.

How Leassh Solves It

A time-based rule detects when someone is logged in past bedtime on weeknights and issues a warning, then forces a logoff after a grace period.

Sample Configuration

rules:
  - name: bedtime_enforcement
    when: "time >= 22:00 AND time < 06:00 AND day_of_week IN [Mon,Tue,Wed,Thu,Sun]"
    nodes: [kids-pc]
    actions:
      - notify: warning
      - ssh_command: "shutdown /l /f"  # Windows logoff

notifications:
  telegram:
    bot_token: "your-bot-token"
    chat_id: "your-chat-id"

What You Get

  • Telegram warning 10 minutes before bedtime
  • Automatic logoff at bedtime on school nights
  • Weekend schedule can be different or disabled
Power Users Intermediate

GPU Fleet for AI Inference

Reclaim your GPUs from family gaming for Ollama inference workloads.

The Problem

Your family uses the GPUs you need for Ollama, ComfyUI, or training runs. You need shared machines to prioritize inference during work hours.

How Leassh Solves It

Leassh monitors GPU utilization across machines, blacklists games during work hours, and can start/stop Ollama services based on rules.

Sample Configuration

nodes:
  - name: gpu-workstation-1
    host: 192.168.1.50
    ssh: user@192.168.1.50
    gpu: nvidia
    shared: true

blacklist:
  global:
    - steam.exe
    - epicgameslauncher.exe

rules:
  - name: work_hours_gpu_priority
    when: "time >= 09:00 AND time < 18:00 AND day_of_week IN [Mon,Tue,Wed,Thu,Fri]"
    actions:
      - kill_blacklisted
      - ssh_command: "systemctl start ollama"
  - name: evening_free
    when: "time >= 18:00"
    actions:
      - ssh_command: "systemctl stop ollama"

What You Get

  • Games killed during work hours on shared GPU machines
  • Ollama automatically started/stopped by schedule
  • GPU utilization tracking and alerts
Power Users Intermediate

Home Server Auto-Recovery

Detect crashed services and restart them automatically with Telegram alerts.

The Problem

Your home services crash and you don't notice for hours. Plex, Home Assistant, or Nextcloud go down silently.

How Leassh Solves It

Leassh probes your servers every few minutes, detects when critical processes disappear, restarts them via SSH, and sends you a notification.

Sample Configuration

nodes:
  - name: homelab-server
    host: 192.168.1.10
    ssh: admin@192.168.1.10

rules:
  - name: plex_recovery
    when: "NOT process_running('plexmediaserver')"
    nodes: [homelab-server]
    actions:
      - ssh_command: "systemctl restart plexmediaserver"
      - notify: warning
  - name: nextcloud_recovery
    when: "NOT process_running('apache2')"
    nodes: [homelab-server]
    actions:
      - ssh_command: "systemctl restart apache2"
      - notify: warning

notifications:
  telegram:
    bot_token: "your-bot-token"
    chat_id: "your-chat-id"

What You Get

  • Automatic service restart within minutes of a crash
  • Telegram notification with service name and node
  • Trend tracking for disk, RAM, and temperature
Families Intermediate

Homework vs Entertainment

Understand whether computer time is productive homework or passive entertainment.

The Problem

They say they're doing homework, but are they really? You want data, not surveillance.

How Leassh Solves It

Deep vision analysis classifies not just the app but the content quality and engagement type. You see a breakdown of "active learning" vs "passive consumption" without reading their screen.

Sample Configuration

screen_time:
  enabled: true
  capture_interval_minutes: 5
  vision:
    ollama_url: http://localhost:11434
    model: llava

# Use the deep analysis endpoint for richer data:
# GET /fleet/api/insights/kids-pc/deep
#
# Returns: content_quality, engagement_type,
#          specific_content, new_or_notable

What You Get

  • Category breakdown: homework vs gaming vs youtube
  • Content quality classification (educational, creative, passive)
  • Engagement type tracking (active creation vs passive browsing)
Families Intermediate

Social Media Awareness

Know which platforms they use and how much, without reading their messages.

The Problem

You want to know what social platforms your child uses without invading their privacy or reading their conversations.

How Leassh Solves It

Vision analysis identifies social media platforms from screenshots without capturing message content. You get time-per-platform data, not conversation logs.

Sample Configuration

screen_time:
  enabled: true
  capture_interval_minutes: 10
  vision:
    ollama_url: http://localhost:11434
    model: llava

# The weekly report breaks down social media by platform.
# Deep analysis captures platform names in specific_content.
#
# Optional: set time limits on social media
time_limits:
  - node: kids-pc
    category: social_media
    max_minutes_per_day: 60

What You Get

  • Platform breakdown: Discord, Instagram, TikTok, etc.
  • Time spent per platform in weekly report
  • Alert when a new social platform appears
Power Users Easy

Shared Machine Management

Auto-kill heavy apps left running on shared workstations after idle timeout.

The Problem

People leave heavy apps running on shared workstations. Chrome with 200 tabs, Blender renders, or Docker containers eating all the RAM.

How Leassh Solves It

Leassh detects idle sessions and kills specified resource-heavy processes after a configurable timeout. Shared machine etiquette, enforced.

Sample Configuration

nodes:
  - name: shared-workstation
    host: 192.168.1.30
    ssh: admin@192.168.1.30
    shared: true

rules:
  - name: idle_cleanup
    when: "idle_minutes > 30"
    nodes: [shared-workstation]
    actions:
      - ssh_command: "pkill -f 'blender|chrome|firefox'"
      - notify: info

probe:
  idle_threshold: 600  # 10 min for idle detection

What You Get

  • Automatic cleanup of heavy apps after 30 min idle
  • Notification when cleanup occurs
  • RAM and CPU usage tracking per machine
Families Easy

Elder Care Check-In

Monitor that an elderly parent is using their computer normally, with alerts on pattern changes.

The Problem

Is your parent using their computer normally? A sudden change in patterns could mean they need help.

How Leassh Solves It

Leassh establishes usage baselines over time. When patterns change significantly (no login by usual time, unusually long sessions, sudden drop in activity), you get alerted.

Sample Configuration

nodes:
  - name: moms-pc
    host: 192.168.1.20
    ssh: user@192.168.1.20

screen_time:
  enabled: true
  capture_interval_minutes: 15
  data_retention_days: 60

rules:
  - name: no_morning_login
    when: "time >= 11:00 AND NOT logged_in"
    nodes: [moms-pc]
    actions:
      - notify: warning

notifications:
  telegram:
    bot_token: "your-bot-token"
    chat_id: "your-chat-id"

What You Get

  • Alert if no login by expected time
  • Weekly usage pattern report
  • Detection of significant routine changes
Both Easy

Content Creator Productivity

Self-monitoring mode: see where your time actually goes with AI classification.

The Problem

Where does your time actually go? You think you spent 4 hours editing, but vision says 2 hours editing and 2 hours on Reddit.

How Leassh Solves It

Run leassh on your own machine in self-monitoring mode. No enforcement, no limits, just honest data about your computer usage patterns and a weekly summary.

Sample Configuration

nodes:
  - name: my-workstation
    host: localhost
    ssh: me@localhost
    permissions:
      screenshot: true

screen_time:
  enabled: true
  capture_interval_minutes: 10
  vision:
    ollama_url: http://localhost:11434
    model: llava

# No enforcement, no time limits.
# Just data and weekly reports.
# GET /fleet/api/insights/my-workstation/weekly

What You Get

  • Honest breakdown of productive vs entertainment time
  • Weekly narrative report with trends
  • Top apps and category breakdown