[Support]: Need some help replacing shinobi with frigate

See original GitHub issue

Describe the problem you are having

Hi there,

I have one Reolink E1 zoom which streams to shinobi. Shinobi does nothing. HA is listening on shinobi stream and starts recording via shinobi API once a certain noise level is reached.

I don’t need constant recording or any event triggered recording as I just use this to record when my dog barks so the neighbor can’t claim my dog was barking “the whole day” 😃

Could I replace shinobi with frigate?

HA is listening on a stream from shinobi and triggers at a certain noise level. How would the frigate stream URL look like if I were to replace this shinobi link?

# Bark detector
# https://www.home-assistant.io/integrations/ffmpeg_noise/
binary_sensor:
  - platform: ffmpeg_noise
    name: Bark Detector
    input: http://10.10.10.10:8088/API_KEY/hls/secret/doggyCam/s.m3u8
    # The threshold of detecting noise, in dB. 0 is very loud and -100 is low.
    # do not start with HA aka always active
    # reset after 30 seconds of less than peak noise
    # trigger with 3 seconds of noise
    initial_state: false
    peak: -45
    reset: 60
    duration: 3

Once noise is detected, HA triggers a recording inside shinobi. Any example on how to trigger this via frigate API?

#trying to create a service to call shinobi API and trigger recordings
notify:
  - name: trigger_recording
    platform: rest
    resource: "http://10.10.10.10:8088/API_KEY/motion/secret/doggyCam?data={%22plug%22:%22doggycam%22,%22name%22:%22bedroom%22,%22reason%22:%22noise%22,%22confidence%22:100}"

Version

latest

Frigate config file

doesn't really matter until my question is answered :-)

Relevant log output

nothign yet

FFprobe output from your camera

sorry not yet

Frigate stats

No response

Operating system

Debian

Install method

Docker Compose

Coral version

CPU (no coral)

Network connection

Wireless

Camera make and model

Reolink E1 zoom

Any other information that may be helpful

I just wanted to add that I got frigate up and running via docker-compose and it works fine. I am just not sure if it can do what I need to do (see description with my 2 questions further up)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
NickM-27commented, Oct 28, 2022

Recordings will also be created as an event. But that’s if it sees a dog, sound events aren’t supported (just to be clear)

Thanks. I was looking to trigger an event via a home assistant service call or similar, not by an object detection (dog). Detection would be via ffmpeg_noise: https://www.home-assistant.io/integrations/ffmpeg_noise/

I see, that is not currently possible but is a pinned feature request: https://github.com/blakeblackshear/frigate/issues/1063

0reactions
oviziicommented, Oct 28, 2022

Recordings will also be created as an event.

But that’s if it sees a dog, sound events aren’t supported (just to be clear)

Thanks. I was looking to trigger an event via a home assistant service call or similar, not by an object detection (dog). Detection would be via ffmpeg_noise: https://www.home-assistant.io/integrations/ffmpeg_noise/

As in: ffmpeg_noice monitors a camera stream and then tells frigate to record when it hears a sound of a specific loudness.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frigate vs Shinobi vs ??? : r/selfhosted - Reddit
UPDATE - I went with Frigate and love it. Just way less fussy than Shinobi IMO. Now just to figure out some more...
Read more >
Frigate NVR in Home Assistant for Automation and ... - YouTube
I've done several videos on NVR software, MotionEyeOS, Shinobi, etc. But what I've been really looking for is an NVR that could put...
Read more >
[SUPPORT] blakeblackshear - Frigate - Docker Containers
PLEASE READ THE CHANGELOG TO UPDATE YOUR CONFIG FILE. Support for Frigate docker container. Uses OpenCV and Tensorflow to perform realtime ...
Read more >
Outdoor POE 4K camera recommendations for HA with Frigate
There are lots of threads asking for camera recommendations here, but I don't see any that fit my requirements and which are recent....
Read more >
Frigate NVR in Home Assistant
I've done several videos on NVR software, MotionEyeOS, Shinobi, etc. ... We need a few things setup on our Home Assistant install in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found