# AI use cases for Vision State (oleost/VisionState)

Repo: [oleost/VisionState](https://github.com/oleost/VisionState) | Use cases: 4 | Page: https://dedupedai.com/use-cases/oleost-visionstate/

VisionState is a Home Assistant app that turns camera views into sensors for doors, objects, people and meter readings, using a local AI model that runs on your own CPU.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Alert when the garage door stays open: https://dedupedai.com/use-cases/oleost-visionstate/alert-when-garage-door-left-open/
- Read a water or gas meter into the Energy dashboard: https://dedupedai.com/use-cases/oleost-visionstate/read-water-gas-meter-into-energy-dashboard/
- Track who is home and whose car is in the drive: https://dedupedai.com/use-cases/oleost-visionstate/track-who-is-home-and-whose-car-is-there/
- Read a washer's minutes-left display into Home Assistant: https://dedupedai.com/use-cases/oleost-visionstate/read-appliance-countdown-from-display/

## How to alert when the garage door stays open with Vision State

Repo: [oleost/VisionState](https://github.com/oleost/VisionState) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Get a phone notification when a camera shows the garage door open for 10 minutes.

**Who it is for:** A homeowner who left the garage door open and wants a warning without checking the camera by hand.

**The problem:** A garage door left open is easy to forget, and there is no sensor on a door that has no contact switch.

**The 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

1. Click Add repository in the Vision State README, or add https://github.com/oleost/VisionState under Settings → Apps → App store → ⋮ → Repositories.
2. Install Vision State, start it, and open it from the sidebar.
3. Choose New sensor, pick the garage camera, draw a region around the door, and select the state option.
4. Click a few example images for open, closed and halfway so the sensor learns the states in about a second.
5. 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 to paste into your agent

```text
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.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/oleost-visionstate/alert-when-garage-door-left-open/

## How to read a water or gas meter into the Energy dashboard with Vision State

Repo: [oleost/VisionState](https://github.com/oleost/VisionState) | Difficulty: Intermediate | Time: 45 minutes | Basis: From the README

Point an ESP32-CAM at a meter and log its total and rate in Home Assistant.

**Who it is for:** A household that wants its water or gas use tracked automatically without a smart meter.

**The problem:** Mechanical meters have to be read by hand, and the readings are not logged anywhere.

**The outcome:** A meter counter that only goes up, checked before it is published, and shown in the Energy dashboard with an optional rate in m³/h or kW.

### Steps

1. Install the Vision State app from the repository and open it from the sidebar.
2. Mount an ESP32-CAM or any camera above the meter, then add it to Home Assistant with ESPHome or use its snapshot URL.
3. Choose New sensor, select the camera, and draw a box around the meter digits or the rolling wheels.
4. Choose the reading type for a mechanical water or gas meter, or for an LCD or LED power meter.
5. Open the Energy dashboard in Home Assistant and add the new meter total.

### Prompt to paste into your agent

```text
Using the VisionState repo at https://github.com/oleost/VisionState, configure a reading sensor for the camera <camera_entity> on a <water or gas or power> meter. Expected output: a meter total entity that appears in the Home Assistant Energy dashboard. Verify that each new value is higher than or equal to the previous one.
```

### Caveat

The README gives no accuracy figures for meter reading, so compare the first few values against the physical meter before you rely on them.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/oleost-visionstate/read-water-gas-meter-into-energy-dashboard/

## How to track who is home and whose car is in the drive with Vision State

Repo: [oleost/VisionState](https://github.com/oleost/VisionState) | Difficulty: Intermediate | Time: 45 minutes | Basis: From the README

Get on/off sensors for named people and your own car from a driveway camera.

**Who it is for:** A family that wants Home Assistant to know who has arrived, and to notice an unknown person at the door.

**The problem:** Presence sensors often rely on phones, and a camera view of the drive gives no named result.

**The outcome:** Object and person sensors for COCO objects such as cars, plus named people recognised by face. Unknown people appear as their own sensor.

### Steps

1. Install Vision State, open it from the sidebar, and choose New sensor for the driveway or front door camera.
2. Draw a region around the driveway or door so only that area is watched.
3. Choose the objects to watch, such as car, from the list of 80 objects. No training is needed for these.
4. Turn on face recognition for that camera, then add a few photos of each person and give them a name. Faces are kept in the app's own storage.
5. Check the object sensor and the person sensor in Home Assistant, then add an automation if you want a message when a named person arrives.

### Prompt to paste into your agent

```text
Using the VisionState repo at https://github.com/oleost/VisionState, set up object and person sensors for the camera <camera_entity>, with named people <person_names>. Expected output: an on/off sensor for each named person and for the car object. Verify that face recognition is enabled only for the camera you chose.
```

### Caveat

Face recognition is a dual-use capability, so only enable it for cameras where you have a clear reason and where people have been told they are being recognised.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/oleost-visionstate/track-who-is-home-and-whose-car-is-there/

## How to read a washer's minutes-left display into Home Assistant with Vision State

Repo: [oleost/VisionState](https://github.com/oleost/VisionState) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Turn a appliance display's remaining minutes into a sensor you can automate on.

**Who it is for:** A person who is often away from home and wants to know when the washer or dryer finishes.

**The problem:** Appliances without a network connection hide their remaining time behind a display that cannot be read from another room.

**The outcome:** A reading sensor that reports the minutes left on the display, so an automation can notify you when the cycle is nearly done.

### Steps

1. Install the Vision State app and open it from the sidebar.
2. Point a camera at the appliance display, then choose New sensor and select that camera.
3. Draw a box around the number that shows the minutes left.
4. Choose the reading option and check that the sensor shows the number the display shows.
5. Add a Home Assistant automation that sends a message when the reading drops to a value you choose.

### Prompt to paste into your agent

```text
Using the VisionState repo at https://github.com/oleost/VisionState, create a reading sensor for the camera <camera_entity> that reads the minutes-left display on <appliance>. Expected output: a numeric sensor that matches the display. Verify that the sensor value matches the display on three separate checks.
```

### Caveat

The README names the washer as an example but does not say which appliance displays are supported, so test with your own display before you trust the reading.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/oleost-visionstate/read-appliance-countdown-from-display/
