Authorization notice. Vision State is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA homeowner who left the garage door open and wants a warning without checking the camera by hand.
The problemA garage door left open is easy to forget, and there is no sensor on a door that has no contact switch.
The outcomeA 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.
What you need first
- 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
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.
Prompt for your agent
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.
Caveat. Run only one of the stable Vision State app and the beta app at a time, because they publish the same sensors.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for oleost/VisionState and "Alert when the garage door stays open"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer