eufy-security-ws icon indicating copy to clipboard operation
eufy-security-ws copied to clipboard

[Feature request]: Support snooze

Open amosyuen opened this issue 2 years ago • 1 comments

Describe the solution you'd like

In the app you can snooze a camera for some time. The camera keeps recording but doesn't send notifications during that time. This is useful to reduce notifications but keep recording events.

I would like to be able to see the current snooze duration as well as set the snooze duration using the API.

amosyuen avatar Jul 09 '22 08:07 amosyuen

Dependent on https://github.com/bropat/eufy-security-client/issues/176 being done first

amosyuen avatar Jul 09 '22 09:07 amosyuen

Hi @bropat, the snooze function works well, however, I noticed that there doesn't seem to be a way to get the snooze start time. When I call get_properties the properties related to snooze I get are

properties: {
    ...,
    snooze: true,
    snoozeTime: 3600
}

Without the start time, the client can not figure out when the snooze should end. Could you also return the snooze start time?

amosyuen avatar Nov 13 '22 08:11 amosyuen

@amosyuen

In the next version, snoozeStartTime will also be available.

bropat avatar Nov 20 '22 14:11 bropat

Great, thank you!

amosyuen avatar Nov 20 '22 17:11 amosyuen