Ring-free cameras: phone alerts and a camera page, no subscription

Tapo cameras feed Frigate on my home server, and Home Assistant pushes person alerts with a snapshot and puts the driveway on the lounge TV.

Difficulty
Moderate
Parts cost
Two Tapo C310 cameras and a PC that's always on, plus a spare drive for recordings
Build time
Mostly mounting and cabling the cameras. The Home Assistant side is a few helpers, two automations and a dashboard
Skills
Home Assistant, Frigate, MQTT, Docker

The problem

We had Ring. Ring works, but everything goes through their cloud, and the camera gives you no local video stream (RTSP, the standard way to pull live video off a camera). So my own software couldn’t use it at all.

I already ran Frigate (free camera software that spots people and cars) on my home server for Plate Gate, which opens the garage when it reads our plates. So the plan was simple: replace Ring with cheap cameras that give a local stream, and let Frigate and Home Assistant do the rest.

The hard part wasn’t the cameras. It was giving my partner something as easy as the Ring app. Frigate has its own screen, but mine also shows the workshop’s standby camera from the workshop guard, and that’s not something she needs. She already had the Home Assistant app on her iPhone, so rather than a new app, that’s where it all lives now:

  • A push alert with a snapshot when a person comes up the driveway.
  • A Cameras page in the app: live view, an on/off switch for her alerts, the last person and car seen, and the recordings.
  • As a bonus, the driveway pops up on the lounge TV for 30 seconds when someone’s there, then the TV goes back to whatever it was showing.

No subscription, and the video stays on my own server.

How it works

How the Ring-free cameras work A wired Tapo camera streams to Frigate on the home server, which spots people and cars on the processor and publishes an event over MQTT. Home Assistant checks the camera, zone and cooldown, then either pushes an alert with a snapshot to the phone, which opens the Cameras page, or, if someone is in the lounge, casts the driveway to the TV for 30 seconds. Tapo camera wired, local video stream Frigate on my home server OpenVINO on the processor, no Coral "person" or "car", which zone Home Assistant reads Frigate's events over MQTT listed camera? right zone? alerts on? not in the cooldown? Phone alert push with a snapshot tap → Cameras page person only, 3 min apart Lounge TV only if someone's in the room 30 s cast, then back Cameras not on the list can never alert the phone.

The cameras stream to Frigate on my home server. Frigate decides “that’s a person” or “that’s a car”, works out which zones (areas I’ve drawn on the picture) it has walked into, and publishes an event over MQTT (a simple message bus that lots of home and camera software speaks).

Home Assistant listens to those events. One automation sends the phone alert, but only for cameras and zones I’ve listed, so the workshop camera can never alert my partner. A second automation puts the driveway on the lounge TV, but only if somebody’s actually in the room to see it.

The detecting is done on the server’s processor with OpenVINO (Intel’s AI toolkit, built into Frigate). No Coral stick, no graphics card. See the lessons for why a Coral would have made it worse.

What you need

Cameras

  • TP-Link Tapo C310 for the driveway. It streams at 2304×1296, and it’s wired to the network with a cable.
  • A second Tapo C310 in the garage, also on a cable. Mine only records now. See below.

The server

  • An always-on PC for Frigate. Mine is a mini PC with a Ryzen 7 8845HS (16 threads) and Radeon 780M graphics. The graphics only decode the video. The detecting runs on the processor.
  • A separate drive for recordings. Mine go on a 1.8 TB drive, not the server’s own SSD, to protect the drive the server runs from.
  • Frigate in Docker. The OpenVINO detector is built in.

Home Assistant

  • The MQTT integration with a broker. Mine is the Mosquitto add-on.
  • The Frigate integration, which turns Frigate’s cameras and snapshots into Home Assistant entities.
  • The Home Assistant app on the phone that gets the alerts. My partner’s is an iPhone.

For the TV pop-up (optional)

  • A TV that’s a Chromecast receiver. Ours is a Sony Bravia with Chromecast built in, and the Cast integration in Home Assistant.
  • Presence sensors in the rooms that can see the TV. Mine are mmWave radars, which see people sitting still. See my radar presence sensors.
  • Optional: a speaker that can announce. Mine is the lounge voice assistant.

Cameras and where they look

Camera Connected by What Frigate does with it
Driveway (Tapo C310) Ethernet cable Detects people and cars at the full 2304×1296, 10 frames a second. Plate reading, phone alerts and the TV pop-up all come off this one.
Garage (Tapo C310) Ethernet cable Live view and 3 days of continuous recording. Detection is off.
Workshop standby camera From the workshop Only used when the home server is on duty for the workshop. It can never send a phone alert.

