evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Tibber Integration homeassistant

Open 0163deralex opened this issue 1 year ago • 3 comments

Describe the bug

Nach Installation der neusten evcc Version 0.131.9 wird zur vollen Stunde die Tibber Integration in home assistant "rausgeworfen". Es werden dann keine Werte mehr in homeassistant angezeigt. Der Strompreis wird aber weiterhin in evcc angezeigt. Sobald auf die vorherige Version gedowngradet wird und das home assistant System neu gestartet wird, wird wieder alles angezeigt.

Steps to reproduce

  1. Neuste Version installieren
  2. Auf volle Stunde warten
  3. Keine Werte mehr in homeassistant ...

Configuration details

Keine Änderung zu bisher

Log details

File "/usr/local/lib/python3.13/site-packages/tibber/__init__.py", line 107, in execute
    return (await extract_response_data(resp)).get("data")
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/tibber/response_handler.py", line 36, in extract_response_data
    raise FatalHttpExceptionError(
    ...<3 lines>...
    )
tibber.exceptions.FatalHttpExceptionError: Unexpected content type: text/plain
2024-12-12 11:59:38.390 ERROR (MainThread) [tibber] Fatal error interacting with Tibber API, HTTP status: 429. API error: UNKNOWN / Unexpected content type: text/plain
2024-12-12 11:59:38.391 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.electricity_price_strasse_ fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 960, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1318, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/tibber/sensor.py", line 404, in async_update
    await self._fetch_data()
  File "/usr/src/homeassistant/homeassistant/components/tibber/sensor.py", line 428, in _fetch_data
    await self._tibber_home.update_info_and_price_info()
  File "/usr/local/lib/python3.13/site-packages/tibber/home.py", line 209, in update_info_and_price_info
    if data := await self._tibber_control.execute(UPDATE_INFO_PRICE % self._home_id):

What type of operating system are you running?

HomeAssistant Add-on

Nightly build

  • [X] I have verified that the issue is reproducible with the latest nightly build

Version

V0.131.9

0163deralex avatar Dec 12 '24 11:12 0163deralex

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.

andig avatar Dec 12 '24 11:12 andig

Evcc funktioniert doch, da gibt's keine Fehler(logs). Die Tibber Integration (das ist eine andere, die wie in evcc) wird dann von Home Assistant nicht mehr erkannt. Und dieses log habe ich eingetragen.

andig @.***> schrieb am Do., 12. Dez. 2024, 12:25:

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen .

— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/17696#issuecomment-2538619564, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYXS4YSV22ANROCQGP2TBTT2FFXD3AVCNFSM6AAAAABTPRSNYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZYGYYTSNJWGQ . You are receiving this because you authored the thread.Message ID: @.***>

0163deralex avatar Dec 12 '24 11:12 0163deralex

Habe Tibber in evcc und HA eingebunden und kann den Fehler nicht nachstellen.

mucki12 avatar Dec 13 '24 17:12 mucki12