Smart Video Doorbell Access Token

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
lukedillon
Posts: 2
Joined: 10 Mar 2021, 20:27

Smart Video Doorbell Access Token

Post by lukedillon »

I have a Smart Video Doorbell at home.

In my application, I am able to get an access token. When I perform gethomedata, I get some data back but "cameras" is empty:

Code: Select all

"{\"body\":{\"homes\":[{\"id\":\"604xxxxx\",\"name\":\"Dillon Home\",\"persons\":[],\"place\":{\"city\":\"Sunnyvale\",\"country\":\"US\",\"timezone\":\"America\\/Los_Angeles\"},\"cameras\":[],\"smokedetectors\":[]}],\"user\":{\"reg_locale\":\"en-US\",\"lang\":\"en-US\",\"country\":\"US\",\"mail\":\"luke.k.dillon@gmail.com\"}},\"status\":\"ok\",\"time_exec\":0.021939992904663086,\"time_server\":1615403651}"
My scopes are as follows:

Code: Select all

read_station read_homecoach read_thermostat write_thermostat read_camera write_camera read_presence
However, when I use the website API: https://dev.netatmo.com/apidocumentatio ... ethomedata, I get some data in cameras:

Code: Select all

cameras:[
{
id:"70:ee:50:78:c3:4e"
type:"NDB"
status:"on"
vpn_url:"https://prodvpn-usa-2.netatmo.net/restricted/10.255.109.142/824f1105cabf23957fafc6bb4196521b/MTYxNTI0MDgwMDo1H47oswmQu539VLOWopOeMtWLng,,"
is_local:true
websocket_connected:true
sd_status:"on"
alim_status:"on"
name:"Netatmo-Dillon-Home"
last_setup:1614903544
quick_display_zone:50
max_peers_reached:false
}
]
Why do I not get anything back for cameras? Do I need a different scope? I would like my access token to match whatever is being used in the website API.

Any help would be greatly appreciated!

Thanks,
Luke
Leslie
Posts: 113
Joined: 12 Feb 2020, 11:07

Re: Smart Video Doorbell Access Token

Post by Leslie »

Hello Luke,

Netatmo teams are working on a dedicated API to manage Doorbell
So, as you saw, you are able to get some Doorbell data with calls via other APIs, but some information are missing
I advise you to wait for the release of our documentation to access the right methods and scopes

Have a good day,
Leslie - Community Manager
lukedillon
Posts: 2
Joined: 10 Mar 2021, 20:27

Re: Smart Video Doorbell Access Token

Post by lukedillon »

Hello Leslie,

Thank you for the prompt reply. Got it.
Out of curiosity, do you have an ETA for this Doorbell API?

You have a good day as well!

Regards,
Luke
kiboost
Posts: 676
Joined: 21 Jun 2013, 09:27

Re: Smart Video Doorbell Access Token

Post by kiboost »

Try with these scope : read_doorbell write_doorbell access_doorbell

https://github.com/KiboOst/php-simpleNe ... #L686-L696
php-simpleNetatmoAPI Simple to use php API based on official API.
Post Reply

Return to “Netatmo API”