Build a Raspberry Pi habit-punishing robot with Gemini and SwitchBot

Naz Louis built ADA, an AI robot that detects bad habits and physically intervenes using Gemini, a Raspberry Pi, and smart home controls.

Used for
Everyday life
Skill needed
Requires coding
Shown in video
Partial demo
Summary based on
Transcript
GeminiSwitchBotRaspberry Pi

I Built a Robot That Punishes My Bad Habits

Published Aug 31, 20269:0339,418 views781 likes

Key moments

  • 0:00Introduction of ADA and the problem of bad habits
  • 4:35Explanation of vision system using Gemini
  • 8:25Demonstration of desk adjustment for posture

What they made

ADA detects bad habits like phone use, poor posture, and leaving lights on, and intervenes by locking the phone, adjusting a standing desk, or turning off lights.

8:40

How they did it

  1. AI4:35

    ADA uses computer vision to detect phone usage and posture, sending images to Gemini for confirmation.

    Stated in video · Gemini
  2. AI2:16

    ADA controls smart home devices to turn off lights when the creator leaves the desk.

    Stated in video · SwitchBot
  3. AI3:34

    ADA locks the phone in a box and starts a timer when phone usage is detected.

    Stated in video · Gemini
  4. AI8:25

    ADA adjusts a standing desk via SwitchBot to correct posture.

    Stated in video · SwitchBot

What you can reuse

  • Combining computer vision with a cloud LLM like Gemini enables real-time habit detection.
  • Smart home integrations like SwitchBot allow physical interventions for digital habits.
  • A Raspberry Pi with an AI accelerator can run the core assistant locally while offloading heavy vision tasks.

Trade-offs

  • The system relies on a cloud Gemini model, requiring internet connectivity.
  • The creator mentions considering a local version but has not built it yet.
  • Physical interventions like desk adjustment may be uncomfortable or disruptive.

AI-generated case summaries can contain mistakes. Report an error

Related cases

Automate a smart home

Revive a 2019 Android TV with Claude Code

A creator used Claude Code over Wi-Fi to de-bloat his old Android TV and build a custom ad-free home screen, approving each risky step…

Claude Code111.2K views