Closed ricky074 closed 4 months ago
I just checked the returned information from WeatherStationData
(reesult of getstationdata API call) and, unfortunately, there is nowhere any "favorite" property in the returned info. I can't determine which one should be the default station.
As all lastData for all stations are collected at once with this call in the dashboard property, I can only use information from this call to further assign properties or behavior.
May be one day Netatmo will add this property to stations informations.
I just checked the returned information from
WeatherStationData
(reesult of getstationdata API call) and, unfortunately, there is nowhere any "favorite" property in the returned info. I can't determine which one should be the default station.
Doesn't the endpoint /homesdata provide that info? https://dev.netatmo.com/apidocumentation/weather#homesdata
I think @rvk01 is talking about
https://api.netatmo.com/api/getstationsdata?get_favorites=false
https://api.netatmo.com/api/getstationsdata?get_favorites=true
But I don't know what the respons is.
In the netatmo api documentation, I found this :
https://dev.netatmo.com/apidocumentation/weather#getstationsdata
Hello,
Thanks for your script and thanks for your last update. I have a question. Is it possible to get data from favorite station in your script ? I saw that we have to add get_favorites = True in the postParams... It would be perfect !
Thanks a lot for your job.
Eric