Abstraction layer to control Frigates behavior #538
S-Przybylski
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear @blakeblackshear
perhaps it might be useful to control all roles through MQTT / API. Then everybody is free to enable/disable recording, clips, snapshots, rtmp,... whenever they want (time scheduler via HA). [In parallel it could be interessting for non HA users to have a scheduler within Frigate too (like NVR have).]
To realize that, it could be useful to abstract the enablement/disablement of roles from technical aspects currently fixed within the config.yml: Example
If I turn on the recording feature in HA, Frigate then activates the role mapping to the "preselected" stream (start all required processes) and enables the feature. If I stop the recording, the role is removed from the camera stream and the unneccessary processes are stopped. I imagine that this changes the current architecture of the program logic in detail ...
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions