Search found 9 matches

by avm067s
16 Apr 2019, 11:29
Forum: Netatmo API
Topic: Access token stops working
Replies: 2
Views: 452

Re: Access token stops working

If someone finds a good way to do this, please info me!
by avm067s
05 Apr 2019, 14:44
Forum: Netatmo API
Topic: Netatmo stationdata and refresh token issue
Replies: 12
Views: 2210

Re: Netatmo stationdata and refresh token issue

Thank you. I'm now a few steps closer to solve my issue. Now I'm getting this kind of error; my code crashes to json response, which works before refreshing a token.

Code: Select all

    data = response.json()['body']
KeyError: 'body'
by avm067s
28 Mar 2019, 11:56
Forum: Netatmo API
Topic: Netatmo stationdata and refresh token issue
Replies: 12
Views: 2210

Re: Netatmo stationdata and refresh token issue

Okay Nig42maa, your code was so useful! I'm few steps closer to finish my project. Refresh token is still killing my website, and the refresh function is not working. I paste my whole Python (Bottle) code here, and if someone can debug it, i really appreciate it. Thanks! from bottle import route, ru...
by avm067s
26 Mar 2019, 17:23
Forum: Netatmo API
Topic: Netatmo stationdata and refresh token issue
Replies: 12
Views: 2210

Re: Netatmo stationdata and refresh token issue

404 - page not found. I also tried to find your project, but it seems to be empty.
by avm067s
26 Mar 2019, 13:27
Forum: Netatmo API
Topic: Netatmo stationdata and refresh token issue
Replies: 12
Views: 2210

Re: Netatmo stationdata and refresh token issue

Why there's no good examples of doing that? My smart mirror project is 99% done and I'm stuck with this issue. Do you guys have any good examples how to solve this refreshing problem?
by avm067s
24 Mar 2019, 15:52
Forum: Netatmo API
Topic: Netatmo stationdata and refresh token issue
Replies: 12
Views: 2210

Re: Netatmo stationdata and refresh token issue

I already have those lines and my access token is refreshed with a refresh token. The code example above is from refresh token's payload and it's parameters. The question is, how can I automatically update my Python-code (loop?) to get a new access token? My webpage dies after 3 hours. In html-file,...
by avm067s
24 Mar 2019, 13:43
Forum: Netatmo API
Topic: Netatmo stationdata and refresh token issue
Replies: 12
Views: 2210

Netatmo stationdata and refresh token issue

Hello developers! I have done a working smart mirror project with two Netatmo modules (indoor and outdoor). I used Python 2.7.15 and Bottle in my project. I have an issue with my refresh token. I can read station data succesfully, but my smart mirror Python code stays alive only 10800 seconds = 3 ho...

Go to advanced search