A few things that matter more than which camera you buy:

  • Wire it if you can. A camera on a cable doesn’t drop out when the Wi-Fi has a bad day.
  • Set up a camera account in the Tapo app. That’s the username and password the RTSP stream uses. The stream address ends in stream1, on port 554.
  • Two cameras watching the same area double the work for nothing. Mine see roughly the same patch, so I turned detection off on the garage one and kept it for recording and live view.
  • Two zones on the driveway camera, doing different jobs. An outer one, driveway_approach, reaches further out and is there for plate reading. An inner one, detect, only covers someone actually coming up the driveway. Alerts and the TV watch detect. If they watched the outer zone, the TV would pop up for anything at the far end. Draw both in Frigate’s own zone editor. (In Frigate, the top of the picture is the far end.)

If you add the camera to Home Assistant with the TP-Link integration as well, you get switches for the camera’s own features. Be careful: one of them is privacy mode, and turning it on blanks the picture Frigate needs. See the lessons.

Firmware and config

There’s no firmware here. It’s a Frigate config, three Home Assistant helpers, two automations (plus two small safety nets), and a dashboard. These are tidied versions of mine, not straight copies. I rebuilt the YAML below from my notes, so check it against your own setup before you trust it.

Frigate

The camera password lives in an environment variable, not in the file. Frigate fills in anything written as {FRIGATE_...}.

# config/config.yml
mqtt:
  host: YOUR_MQTT_BROKER        # mine is the Mosquitto add-on in Home Assistant
  user: YOUR_MQTT_USER
  password: "{FRIGATE_MQTT_PASSWORD}"

# go2rtc pulls the camera's stream and re-shares it to Frigate.
go2rtc:
  streams:
    driveway:
      - rtsp://CAMERA_USER:{FRIGATE_RTSP_PASSWORD}@CAMERA_IP:554/stream1

ffmpeg:
  hwaccel_args: preset-vaapi    # AMD graphics decode the video

# Two OpenVINO detectors, both on the processor.
detectors:
  ov:
    type: openvino
    device: CPU
  ov_1:
    type: openvino
    device: CPU

# The model block goes at the TOP LEVEL, not under the detector. See the lessons.
model:
  model_type: yolo-generic
  width: 640
  height: 640
  input_tensor: nchw
  input_dtype: float
  path: /config/model_cache/yolov9-m-640.onnx
  labelmap_path: /labelmap/coco-80.txt

cameras:
  driveway:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/driveway   # the go2rtc copy, not the camera
          roles: [detect, record]
    detect:
      width: 2304       # the camera's real resolution
      height: 1296
      fps: 10
    motion:
      contour_area: 60          # outdoors, small values cook the CPU. See the lessons.
      improve_contrast: false
    objects:
      track: [person, car]
    record:
      enabled: true
    # zones: draw driveway_approach and detect in Frigate's editor.
    # It writes the coordinates in here for you.

I keep 14 days of motion recordings for the driveway. Set your own retention to suit your drive.

Start with the small model. Frigate’s OpenVINO detector ships with one, and it’s what I ran first:

model:
  model_type: ssd
  width: 300
  height: 300
  input_tensor: nhwc
  input_pixel_format: bgr
  path: /openvino-model/ssdlite_mobilenet_v2.xml
  labelmap_path: /openvino-model/coco_91cl_bkgr.txt

That took 2.4 to 2.9 ms per look on my server, and all of Frigate used about 5% of the processor. I moved to YOLOv9 at 640×640 later because it finds more cars, which plate reading needs. The export recipe is in the workshop guard guide. I use the m (medium) size, built the same way with MODEL_SIZE=m. It’s much slower (about 45 ms a look), which is why there are two detectors. The s (small) size is the cheaper middle ground.

Home Assistant helpers

Make these in Settings → Devices & services → Helpers:

Helper Type What it’s for
input_boolean.example_camera_alerts Toggle “Alerts to my phone”. My partner’s on/off switch.
input_boolean.example_cast_enabled Toggle “Driveway on TV”. Turns the TV pop-up on or off.
input_boolean.example_cast_active Toggle The TV pop-up’s cooldown latch. Nobody touches this one.
input_number.example_announce_volume Number, 0.1 to 1.0, step 0.05 How loud the spoken “someone’s in the driveway” is. Mine sits at 0.8.

