core: Tibber sensors not available after startup

The problem

Sensor data not provided upon startup and I also noticed random stops in the sensor data updates. At some point during the day the update can just stop.

I could investigate a bit around the startup but without more logs it’s technically a black hole. I suggest adding debug logs to the integration in order to be able to catch problems.

What version of Home Assistant Core has the issue?

core-2022.10.5

What was the last working version of Home Assistant Core?

No response

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

config_entry-tibber-c0650c76aecc1bf6170316a194f7fbe1.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

After setting up the sensors and notifications there are no updates.

2022-10-28 16:08:40.666 INFO (MainThread) [homeassistant.setup] Setting up tibber
2022-10-28 16:08:40.675 INFO (MainThread) [homeassistant.setup] Setup of domain tibber took 0.0 seconds
2022-10-28 16:08:41.191 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: tibber, upnp
2022-10-28 16:08:44.748 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.tibber
2022-10-28 16:08:54.667 INFO (MainThread) [homeassistant.components.notify] Setting up notify.tibber

At this stage I can reload the Tibber integration and the updates eventually start happening:
2022-10-28 16:15:33.531 INFO (MainThread) [homeassistant.components.notify] Setting up notify.tibber
2022-10-28 16:15:39.786 DEBUG (MainThread) [homeassistant.components.tibber.sensor] Manually updated xxxxxx data

Additional information

In general I miss logging from the integration. There are many points in the code where debug info could be printed in order to identify where the setup flow stops.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 36 (8 by maintainers)

Most upvoted comments

Still not working even after restart of the whole HA server. Anyhow I did send an email to hello@tibber.com today describing the problem and asked them to allocate a developer to help @Danielhiversen fix the problem. I think if a lot of us here continue to send them emails regarding the faulty integration in HA maybe they will respond?

Its a great integration and I think all of us can agree that we will help with whatever we can to get it working again.

The best would be if HA could connect locally to the pulse?