davglass / doorbot

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

health status #23

Closed lucwuyts closed 6 years ago

lucwuyts commented 6 years ago

I don't think there is a health function.

This seems to work:

health(device, callback){
    validate_callback(callback);
    const url= `/doorbots/${device.id}/health?api_version=9&auth_token=${this.token}`;
    this.simpleRequest(url, 'GET' , callback);
}
davglass commented 6 years ago

Added in doorbot@5.0.3