davglass / doorbot

Ring.com Doorbell API
Other
317 stars 55 forks source link

Missing health information for device chime #43

Open schmupu opened 5 years ago

schmupu commented 5 years ago

I do not get health information for chime. I called the health information with the doorbot. I get an error 410 back. Enclosed the logfile and the doorbot I called the health function


Chimes (doorbot): {"id":5359415,"description":"Flur","device_id":"c8fd1906ac0f","time_zone":"Europe/Berlin","firmware_version":"Up to Date","kind":"chime","latitude":LAT026,"longitude":LON626,"address":"strasse Str. 1b, ort, nds PLZ, DE","settings":{"volume":5,"ding_audio_user_id":"ring","ding_audio_id":"xxxfa2-a83d-e5a4-5af2-5646cb2449be","motion_audio_user_id":"ring","motion_audio_id":"xxxe86-f43b-738f-7287-5693688ec52b"},"features":{"ringtones_enabled":true},"owned":true,"alerts":{"connection":"online"},"do_not_disturb":{"seconds_left":0},"stolen":false,"location_id":"xxx0k-4ishs-0","ring_id":null,"owner":{"id":4813372,"email":"email@prov.xx","first_name":"VORNAME","last_name":"NACHNAME"}}
 Health ID: {"id":5359415,"description":"Flur","device_id":"c8fd1906ac0f","time_zone":"Europe/Berlin","firmware_version":"Up to Date","kind":"chime","latitude":LAT026,"longitude":LON626,"address":"strasse Str. 1b, ort, nds PLZ, DE","settings":{"volume":5,"ding_audio_user_id":"ring","ding_audio_id":"xxxfa2-a83d-e5a4-5af2-5646cb2449be","motion_audio_user_id":"ring","motion_audio_id":"xxxe86-f43b-738f-7287-5693688ec52b"},"features":{"ringtones_enabled":true},"owned":true,"alerts":{"connection":"online"},"do_not_disturb":{"seconds_left":0},"stolen":false,"location_id":"xxx0k-4ishs-0","ring_id":null,"owner":{"id":4813372,"email":"email@prov.xx","first_name":"VORNAME","last_name":"NACHNAME"}}
Could not get Health for 5359415. Error: API returned Status Code 410
codahq commented 5 years ago

Yeah, chimes won't work under that URL. It needs a PR.

URL needs chimes instead of doorbots.

https://api.ring.com/clients_api/chimes/{device_id}/health