Search found 37 matches

by Céline
19 Apr 2018, 18:15
Forum: Netatmo API
Topic: Refresh token - Error 400 Bad request
Replies: 2
Views: 307

Re: Refresh token - Error 400 Bad request

Hi,

You get an error because you're using a GET. You need to make a POST.

Regards,
by Céline
11 Apr 2018, 13:59
Forum: Netatmo API
Topic: How can i find my Home-ID
Replies: 6
Views: 604

Re: How can i find my Home-ID

With new requests, sending the token as a parameter no longer works. The old methods such as setpersonsaway are still accepting tokens as parameters. However, all requests are accepting the authentification with bearer authentification (which is more secure) and we advice you to switch on this new m...
by Céline
11 Apr 2018, 11:10
Forum: Domotique
Topic: Fréquence de mise à jour de données API
Replies: 29
Views: 2164

Re: Fréquence de mise à jour de données API

Bonjour, Pour récupérer la topologie de la maison, il faut utiliser Homesdata. La requêtes Homestatus permet de connaitre l'état d'une home temps réel. Pour avoir des mesures temps réel, c'est donc Homestatus qu'il faut utiliser; Pour ce qui d'afficher des graphs, il faut utiliser GetRoomMeasure pui...
by Céline
11 Apr 2018, 10:52
Forum: Netatmo API
Topic: How can i find my Home-ID
Replies: 6
Views: 604

Re: How can i find my Home-ID

Hi, To retrieve your home_id, you need to request HomesData. HomesData will basically return the topology of your homes. If you don't modify the home topology, the home_id will not be modified. If you are using webhooks, you will be notified of that change. For all calls, you need the access_token, ...
by Céline
03 Apr 2018, 14:18
Forum: Netatmo API
Topic: Presence Rate limit
Replies: 2
Views: 380

Re: Presence Rate limit

Hi,

[Edit: I answered too quickly]
Why do you need to request the API so much ? Please provide more info on your application (PM if you prefer)

Regards,
Céline
by Céline
03 Apr 2018, 14:13
Forum: Netatmo API
Topic: Weather API getstationsdata, trend missing
Replies: 2
Views: 327

Re: Weather API getstationsdata, trend missing

Hi Arnd,

Thanks for notifying us. We've fixed the problem.

Regards,
Céline
by Céline
12 Mar 2018, 14:53
Forum: Netatmo API
Topic: Energy API
Replies: 2
Views: 394

Re: Energy API

Hello Thibaut,

The modes max and off can be used with setroomthermpoint but only in the room where the thermostat is.
We'll change the doc accordingly,

Thanks,
by Céline
09 Mar 2018, 12:09
Forum: Netatmo API
Topic: Error "Invalid access_token" on Energy homestatus API
Replies: 3
Views: 396

Re: Error "Invalid access_token" on Energy homestatus API

Hi,
You need to remove the access_token from the param as it is now in the header. That should work after that.
Putting the token in the header in more secured and that is why the older way is no longer supported in the new endpoints.
by Céline
08 Mar 2018, 10:02
Forum: Netatmo API
Topic: Error "Invalid access_token" on Energy homestatus API
Replies: 3
Views: 396

Re: Error "Invalid access_token" on Energy homestatus API

Hi,

You need to use bearer authentification. To do so you need to include the token in the header of the request :

hed = {'Authorization': 'Bearer ' + access_token}
response = requests.post("https://api.netatmo.com/oauth2/token", data=payload,headers=hed)
by Céline
05 Mar 2018, 16:01
Forum: Netatmo API
Topic: How can i find my Home-ID
Replies: 6
Views: 604

Re: How can i find my Home-ID

Hi,
The home id in which your camera is setup is returned in the response of gethomedata.
Please check the returned example from https://dev.netatmo.com/resources/techn ... ethomedata

Go to advanced search