Don’t give the toggles an initial value. Without one, Home Assistant remembers whatever they were set to across a restart. With one, a restart quietly turns her alerts back on (or off).

The phone alert

This listens to Frigate’s events directly. The watched list says which cameras may alert, and which zone the person has to walk into ('' means anywhere on that camera). Anything not in the list, like the workshop camera, can never send an alert.

alias: "Cameras: person alert to my partner's phone"
id: camera_person_alert
mode: single
variables:
  watched:
    driveway: detect          # camera: zone the person must enter ('' = anywhere)
triggers:
  - trigger: mqtt
    topic: frigate/events
conditions:
  - condition: state
    entity_id: input_boolean.example_camera_alerts
    state: "on"
  - condition: template
    value_template: >
      {% set e = trigger.payload_json %}
      {% set a = e.after %}
      {% set zone = watched.get(a.camera) %}
      {{ e.type in ['new', 'update']
         and a.label == 'person'
         and zone is not none
         and (zone == '' or zone in (a.entered_zones or [])) }}
  # Three-minute cooldown, so one visitor is one alert, not twenty.
  - condition: template
    value_template: >
      {{ this.attributes.last_triggered is none
         or (now() - this.attributes.last_triggered).total_seconds() > 180 }}
actions:
  - variables:
      event_id: "{{ trigger.payload_json.after.id }}"
      cam: "{{ trigger.payload_json.after.camera }}"
      ha: "https://YOUR-HA-ADDRESS"
  - action: notify.mobile_app_example_phone
    data:
      title: "Someone's here"
      message: "Person on the {{ cam }} camera"
      data:
        # The Frigate integration serves event snapshots at an address made for
        # notifications, so the phone can show the picture.
        image: "{{ ha }}/api/frigate/notifications/{{ event_id }}/snapshot.jpg"
        url: /dashboard-cameras/home            # tapping the alert opens the Cameras page
        actions:
          - action: URI
            title: View live
            uri: /dashboard-cameras/home
          - action: URI
            title: Watch clip
            uri: "{{ ha }}/api/frigate/notifications/{{ event_id }}/{{ cam }}/clip.mp4"

Word the title and message however you like. Two things to know: the Watch clip button only works once Frigate has finished the event (the clip doesn’t exist until then), and url is the iPhone way of saying “open this when tapped”. Android uses clickAction.

The Cameras page

A new dashboard (Settings → Dashboards → Add dashboard) called “Cameras”, icon mdi:cctv, shown in the sidebar and not admin-only, so it shows up in my partner’s app. Its address is /dashboard-cameras. In the raw editor:

views:
  - title: Cameras
    path: home
    type: sections
    sections:
      - type: grid
        cards:
          - type: picture-entity
            entity: camera.example_camera
            camera_view: live
            show_name: false
            show_state: false
          - type: tile
            entity: input_boolean.example_camera_alerts
            name: Alerts to my phone
            tap_action:
              action: toggle
          - type: picture-entity
            entity: image.example_camera_person      # Frigate integration: last person seen
            name: Last person
          - type: picture-entity
            entity: image.example_camera_car         # Frigate integration: last car seen
            name: Last car
          - type: button
            name: Driveway recordings
            icon: mdi:filmstrip
            tap_action:
              action: navigate
              # Open Media → Frigate → the driveway's clips once, then copy that address in here.
              navigation_path: /media-browser/browser

I first pointed the recordings button at the top of Frigate’s media folder. It showed every camera Frigate had, including empty folders for test cameras I’d forgotten about. Now it goes straight to the driveway’s clips.

The driveway on the TV

The trick here is casting over the top. The TV is a Chromecast receiver, so instead of switching its HDMI input (and then having to remember which one to go back to), the camera is cast over whatever is playing. Stop the cast and the TV goes back to what it was showing by itself, even mid-film.

It fires for a person, or for a car that isn’t one of ours (Frigate’s plate reader puts the name from your plate list in the event’s sub_label; see Plate Gate). And only if somebody is in the lounge, dining or kitchen. That last rule is what makes it safe to wake a sleeping TV: it can’t fire at 2am into an empty room.

alias: "Driveway on the lounge TV"
id: driveway_cast_to_tv
mode: single
variables:
  known_people: ["Our car"]   # names from your Frigate plate list
triggers:
  - trigger: mqtt
    topic: frigate/events
