core
core copied to clipboard
Tibber integration is not updated / devices removed
The problem
Tibber does not update any sensors. After removal of Tibber and reinstallalation, no devices or entities are populated. It is quite simply blank.
What version of Home Assistant Core has the issue?
Home Assistant 2022.10.4
What was the last working version of Home Assistant Core?
Home Assistant 2022.10.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Tibber
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tibber/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
Hey there @danielhiversen, mind taking a look at this issue as it has been labeled with an integration (tibber
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of tibber
can trigger bot actions by commenting:
-
@home-assistant close
Closes the issue. -
@home-assistant rename Awesome new title
Change the title of the issue. -
@home-assistant unassign tibber
Removes the current integration label and assignees on the issue, add the integration domain after the command.
(message by CodeOwnersMention)
tibber documentation tibber source (message by IssueLinks)
Could you share the diagnostic information? Or any relevant logs?
If you tell me where to look.
"data": {
"homes": {}
}
So seems that the Tibber api does not return any homes for your account.
I have one home for my Tibber account and one secondary for some heaters at my cabin. Could it be that the reason is that I have two homes?
Do not think so.
Do you see your homes if you test this query at https://developer.tibber.com/explorer ?
{
viewer {
homes {
address {
address1
}
}
}
}
Yes. Both homes show up.
Hmm, then I do not know what is wrong.
I'll contact Tibber and ask them to remove the cabin from the app.
Same issue for me. Problem started at 2022-10-26 07:33 (UTC+2).
Same problem here, sensors not updated. Have not reinstalled integration but sensors starts working after reload of integration. Updating of sensors stops after a while (3-4 hours), have to reload again. Very strange.
Any Tibber errors in the log?
Same issue for me. Error in the homeassistant.log: 2022-10-27 22:54:52.348 ERROR (MainThread) [tibber] Error connecting to Tibber, resp code: 429 2022-10-27 22:54:52.391 ERROR (MainThread) [tibber] Error connecting to Tibber, resp code: 429 2022-10-27 22:54:52.393 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.tibber 2022-10-27 22:54:52.395 INFO (MainThread) [homeassistant.components.notify] Setting up notify.tibber
Error connecting to Tibber, resp code: 429
Indicate that the integration hit some rate limiting, and is blocked.
When I try the query now, it only says: "Network error: Failed to fetch"
I have the exact same problem. @Danielhiversen just reach out if you need anything to troubleshoot.
Both me and a friend experiences the same. The Tibber-integration suddenly stops receiving/polling data, but after a restart of the integration it starts again. Have Tibber started rate-limiting?
Found this in the logs: 2022-10-25 22:16:39.482 ERROR (MainThread) [tibber] Error connecting to Tibber, resp code: 502
After this occurred, the integration never did fetch any new data until I manually restarted a couple days later.
It seems the problem ocurred at the same time for everyone so this is probebly related to something tibber did. Sholudnt be too hard to figure out
Unsure if the problem I have is the same, but I have a fresh install of homeassistant. When I added the tibber integration, it seems to be successfully added, but no devices show up. When I reload the tibber integration I get the following line in the console log
2022-10-28 08:40:11.285 ERROR (MainThread) [tibber] Error connecting to Tibber, resp code: 400
I also tried to run the gql query from this comment: https://github.com/home-assistant/core/issues/81037#issuecomment-1292441755, and it did successfully show my home.
I am unsure if this is the same issue as the rest in the thread or a new, as I seem to be the only one with the 400 status codes Adding it here since all the other symptoms are the same
Where do you see the error message? The same happens to mine but I cant find where the error message should be.
Where do you see the error message? The same happens to mine but I cant find where the error message should be.
Easiest is under settings, on the menu there there is an entry named System. Within that menu you should find Logs
Thanks!
Logger: tibber Source: components/tibber/init.py:55 First occurred: 10:10:53 (1 occurrences) Last logged: 10:10:53
Error connecting to Tibber, resp code: 429
Same error.
Logger: tibber Source: components/tibber/init.py:55 First occurred: 11:46:51 (1 occurrences) Last logged: 11:46:51
Error connecting to Tibber, resp code: 429
Same issue here as well happened just now 13:15 1minute after reloading the integration.. It never recovers after an error.
Logger: graphql_subscription_manager Source: components/tibber/init.py:88 First occurred: 13:15:35 (1 occurrences) Last logged: 13:15:35
Websocket is closed.
429 = Too Many Requests
Tibber has definitively started rate-limiting...
My friend gets this error fast on a house with solar panel (more requests), while at my home the plugin works longer before beeing dropped (fewer requests).
I guess there's some throttling going on at Tibber. This happens to me to and I need to deactivate and activate Tibber to start receiving data again. Unfortunately it doesn't seem to be a way to programatically disable/enable an integration to work around the root cause of this issue. I guess the third best option would be to schedule a reboot of HA.
I got this message (in Norwegian) from Tibber:
Hei igjen!HA integrasjonen driftes av en privatperson på egent initiativ og har ingen tilknyttning direkte til Tibber, men vi ynskjer å hjelpe så langt kunnskapen vår strekker til Anbefaler å prøve å styre mot HomeID, du kan finne den ved å skrive inn koden under i API explorer: https://developer.tibber.com/explorer {
viewer {
homes{
id
appNickname
}
login
name
}
}
You can read here about their rate limiting: https://developer.tibber.com/docs/overview
This seems to be a decent workaround for any integration that needs a reload: https://github.com/home-assistant/core/issues/76491#issuecomment-1288634887