@jarain78 Hello,
I'm currently facing the same pb with my M5dial:
Any idea ?
URL_REFRESH='https://api.netatmo.com/oauth2/token'
params={
'grant_type':'refresh_token',
"client_id":'xxx',
"client_secret":'xxx',
"refresh_token":'xxx'
}
rep=requests.post(URL_REFRESH, data=params)
=> TypeError: object with buffer protocol required