Triggering Sensor Update with Automation Trigger Only (Unstable Frigate Object Detection)

Hi everyone,

I got an issue creating a binary sensor that only updates with an automation trigger. I’m using Frigate to track my home parking garage occupancy which works great for the most part, however, sometimes the Frigate car detection feature is underreporting the car number for a few seconds or minutes.

I therefore wanted to link a binary sensor that only updates after the car garage door has closed. What would be the best course of action? Thank you!

You have 2 options.

Either you can create an input_boolean in the helpers page or you can create a template binary sensor.

  - trigger:
      - platform: state
        entity_id: binary_sensor.garage_door
        to: off
      - name: Garage Occupancy Calibrated
        state: "{{ states('binary_sensor.frigate_garage_occupancy') }}"
        unique_id: garage-frigate-occupancy-8165bea6-7566-4d9e-93c9-a473b45634e6
        state_class: occupancy

Something like that for the template sensor.

1 Like