conditions:
  - condition: state
    entity_id: input_boolean.example_cast_enabled
    state: "on"
  - condition: state
    entity_id: input_boolean.example_cast_active
    state: "off"
  - condition: template
    value_template: >
      {% set e = trigger.payload_json %}
      {% set a = e.after %}
      {% set who = a.sub_label[0] if (a.sub_label and a.sub_label is not string) else a.sub_label %}
      {{ e.type in ['new', 'update']
         and a.camera == 'driveway'
         and 'detect' in (a.entered_zones or [])
         and (a.label == 'person'
              or (a.label == 'car' and who not in known_people)) }}
  - condition: or
    conditions:
      - condition: state
        entity_id: binary_sensor.example_lounge_presence
        state: "on"
      - condition: state
        entity_id: binary_sensor.example_dining_presence
        state: "on"
      - condition: state
        entity_id: binary_sensor.example_kitchen_presence
        state: "on"
actions:
  - action: input_boolean.turn_on
    target:
      entity_id: input_boolean.example_cast_active

  # Capture these BEFORE changing anything. Re-reading them later reads your own changes.
  - variables:
      tv_was_on: "{{ is_state('media_player.example_tv', 'on') }}"
      radio_was_playing: "{{ is_state('media_player.example_speaker', 'playing') }}"
      boost: "{{ states('input_number.example_announce_volume') | float(0.8) }}"
      spk_vol: >
        {% set v = state_attr('media_player.example_speaker', 'volume_level') | float(0.5) %}
        {{ 0.5 if v >= boost - 0.01 else v }}

  - if: "{{ not tv_was_on }}"
    then:
      - action: media_player.turn_on
        target:
          entity_id: media_player.example_tv
        continue_on_error: true

  # Spoken alert. Pause the radio first so it never plays at the loud volume.
  - if: "{{ radio_was_playing }}"
    then:
      - action: media_player.media_pause
        target:
          entity_id: media_player.example_speaker
        continue_on_error: true
      - wait_template: "{{ not is_state('media_player.example_speaker', 'playing') }}"
        timeout: "00:00:03"
  - action: media_player.volume_set
    target:
      entity_id: media_player.example_speaker
    data:
      volume_level: "{{ boost }}"
    continue_on_error: true
  - wait_template: >
      {{ state_attr('media_player.example_speaker', 'volume_level') | float(0) >= boost - 0.02 }}
    timeout: "00:00:03"
  - action: assist_satellite.announce
    target:
      entity_id: assist_satellite.example_satellite
    data:
      preannounce: false
      message: >
        {{ 'Someone is in the driveway' if trigger.payload_json.after.label == 'person'
           else 'A car is in the driveway' }}
    continue_on_error: true
  - action: media_player.volume_set
    target:
      entity_id: media_player.example_speaker
    data:
      volume_level: "{{ spk_vol }}"
    continue_on_error: true
  - wait_template: >
      {{ state_attr('media_player.example_speaker', 'volume_level') | float(1) <= spk_vol }}
    timeout: "00:00:03"
  - if: "{{ radio_was_playing }}"
    then:
      - action: media_player.media_play
        target:
          entity_id: media_player.example_speaker
        continue_on_error: true

  # The camera, over the top of whatever is on.
  - action: media_player.play_media
    target:
      entity_id: media_player.example_tv_cast       # the CAST entity, not the TV's control entity
    data:
      media_content_id: media-source://camera/camera.example_camera
      media_content_type: application/vnd.apple.mpegurl
    continue_on_error: true
  - delay: "00:00:30"
  - action: media_player.turn_off
    target:
      entity_id: media_player.example_tv_cast
    continue_on_error: true

  # Only put the TV back to sleep if we woke it.
  - if: "{{ not tv_was_on }}"
    then:
      - action: media_player.turn_off
        target:
          entity_id: media_player.example_tv
        continue_on_error: true

  - delay: "00:00:30"         # cooldown before it can fire again
  - action: input_boolean.turn_off
    target:
      entity_id: input_boolean.example_cast_active

Every speaker and cast step has continue_on_error: true. That isn’t decoration. See the lessons for what happened before it was there.

assist_satellite.announce waits until the speaker says it has finished talking, so the volume goes back within a fraction of a second of the words ending. My first version used tts.speak and a fixed delay, and the radio came back loud for a few seconds after every announcement.

The two safety nets

The cooldown latch survives a Home Assistant restart as on, and then the TV pop-up never fires again. This clears it at startup and if it’s stuck:

alias: "Driveway on TV: clear a stuck latch"
id: driveway_cast_latch_watchdog
triggers:
  - trigger: homeassistant
    event: start
  - trigger: state
    entity_id: input_boolean.example_cast_active
    to: "on"
    for: "00:03:00"
