{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "oleost-visionstate--alert-when-garage-door-left-open",
 "repo": "oleost/VisionState",
 "repo_url": "https://github.com/oleost/VisionState",
 "repo_slug": "oleost-visionstate",
 "title": "Alert when the garage door stays open",
 "page_title": "How to alert when the garage door stays open with Vision State",
 "summary": "Get a phone notification when a camera shows the garage door open for 10 minutes.",
 "who": "A homeowner who left the garage door open and wants a warning without checking the camera by hand.",
 "problem": "A garage door left open is easy to forget, and there is no sensor on a door that has no contact switch.",
 "outcome": "A garage door state sensor in Home Assistant that reports open, closed or halfway, plus an automation that sends a phone message after 10 minutes open.",
 "steps": [
  "Click Add repository in the Vision State README, or add https://github.com/oleost/VisionState under Settings → Apps → App store → ⋮ → Repositories.",
  "Install Vision State, start it, and open it from the sidebar.",
  "Choose New sensor, pick the garage camera, draw a region around the door, and select the state option.",
  "Click a few example images for open, closed and halfway so the sensor learns the states in about a second.",
  "Add an automation that triggers when sensor.garage_door changes to open for 00:10:00 and calls notify.mobile_app_phone with a message."
 ],
 "agent_prompt": "Using the VisionState repo at https://github.com/oleost/VisionState, set up a garage door state sensor for the camera <camera_entity> and a Home Assistant automation that notifies <notify_service> after the door is open for 10 minutes. Expected output: a sensor.garage_door entity and one automation YAML block. Verify that the sensor reports open, closed and halfway in the Home Assistant entity list.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Run only one of the stable Vision State app and the beta app at a time, because they publish the same sensors.",
 "category": "Life admin",
 "tags": [
  "Life admin"
 ],
 "lang": "python",
 "requirements": [
  "Home Assistant OS or Home Assistant Supervised, version 2025.10 or newer",
  "The Mosquitto broker app and the MQTT integration in Home Assistant",
  "A camera that Home Assistant can see as a camera entity, or an RTSP or HTTP snapshot URL"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/oleost-visionstate/alert-when-garage-door-left-open/",
 "md": "https://dedupedai.com/use-cases/oleost-visionstate/alert-when-garage-door-left-open/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/oleost-visionstate--alert-when-garage-door-left-open.json",
 "api_version": "v1"
}
