Netatmo integration: API error: 500 (Internal Server Error)
The problem
Since the upgrade to 2024.6.1, the Netatmo integration stopped working. The error is:
Logger: homeassistant.components.netatmo
Quelle: components/netatmo/__init__.py:90
Integration: Netatmo (Dokumentation, Probleme)
Erstmals aufgetreten: 10:48:25 (7 Vorkommnisse)
Zuletzt protokolliert: 10:51:14
API error: 500 (Internal Server Error)
What version of Home Assistant Core has the issue?
Version core-2024.6.1 Installationstyp Home Assistant OS Entwicklung false Supervisor true Docker true Benutzer Virtuelle Umgebung false Python-Version 3.12.2 Betriebssystemfamilie Linux Betriebssystem-Version 6.6.28-haos-raspi CPU-Architektur aarch64 Zeitzone Europe/Berlin Konfigurationsverzeichnis /config
What was the last working version of Home Assistant Core?
2024.6.0
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Netatmo
Link to integration documentation on our website
https://www.home-assistant.io/integrations/netatmo/
Diagnostics information
home-assistant_netatmo_2024-06-09T08-54-46.855Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
I could (temporarily) resolve the issue by deleting and re-adding the integration. However, today the integration fails again with the same error. Deleting and Re-adding the integration is not a solution!
Hey there @cgtobi, mind taking a look at this issue as it has been labeled with an integration (netatmo) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of netatmo can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign netatmoRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
netatmo documentation netatmo source (message by IssueLinks)
Same problen for me. It seems to be connectef with the last Home Assistant Core update to 2024.6.1
Same here, upgraded from 2024.3.3 to 2024.6.1 and the integration did not want to work afterwards. I'm using the docker version of HA.
I also tried downgrading to 2024.6.0 but that did not help unfortunately.
I found a Solution (?)
—>
Authentication problem solved as follows:
I called my own account at https://home.netatmo.com/ 3 Here is the menu My Account/Account Management/Third Party Apps There is a list of applications connected to the account Click into the “Home Assistant Cloud” app, select “Remove App” In Home assistant I brutally deleted the Netatmo integration I restarted HA I called wizzard “Add Integration” again, selected Netatmo On the Netatmo web page called by HA, I enabled the third party application
I found a Solution (?)
—>
Authentication problem solved as follows:
I called my own account at https://home.netatmo.com/ 3 Here is the menu My Account/Account Management/Third Party Apps There is a list of applications connected to the account Click into the “Home Assistant Cloud” app, select “Remove App” In Home assistant I brutally deleted the Netatmo integration I restarted HA I called wizzard “Add Integration” again, selected Netatmo On the Netatmo web page called by HA, I enabled the third party application
This worked for me too but since it involved losing all historical data it's a less than ideal solution
I'm unsure if this is related to newest HA version to be honest. It started suddenly for me, and I haven't updated to 2024.6.x yet, and run 2024.5.5.
If I delete the integration and re-add it, it will work again for anything between 2 to 12 hours.
I wonder if this is related:
https://helpcenter.netatmo.com/hc/en-us/community/posts/19320250276626/comments/19329138660370
API error: 500 (Internal Server Error) 12:31:58 – (WARNING) Netatmo - message first occurred at June 9, 2024 at 09:31:50 and shows up 1203 times
Same issue on my side. Yes, did update to the latest version recently, but also hear that others have no issue having updated. Seems to support @Daniel-Joergensen’s comment.
Problem here also. I get this: Failed setup, will retry: 500, message='Internal Server Error', url=URL('https://account-link.nabucasa.com/refresh_token/netatmo')
Same problem here. For me it coincided with switching from sd to ssd, but I don't think it's linked.
Same here. I have had the issue since last night
same problem
I wonder if this is related:
https://helpcenter.netatmo.com/hc/en-us/community/posts/19320250276626/comments/19329138660370
Hmm. If so, somebody here who knows how to deal with this? @cgtobi is that an issue which you need to solve?
Same problem here. Still in HA version 2024.5.3
I sorted out my issue by deleting my hub and re-adding it again. I noticed that some of the entities also hand slight name changes.
I sorted out my issue by deleting my hub and re-adding it again. I noticed that some of the entities also hand slight name changes.
That has only helped for me, for a few hours, then it will stop working again
https://helpcenter.netatmo.com/hc/en-us/community/posts/19320250276626/comments/19329138660370
It won't last very long. It is due to the API changes of Netatmo (see https://helpcenter.netatmo.com/hc/en-us/community/posts/19320250276626/comments/19329138660370). The integration need to be fixed.
Bonjour, même problème pour moi également lors d'une maj de HA.
I have the same Error
I have the same Problem since installation of
Core 2024.6.3 Supervisor 2024.06.0 Operating System 12.4 Frontend 20240610.1
Logger: homeassistant.components.netatmo Quelle: components/netatmo/init.py:90 Integration: Netatmo (Dokumentation, Probleme) Erstmals aufgetreten: 10:53:16 (7 Vorkommnisse) Zuletzt protokolliert: 10:57:19
API error: 500 (Internal Server Error)
Same issue here.
Update 6.1 caused other, even bigger, problems on my Green in addition to Netatmo. I went back to 6.0, deleted Netatmo and then set it up again. Now everything has been running stable for over 72 hours, now also with 6.3.
Same error here
I have removed my integration and-readded it again. All works now, gotta wait for how long. Annoyingly the values are now in Dutch (which I am), but all the old ones I had renamed. Have renamed them now back to what Netatmo returns and lets see how it goes. Does mean all history is gone.
I have removed my integration and-readded it again. ... Does mean all history is gone.
Same in my installation. Sadly, history values are gone now. But hey, it's just weather...
Same issue here.
Same issue here
Same issue, worked one day, woke up to it not working at all.
I'd really like to avoid losing my historical data.
Hi, same hier since yesterday.
I found a Solution (?)
I could (temporarily) resolve the issue by deleting and re-adding the integration. However, today the integration fails again with the same error. Deleting and Re-adding the integration is NOT a permanent solution!