blakeblackshear / frigate-hass-integration

Frigate integration for Home Assistant
MIT License
729 stars 113 forks source link

a switch thats turning the camera off #524

Closed JensJackowski closed 1 year ago

JensJackowski commented 1 year ago

My cameras are only broadcasting a rtps stream if the aked to. In gerneral my network load is quite high having multiplical cameras brodcasting an rtsp feed.

If i remove them from my frigate.yaml (using #) i can switch them "on and off" and they will not cause any network traffic upp to the point i activate it again.

I have many usecases where it is not meaningsfull to broadcast the rtps stream. For example i just use a indoor cam in the living room when i am not att home. The provided switches make it possible to toggle detection, recording and snapshots, but even if i deactivate all options freegate is still asking for the rtps stream.

I my case it would be nice to use automatisations that turns the listining to the rtps feed would be great help. Basicly a switch in the integration that has the same effec som # in the configuration file section their i define the camara.

As alternativ i have considered just breaking the netpower with a smartplug or sameting like this is causing multiplical errorlogs and is a bad work-around.

NickM-27 commented 1 year ago

duplicate of https://github.com/blakeblackshear/frigate-hass-integration/issues/250