Open jsetton opened 5 years ago
I can get the "Motion Schedule List" working via Postman, but not "Motion Schedule Activate" or "Motion Schedule Deactivate". Any ideas?
@242Racing I am not sure. Are you using the proper ruleId
? Is "Motion Schedule Create" working?
I can get these working: Motion Schedule List, Motion Schedule Create, Motion Schedule Activate. But not Motion Schedule Deactivate. Getting "404 Not Found". Apperently it doesn't like "...deactivate...".
Found it! "inactivate" should it be.
Good catch! I may have mistyped when formatting the original post. I have updated it.
Hey! Thanks for all your work in this! Is this implemented?
Is there a way to disable motion detect using this API ? And is there also an option to only disable motion-detect signal from chimes and apps while recording of motion is still possible? Would be great to be able to set motion-detect notifications ON and OFF using this API !
Would be great to be able to set motion-detect notifications ON and OFF using this API !
You can only snooze #87 or toggle #125 motion alerts on a per app client basis defined by its hardware id. For global toggling, you will need to use scheduling part of this feature request. Basically, have an always disabled schedule already created, and enable it when you want to snooze the alerts and disable it when you want to receive alerts across all your clients.
Is there a way to disable motion detect using this API ?
If you are referring to controlling the camera recording capability, it is possible using the below API calls. This is the other way to globally toggle motion alerts but would lose recording in the process. As for the scheduling capability, these only work on the owner account.
Motion Detection Enable
PATCH https://api.ring.com/devices/v1/devices/<doorbotId>/settings HTTP/1.1
User-Agent: android:com.ringapp:3.22.3(26360453)
Hardware_ID: <hardwareId>
X-API-LANG: en
Authorization: Bearer <token>
app_brand: ring
Content-Type: application/json; charset=UTF-8
Content-Length: 53
Host: api.ring.com
Connection: Keep-Alive
Accept-Encoding: gzip
{
"motion_settings": {
"motion_detection_enabled": true
}
}
Motion Detection Disable
PATCH https://api.ring.com/devices/v1/devices/<doorbotId>/settings HTTP/1.1
User-Agent: android:com.ringapp:3.22.3(26360453)
Hardware_ID: <hardwareId>
X-API-LANG: en
Authorization: Bearer <token>
app_brand: ring
Content-Type: application/json; charset=UTF-8
Content-Length: 54
Host: api.ring.com
Connection: Keep-Alive
Accept-Encoding: gzip
{
"motion_settings": {
"motion_detection_enabled": false
}
}
I have created PR https://github.com/tchellomello/python-ring-doorbell/pull/282 for the Motion Detection Enable/Disable feature mentioned above.
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.
Control motion snooze schedules. This could be used to toggle motion alerts across all clients associated to a specific device.
Motion Schedule List
Motion Schedule Create
Motion Schedule Delete
Motion Schedule Activate
Motion Schedule Deactivate