actions:
  - action: input_boolean.turn_off
    target:
      entity_id: input_boolean.example_cast_active

And if the speaker is ever left loud, this puts it back to my normal 0.5. It waits until no announcement is running, so it never fights a real one:

alias: "Driveway: put the speaker volume back if left loud"
id: driveway_speaker_volume_watchdog
triggers:
  - trigger: numeric_state
    entity_id: media_player.example_speaker
    attribute: volume_level
    above: 0.79
    for: "00:02:00"
conditions:
  - condition: state
    entity_id: input_boolean.example_cast_active
    state: "off"
actions:
  - action: media_player.volume_set
    target:
      entity_id: media_player.example_speaker
    data:
      volume_level: 0.5

Step by step

  1. Mount and wire the camera. Make a camera account in the Tapo app.
  2. Add the camera to Frigate with the config above, starting with the small model. Restart Frigate and check the camera shows about 10 frames a second on Frigate’s system page.
  3. Draw your zones in Frigate’s editor: an outer one and an inner detect.
  4. Watch the server’s processor and temperature for a day. If detection never goes quiet on an empty picture, raise contour_area (see the lessons).
  5. In Home Assistant, set up MQTT and the Frigate integration. Check the camera and the image entities for the last person and car turn up.
  6. Make the helpers, without initial values.
  7. Add the phone alert automation, with your phone’s notify action and your Home Assistant address.
  8. Make the Cameras dashboard. Open it in the app on the phone that’ll get the alerts and check it shows.
  9. For the TV: add the Cast integration, find the TV’s cast entity, and give the TV a fixed address in your router. Then add the TV automation and both safety nets.
  10. Leave it alone and wait for a real visitor.

Testing it

  • Test the logic without sending anything. Paste the alert’s template into Developer tools → Template, with a made-up Frigate event in place of trigger.payload_json. I tried six fake events with different cameras, zones and labels. Only a person in detect on the driveway passed. Nothing was sent, nothing moved.
  • Then wait for a real one. I didn’t send a test push during setup; the first real person at the gate was the test, and the alerts go to my partner’s phone.
  • The TV pop-up I checked on a real visitor: the driveway appeared on the TV and the cast stopped by itself 30 seconds later.
  • Did the speaker play? Look at the speaker’s history (“last changed”), not your ears. My first chime did play, two seconds after the trigger. It was just too quiet and short to notice.
  • Is Frigate getting video? Frigate reports each camera’s frames per second. If it drops below 1, the camera has stopped feeding it, and alerts, plates and recordings all stop with it. I have a dashboard tile that goes red when that happens.
  • Counting corrupt frames. If the picture ever looks wrong, decode 40 seconds straight from the camera and count the bad frames. On Frigate 0.17, ffmpeg isn’t on the path inside the container, so use the full path:
docker exec frigate /usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning \
  -rtsp_transport tcp -i "rtsp://CAMERA_USER:PASSWORD@CAMERA_IP:554/stream1" -t 40 -f null - 2>&1 \
  | grep -c 'corrupt decoded frame'

Don’t test by switching things. Never flick a camera’s switches in Home Assistant to “see if it works”.

Adding a doorbell

I haven’t bought one yet. The one I’d get is a Reolink Video Doorbell, the PoE version if you can run a cable (PoE means the network cable powers it too). It gives a local RTSP stream, needs no cloud, and two-way talk can go through go2rtc. Ring and Nest doorbells are cloud-only, so they’re no good for this.

When it arrives, it’s four jobs:

  1. Add it to Frigate like the driveway camera.
  2. Add it to the watched list in the alert, with '' so a person anywhere in its picture counts:
  watched:
    driveway: detect
    doorbell: ''
  1. Add its live view to the Cameras page.
  2. A separate automation for the button. The Reolink integration gives you a visitor sensor that turns on when someone presses it. That should send a higher-priority push and ring a chime. A button press is someone asking for you, which is different from someone walking past.

Lessons learnt

Outdoor motion settings cooked the server. With contour_area: 10 and improve_contrast on, a wide outdoor picture was full of phantom “motion” around the clock. Detection ran at 92 times a second on a 10 frames-a-second camera, Frigate’s detector used 128% CPU, and the processor sat at 80 °C. Raising contour_area to 60 and turning improve_contrast off brought it back to 43 °C, and detection now sits idle unless something real moves. Outdoor cameras need that setting raised.

The model block in the wrong place crashed Frigate. I put model: under the detector. Frigate read the file without complaint, then crashed when it started, because for OpenVINO it throws away a model given there and looks for the top-level one. It cost me a failed change and a rollback. The model: block goes at the top level, and it applies to every camera.

A Coral would have been a downgrade. I checked before buying one. The Radeon graphics can’t run detection at all, because OpenVINO’s graphics support is Intel-only. But the processor alone ran the small model in about 2.5 ms, faster than the 8.4 ms a Coral manages on a Raspberry Pi 5 I have. A Coral also only runs its own small models, which would have locked me out of YOLOv9. The graphics still earn their keep decoding the video.

The bigger model is what warms the server, so choose it on purpose. YOLOv9 at 640 found more than the 320 version on the driveway (126 whole cars against 112, 149 people against 136, no false ones). The medium size is better again for plate reading but takes about 45 ms a look. On a sunny afternoon with things moving, Frigate uses 20 to 32% of the 16 threads and the processor runs about 51 °C. That’s safe, but it’s why I turned detection off on the second camera that saw the same area.

Privacy mode is a switch, and it blanks the feed. The Tapo shows up in Home Assistant with a “privacy” switch next to its LED and motion switches. Turning it on doesn’t look dramatic, but it stops the picture that Frigate, the plate reader and the alerts all depend on. Don’t toggle camera switches to test anything.

The old Pi camera kept showing green frames, and I blamed the wrong things first. Before the Tapo, the driveway camera was a Raspberry Pi Zero 2 W with a Pi camera module, streaming 1080p (the most its video encoder could manage). Every so often the live view went full-frame green with horizontal bands. I blamed the browser, then the Wi-Fi. Both wrong. The stream ran over TCP, which can’t silently lose data, and the bad frames were in the recordings on disk too, which Frigate saves without touching. So the Pi’s own video encoder was making corrupt frames, most likely from a marginal camera ribbon cable (it had already needed reseating once). Some days were clean, one day was about 11% bad. Dropping it from 15 to 10 frames a second didn’t fix it. It also had no night vision, so it only worked in daylight. A wired Tapo replaced it.

Two clean samples don’t prove a fault has gone. Chasing those green frames, I checked two days of recordings, found nothing, and announced that the problem was new and we’d caused it. It wasn’t: an earlier day was bad too. For a fault that comes and goes, sample lots of files across lots of days, and compare runs of the same length.

One TV, three media players. Home Assistant gave our Sony a control entity (power, volume, input), a cast entity, and a DLNA one. The DLNA one accepted the camera, went idle and dropped it. Cast to the cast entity, and use the control entity for turning the TV on and off.

The cast entity went unavailable, and it wasn’t the TV’s fault. After a power-cycle the TV got a new address, but kept announcing its old one on the network, and Home Assistant kept dialling that. A hard reboot of the TV cleared it. Its address had moved twice in one day, so give the TV a fixed address in your router. I’d also deleted the Cast integration a while earlier in a clean-up, thinking it was an unused leftover. It wasn’t.

The speaker got left loud. After one run, the lounge speaker stayed at the announcement volume. The step that put the volume back sat after the cast steps, and they had no continue_on_error. In single mode, one failed cast step ends the run, so the volume never went back. Anything between turning it up and turning it back down has to be guarded. Two more guards stop it getting worse: if the volume is already at the loud setting when a run starts, it’s treated as 0.5, so loud never gets remembered as “normal”. And the watchdog puts it back after two minutes regardless. The volume slider lives in three places in the automation (the raise, the wait for the raise, and that guard), and they have to change together.

A resting value proves nothing about who put it there. I read the speaker at 0.5 and decided my fix had worked. That was my own hand correction I was looking at. Check the history, or cause the failure on purpose and watch it recover.

“It’s slow” was the walk, not the automation. From Frigate’s log: a person entered the outer zone, took 9 seconds to walk into the inner one, and the alert fired 1.4 seconds after that. Lowering Frigate’s inertia (how many frames before it believes something is there) wouldn’t help: at 3 frames and 10 frames a second it’s only 0.3 seconds. If you want it sooner, draw the inner zone further out, or trigger on the outer one. I left it.

Testing my Home Assistant address without a token set off an alarm of its own. A quick check of the API with no token in it raised Home Assistant’s “Login attempt failed” notification. Test with a token.

Questions and comments

Loading comments…

    Your name and comment show publicly. To stop spam, a scrambled code made from your internet address is kept, never the address itself. Comments with links wait for a quick check before they show. Be decent: I'll remove anything that isn't.