Open jchodera opened 9 years ago
Nest has just updated their API to include DropCam support: https://developer.nest.com/documentation/api-reference
The cameras section of the API is documented here: https://developer.nest.com/documentation/api-reference/overview#cameras
cameras
Example returned JSON device info look like
{ "devices": { "cameras": { "awJo6rH0IldT2YlIVtYaGQ": { "device_id": "awJo6rH...", "software_version": "4.0", "structure_id": "VqFabWH21nwVyd4RWgJgNb292wa7hG_dUwo2i2SG7j3-BOLY0BA4sw", "where_id": "d6reb_OZTM...", "name": "Hallway (upstairs)", "name_long": "Hallway Camera (upstairs)", "is_online": true, "is_streaming": true, "is_audio_input_enabled": true, "last_is_online_change": "2015-12-29T18:42:00.000Z", "is_video_history_enabled": true, "web_url": "https://home.nest.com/cameras/device_id?auth=access_token", "app_url": "nestmobile://cameras/device_id?auth=access_token", "last_event": { } } }, } }
The most important part is the web_url which is a deep link to the live camera feed.
web_url
I bet we can easily incorporate this into the command center to avoid the need to do the URL hijacking we have been doing.
Nest has just updated their API to include DropCam support: https://developer.nest.com/documentation/api-reference
The
cameras
section of the API is documented here: https://developer.nest.com/documentation/api-reference/overview#camerasExample returned JSON device info look like
The most important part is the
web_url
which is a deep link to the live camera feed.I bet we can easily incorporate this into the command center to avoid the need to do the URL hijacking we have been doing.