Netatmo Weather Station Widget
· v1.5.0
About
A simple widget that displays the data from Netatmo Weather Stations.
If you find a bug or have an idea for a new feature, please consider creating a corresponding issues. I would love to hear about it.
KNOWN ISSUE: Netatmo Authentication does not work on Android Phones with Connect IQ SDK 7.4.3. There is a known bug in that version of the SDK which leads to a malformed URL. Unfortunately, this is out of my control and there is nothing I can do until Garmin fixes the bug in the SDK.
* More details can be found here: https://forums.garmin.com/developer/connect-iq/i/bug-reports/connect-iq-sdk-7-4-3-oauth2-malforms-urls-on-android
* A workaround is described here: https://github.com/christoph-lucas/garmin-netatmo-widget/issues/39#issuecomment-2719091030
Disclaimer: This is NOT an official app from Netatmo. It is provided for free by myself as a private person doing this in my spare time without any warranty.
Icon thanks to Iconfinder / Adri Ansyah.
Requested permissions:
* Communication: load the data from Netatmo
* Backgrounding: load the data in the background, can be deactivated via settings in the ConnectIQ App on the phone
* PersistedContent: store both authentication data as well as station data
If you get the error message "Tokens 400: Invalid Grant", go to the menu and trigger a Reauthentication. This error probably means that the app tried to refresh the access token, yet the refresh token was not valid anymore. In that case, the only remedy is to reauthenticate.
What's new
Improved error handling: Now the app should crash less and instead display the error message on the screen.