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

FR: Add doorbot motion_snooze and chime do_not_disturb functions #87

Open
shadowbq opened this issue May 10, 2018 · 5 comments
Open

FR: Add doorbot motion_snooze and chime do_not_disturb functions #87

shadowbq opened this issue May 10, 2018 · 5 comments

Comments

@shadowbq
Copy link

Set a 3 hour chime 'do_not_disturb'..

POST https://api.ring.com/clients_api/chimes/123456/do_not_disturb HTTP/1.1
Host:	api.ring.com
Content-Type:	application/json
Accept:	*/*
Content-Length:	30
Connection:	keep-alive
X-API-LANG:	en
Hardware_Id:	<GUID>
User-Agent:	ring/4.1.16 (iPhone; iOS 11.3; Scale/2.00)
Accept-Language:	en-US;q=1, es-ES;q=0.9
Authorization:	Bearer <TOKEN>
Accept-Encoding:	identity


{"api_version":"9","time":180}

Disable the motion snooze..

POST https://api.ring.com/clients_api/chimes/123456/do_not_disturb HTTP/1.1
Host:	api.ring.com
Content-Type:	application/json
Accept:	*/*
Content-Length:	19
Connection:	keep-alive
X-API-LANG:	en
Hardware_Id:	<GUID>
User-Agent:	ring/4.1.16 (iPhone; iOS 11.3; Scale/2.00)
Accept-Language:	en-US;q=1, es-ES;q=0.9
Authorization:	Bearer <TOKEN>
Accept-Encoding:	identity
{
    "api_version": "9"
}

Set a 15 minute doorbell 'motion_snooze'..

POST https://api.ring.com/clients_api/doorbots/7654321/motion_snooze HTTP/1.1
Host:	api.ring.com
Content-Type:	application/json
Accept:	*/*
Content-Length:	29
Connection:	keep-alive
X-API-LANG:	en
Hardware_Id:	<GUID>
User-Agent:	ring/4.1.16 (iPhone; iOS 11.3; Scale/2.00)
Accept-Language:	en-US;q=1, es-ES;q=0.9
Authorization:	Bearer <TOKEN>
Accept-Encoding:	identity
{
    "api_version": "9",
    "time": 15
}

Clear doorbell 'motion_snooze'..

POST https://api.ring.com/clients_api/doorbots/7654321/motion_snooze/clear HTTP/1.1
Host:	api.ring.com
Content-Type:	application/json
Accept:	*/*
Content-Length:	19
Connection:	keep-alive
X-API-LANG:	en
Hardware_Id:	<GUID>
User-Agent:	ring/4.1.16 (iPhone; iOS 11.3; Scale/2.00)
Accept-Language:	en-US;q=1, es-ES;q=0.9
Authorization:	Bearer <TOKEN>
Accept-Encoding:	identity
{
    "api_version": "9"
}
@msteenhu
Copy link

I am trying to implement this: https://github.com/msteenhu/python-ring-doorbell/commit/288d384f98c02dcc4f09d04666c96a84f86d13b0

Didn't seem to work during first tests. Will debug/test further when I have time.

@msteenhu
Copy link

It works but i hoped to snooze motion alerts on the doorbell itself. Not possible apparently...

@MoonScript
Copy link

MoonScript commented May 23, 2019

When I "Snooze Motion Alerts" for 15 minutes via the (iOS) app, does the current motion_snooze API only snooze alerts for only my own (iOS) device, but not for everyone? So if my wife also has the (iOS) app installed on her phone, she will still receive motion alerts during that 15 minute window?

Any ideas how to do a global snooze of motion detection on the doorbell, so no clients will get alerted, as @msteenhu mentioned earlier?

@AlexAbraham1
Copy link

I created a PR for do not disturb
#279

@MoonScript I think it should be possible to snooze all devices with what Ring describes as Global Snooze. I don't see the option on my Android app but maybe it's available on iPhone? Anyone know how to get the API URL for global snooze?

Copy link

There hasn't been any activity on this issue recently. This issue has been automatically marked as stale because of that. It will be closed if no further activity occurs.
Please make sure to update to the latest ring_doorbell version and check if that solves the issue.
Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs and Issues label Apr 18, 2024
@sdb9696 sdb9696 removed the stale Stale PRs and Issues label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants