Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an API to snooze the Cameras? #67

Open
hex-ronin opened this issue Mar 2, 2023 · 2 comments
Open

Is there an API to snooze the Cameras? #67

hex-ronin opened this issue Mar 2, 2023 · 2 comments

Comments

@hex-ronin
Copy link

Looking for API to snooze the notifications but keep the recording. On the app, it is possible to snooze all cameras for four hours at a time. Thanks!

@amattu2
Copy link

amattu2 commented Dec 13, 2023

@hex-ronin Is this for a doorbell or a actual camera?

For doorbell:

Endpoint is

https://rest-{{tier}}.immedia-semi.com/api/v1/accounts/{{AccountID}}/networks/:networkId/doorbells/:doorbellId/snooze

Post body

{
    "snooze_time": 240
}

snooze_time is the minutes to snooze for. e.g. 240 (4 hours)


For a camera

v1/accounts/{{accountId}}/networks/{network_id}/cameras/{camera_id}/snooze

Same post body


TBD on how to snooze an entire system. I'm not seeing that option in my app so I can't get the endpoint.

@hex-ronin
Copy link
Author

hex-ronin commented Jan 7, 2024

Thank you @amattu2 ! I can confirm the API works for the camera. Also, I tried the following to snooze everything under the same sync module and it works.

v1/accounts/{{accountId}}/networks/{network_id}/snooze

Same post body

I then tried values other than 240 and for that it returns and says you need right entitlement to use that value but that's because I'm on a free account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants