davidm-glitch / home-assistant-eheim-digital

Custom Integration for EHEIM digital devices
MIT License
23 stars 5 forks source link

Latest Eheim Update #20

Closed Stiesel closed 4 months ago

Stiesel commented 5 months ago

Hallo leider werden mit dem aktuellen Update keine Daten mehr übertragen, Screenshot_20240626_091705_Chrome

Hello, unfortunately with the current update no more data is transferred,

Smarthome-Creator commented 5 months ago

Schließe mich an.

davidm-glitch commented 5 months ago

Könnt ihr bitte mal die Logs hier posten?

Stiesel commented 5 months ago

`Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant Quelle: custom_components/eheim_digital/sensor.py:166 Integration: EHEIM Digital (Dokumentation, Probleme) Erstmals aufgetreten: 19:38:54 (21 Vorkommnisse) Zuletzt protokolliert: 20:15:29

Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 255, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 411, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 165, in async_update_listeners update_callback() File "/config/custom_components/eheim_digital/sensor.py", line 307, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1000, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1126, in _async_write_ha_state state, attr, capabilities, shadowed_attr = self.async_calculate_state() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1061, in async_calculate_state state = self._stringify_state(available) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1006, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 543, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File "/config/custom_components/eheim_digital/sensor.py", line 296, in native_value return self.entity_description.value_fn(self._sensor_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/eheim_digital/sensor.py", line 166, in value_fn=lambda data: round((int(data["isPH"]) / 10), 1),


KeyError: 'isPH'`
Stiesel commented 5 months ago

`Logger: homeassistant.components.sensor Quelle: helpers/entity_platform.py:914 Integration: Sensor (Dokumentation, Probleme) Erstmals aufgetreten: 15:42:51 (5 Vorkommnisse) Zuletzt protokolliert: 20:14:58

Error adding entity sensor.eheim_reeflex_2410996_operating_time for domain sensor with platform eheim_digital Error adding entity sensor.eheim_filter_1105346_operating_time for domain sensor with platform eheim_digital Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 914, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1355, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1000, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1126, in _async_write_ha_state state, attr, capabilities, shadowed_attr = self.async_calculate_state() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1061, in async_calculate_state state = self._stringify_state(available) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1006, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 543, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File "/config/custom_components/eheim_digital/sensor.py", line 296, in native_value return self.entity_description.value_fn(self._sensor_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/eheim_digital/sensor.py", line 73, in value_fn=lambda data: data.get("actualTime") / (1440 * 24),


TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'`
Stiesel commented 5 months ago

`Logger: homeassistant.components.sensor Quelle: components/sensor/init.py:732 Integration: Sensor (Dokumentation, Probleme) Erstmals aufgetreten: 15:40:51 (5 Vorkommnisse) Zuletzt protokolliert: 20:14:55

Entity sensor.eheim_ph_14530908_kh_value (<class 'custom_components.eheim_digital.sensor.EheimSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('carbon_dioxide') it is using; expected one of ['ppm']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/davidm-glitch/home-assistant-eheim-digital/issues`

Stiesel commented 5 months ago

[Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant Quelle: custom_components/eheim_digital/sensor.py:73 Integration: EHEIM Digital (Dokumentation, Probleme) Erstmals aufgetreten: 15:42:51 (22 Vorkommnisse) Zuletzt protokolliert: 20:14:50

Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 255, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 411, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 165, in async_update_listeners update_callback() File "/config/custom_components/eheim_digital/sensor.py", line 307, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1000, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1126, in _async_write_ha_state state, attr, capabilities, shadowed_attr = self.async_calculate_state() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1061, in async_calculate_state state = self._stringify_state(available) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1006, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 543, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File "/config/custom_components/eheim_digital/sensor.py", line 296, in native_value return self.entity_description.value_fn(self._sensor_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/eheim_digital/sensor.py", line 73, in value_fn=lambda data: data.get("actualTime") / (1440 * 24),


TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'](url)
Stiesel commented 5 months ago

Sorry für die Anzahl der Post, wurde über das Handy hochgeladen, da ging es nicht besser

Stiesel commented 5 months ago

Der UVC-Kläger zieht jetzt die Daten des Filters, und der Filter die Daten des UVC-Klärers

Screenshot_20240627_202226_Home Assistant Screenshot_20240627_202233_Home Assistant

davidm-glitch commented 4 months ago

Ich habe nun auch meine Geräte aktualisiert, konnte aber kein solches Verhalten feststellen.

Habt ihr mal versucht die Integration zu löschen und erneut einzurichten? Die Zuordnung erfolgt eigentlich per Mac-Adresse, da sollte sich auch nichts dran geändert haben.

Smarthome-Creator commented 4 months ago

@davidm-glitch, bei mir hat sich nach dem Update die IP Adresse des Filters geändert, was ja eigentlich egal sein sollte, da ich den Filter über seinen DNS Namen eingerichtet hatte.

Das geht nun aktuell leider nicht mehr. Könnte verschiedene Ursachen haben, das letzte Update des Filters oder das letzte Update der Fritz!Box oder durch das letzte HA Update. Jedenfalls, wenn ich ihn wieder direkt über die IP einbinde bekomme ich wieder Daten.

davidm-glitch commented 4 months ago

Okay, also issue closed?

Smarthome-Creator commented 4 months ago

Okay, also issue closed?

Also von meiner Seite her ja.