Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
using REST command to start and stop my security cameras recording. Works great, but sometimes doesnt stop?
Post Flair (click to view more posts with a particular flair)
Post Body

Currently have Blue Iris, Frigate and HA set up.

Im using the Frigate integration occupancy sensor to trigger a REST command to tell blue iris to record. After 5 seconds of no occupancy, another REST command is sent to stop recording.

snippet from my config.yaml is below:

####DRIVEWAY###########################
  driveway_zone_a_frigate_trigger: 
    url: http://192.168.0.100:81/admin?camera=driveway&trigger&zones=1&memo=frigate_triggered_motion

  driveway_zone_b_frigate_trigger: 
    url: http://192.168.0.100:81/admin?camera=driveway&trigger&zones=2&memo=frigate_triggered_motion

  bidriveway_frigate_stop_trigger: 
    url: http://192.168.0.100:81/admin?camera=driveway&trigger=0&memo=frigate_stop_triggered_motion

####DOORBELL###########################
  doorbell_zone_a_frigate_trigger: 
    url: http://192.168.0.100:81/admin?camera=doorbell&trigger&zones=1&memo=frigate_triggered_motion

  doorbell_zone_b_frigate_trigger: 
    url: http://192.168.0.100:81/admin?camera=doorbell&trigger&zones=2&memo=frigate_triggered_motion

  bidoorbell_frigate_stop_trigger: 
    url: http://192.168.0.100:81/admin?camera=doorbell&trigger=0&memo=frigate_stop_triggered_motion

This set up is working flawlessly, except but I'm occasionally seeing some triggers aren't stopped and the camera continues recording until the next frigate motion event ends.

My automation is basically

If frigate occupancy sensor for {camera} is none for 5 seconds, send rest command {stop trigger}

Is there a way to make that more fool proof? maybe a 2nd check for no occupancy 10 seconds later?

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
10,899
Link Karma
6,349
Comment Karma
4,474
Profile updated: 5 days ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago