fronzbot / blinkpy

A Python library for the Blink Camera system
MIT License
525 stars 111 forks source link

Per Camera "Snooze" #955

Open austinc3030 opened 1 week ago

austinc3030 commented 1 week ago

I apologize for creating another feature request. The previous feature request for disabling notifications works well and has been helpful.

What I would like to have is per-camera snoozing. It looks like the endpoint exists (from MattTW/BlinkMonitorProtocol): Update Camera Config : POST /network/{NetworkID}/camera/{CameraID}/update

And I see in blinkpy/api.py#L466 that a method for requesting a camera config update exists. I suspect this could be as simple as calling something like request_update_config(data={"snooze": true}) like is done when configuring night vision.

Open to thoughts and understand if this is a "won't implement".

Thanks for your hard work!

austinc3030 commented 19 hours ago

I attempted to poke at this and was unsuccessful. It seems trying to set "snooze_till" in the request_config_update does not take when calling from blinkpy. the value does update when changing the snooze setting in the app.

austinc3030 commented 19 hours ago

Update: Just found this https://github.com/MattTW/BlinkMonitorProtocol/issues/67, I might try to implement this