Search found 31 matches

by Daegil_Netatmo
20 Sep 2022, 15:04
Forum: Netatmo API
Topic: No more "Client credentials grant type"
Replies: 17
Views: 2635

Re: No more "Client credentials grant type"

Hello! Thank you for your feedback. Could you let me know if you are refreshing the token before the 10800 ? If you are it's expected behaviour to prolong the access token, if you pass 10800 the new access will change after a refresh. If you do not refresh before 10800 please contact us on the API s...
by Daegil_Netatmo
14 Sep 2022, 15:40
Forum: Netatmo API
Topic: Get stream from welcome camera
Replies: 7
Views: 836

Re: Get stream from welcome camera

Hello!

I suggest that you consult the guideline (https://dev.netatmo.com/guideline) it's all explained on the website and if you have questions don't hesitate to contact the API support team.

BR,
by Daegil_Netatmo
14 Sep 2022, 09:34
Forum: Netatmo API
Topic: Get stream from welcome camera
Replies: 7
Views: 836

Re: Get stream from welcome camera

Hi! You could use postman instead, it makes the tests alot easier and you can even save response exemples. For the VPN URL you can't try to guestimate it, you need the access token with the correct scope or it will be simply rejected, the encrypted section of the URL is unique to each user. Use Home...
by Daegil_Netatmo
07 Sep 2022, 15:38
Forum: Netatmo API
Topic: Application and API keys.
Replies: 1
Views: 725

Re: Application and API keys.

Hi!

Our connected devices are not designed to be disconnected, there are no options for local use only.

BR,
by Daegil_Netatmo
07 Sep 2022, 15:36
Forum: Netatmo API
Topic: direct access to netatmo devices
Replies: 65
Views: 36033

Re: direct access to netatmo devices

Hi! Use the refresh token instead as recommended. We will also allow the generation of refresh & access token from your own dev account. There are also work arrounds to allow aouth2 as long as you have internet access. All you need is the token with the correct scope to be generated once after t...
by Daegil_Netatmo
07 Sep 2022, 15:28
Forum: Netatmo API
Topic: No more "Client credentials grant type"
Replies: 17
Views: 2635

Re: No more "Client credentials grant type"

Hi! There are no ETA for that function. Note that the current token you get when the client cred will not be invalidated with this switch so you can actually continue to use it with the refresh method. As I mentionned you truly only need the client cred if you want different scopes or if you loose y...
by Daegil_Netatmo
30 Aug 2022, 11:50
Forum: Netatmo API
Topic: API PHP-Script
Replies: 3
Views: 534

Re: API PHP-Script

Hi! As long as you replace this part, which is the client credential: $token_url = "https://api.netatmo.net/oauth2/token"; $postdata = http_build_query( array( 'grant_type' => "password", 'client_id' => $app_id, 'client_secret' => $app_secret, 'username' => $username, 'password' ...
by Daegil_Netatmo
29 Aug 2022, 10:03
Forum: Netatmo API
Topic: API PHP-Script
Replies: 3
Views: 534

Re: API PHP-Script

Hi! You already have the access & refresh token, you do not need to redo a client cred every time you make a refresh, simply use the token refresh method: https://dev.netatmo.com/apidocumentation/oauth#refreshing-a-token Make sure your script saves and uses the new refresh & access token. Yo...

Go to advanced search