Would it be possible to configure monitors and groups via the command line or an api? Maybe even options in the config file?
[Feature Request] Settings CLI #92
If your just trying to make live view groups, go2rtc works pretty well for that.
To clarify, what I'm after is a way to update stream settings and groups via the commandline. Like instead of having to click through the menu, I could open a shell in the container or ssh into sentryshot.
Then I'd do something like:
sentryshot --update-monitor 0 name=my_cam enable=true source=rtsp://<dvr_ip:port/channel> record=true length=20
Or:
sentryshot --create-monitor name=front-yard enable=true source=rtsp://<dvr_ip:port/channel> record=false
Or even:
sentryshot --create-group name=FOH monitors=patio,front-door,dining-1,dining-2,server-station-1
Issuing commands to sentryshot via some API, essentially.
A config file option would be nice as it would make setup easily reproducible.
This would have to support multiple motion detection zones, and I don't see a sane way to configure that with commands.
A config file option would be nice as it would make setup easily reproducible.
You could just edit the json files in configs/monitors/ and restart. I don't think the storage format will change any time soon.
ohhh I seeeee
I did not know about the .json files here, tyty!
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?