speleolontra / daikin_residential_altherma

Home Assistant Integration specific for BRP069A78 Heat Pump Model, via Daikin App Onecta. Users have good experience also for BRP069A62 and BRP069A61 (but not tested directly).
GNU General Public License v3.0
96 stars 15 forks source link

[Issue]: no sensor data #162

Closed cleversmart closed 8 months ago

cleversmart commented 1 year ago

Home Assistant 2023.6.3 Logger: homeassistant.helpers.entity Source: custom_components/daikin_residential_altherma/daikin_api.py:518 Integration: Daikin Residential Controller for Altherma (documentation, issues) First occurred: 10. Juli 2023 um 19:12:53 (4 occurrences) Last logged: 10. Juli 2023 um 21:14:53

Update for water_heater.altherma fails
Update for sensor.altherma_leaving_water_temperature fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 559, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 784, in async_device_update
    await self.async_update()
  File "/config/custom_components/daikin_residential_altherma/water_heater.py", line 199, in async_update
    await self._device.api.async_update()
  File "/config/custom_components/daikin_residential_altherma/daikin_api.py", line 518, in async_update
    if dev_data["id"] in self.hass.data[DOMAIN][DAIKIN_DEVICES]:
       ~~~~~~~~^^^^^^
TypeError: string indices must be integers, not 'str'
jwillemsen commented 1 year ago

I haven't seen this error before, did it work before, did you change anything? Can you attach the device diagnostics as explained when you create a new issue?

cleversmart commented 1 year ago

Yes it worked for 3-4 days, then the sensor datas are lost in the recorder. The sensor "Altherma Daily Heat Tank Energy Consumption" reported me 1 kW, but the App from Daikin said 3 kW

jwillemsen commented 1 year ago

Please attach the json as file, much easier and keeps the issue here short

cleversmart commented 1 year ago

daikin_residential_altherma-4c554cfb5a662f4f3af52bfea6b91599--9b6d9a199080e9b45884844b772b69e2.json.txt

jwillemsen commented 1 year ago

Looks the data is not correct, no idea why, you have device_json_data but it should be json_data. Have you tried to restart HA, when that doesn't help, remove this integration, restart HA, install this integration again. Let me know if that works

jwillemsen commented 11 months ago

Have you tried to update HA and the latest version of this integration?

jwillemsen commented 10 months ago

Have you tried to restart HA?

jwillemsen commented 9 months ago

Can you retest using https://github.com/jwillemsen/daikin_residential_altherma?

jwillemsen commented 8 months ago

Or in the onect app go to settings/diagnostics and add the zip file here