Closed testuser7 closed 1 year ago
Tak, powinny działać wszystkie liczniki działające z eLicznikiem. Żadne dane się nie pobierają?
Dla metryki Current consumption reading
mam stan unavailable
a dla pozostałych unknown
. Czy problemem może być ustawienie konfigurowalnych metryk na ponad rok wstecz?
Zobacz, czy coś jest w logach. Masz zainstalowaną najnowszą wersję?
Tak, najnowsza. W przeglądarce lecą zapytania na takie 2 adresy:
A to logi:
2023-05-08 14:09:23.915 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tauron_amiplus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-05-08 14:09:39.081 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform tauron_amiplus is taking over 10 seconds.
2023-05-08 14:10:25.906 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.tauron_amiplus
2023-05-08 14:11:25.994 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.tauron_amiplus
2023-05-08 14:12:26.066 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.tauron_amiplus
2023-05-08 14:13:26.138 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.tauron_amiplus
2023-05-08 14:14:26.217 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.tauron_amiplus
2023-05-08 14:15:26.290 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.tauron_amiplus
2023-05-08 14:16:26.362 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.tauron_amiplus
2023-05-08 14:17:26.434 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.tauron_amiplus
2023-05-08 14:17:49.096 WARNING (MainThread) [homeassistant.components.sensor] Timed out adding entities for domain sensor with platform tauron_amiplus after 500s
Tak. Integracja właśnie ich używa.
Spróbuj włączyć rejestrowanie debugowania w ustawieniach integracji i zobacz jeszcze raz na logi.
Logi:
2023-05-08 17:36:00.197 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Logging in...
2023-05-08 17:36:03.500 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Logged in.
2023-05-08 17:36:03.500 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Selecting meter: meter_id_xxx
2023-05-08 17:36:04.163 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading readings for date: 08.05.2023, generation: False
2023-05-08 17:36:04.493 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded readings for date: 08.05.2023, generation: False
2023-05-08 17:36:04.493 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 07.05.2023, generation: False
2023-05-08 17:36:04.823 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 07.05.2023, generation: False
2023-05-08 17:36:05.141 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded monthly data for month: 2023.5, generation: False
2023-05-08 17:36:05.141 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading yearly data for year: 2023, generation: False
2023-05-08 17:36:05.493 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded yearly data for year: 2023, generation: False
2023-05-08 17:36:05.493 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 01.05.2023, generation: False
2023-05-08 17:36:05.810 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 01.05.2023, generation: False
2023-05-08 17:36:05.810 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 02.05.2023, generation: False
2023-05-08 17:36:06.173 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 02.05.2023, generation: False
2023-05-08 17:36:06.173 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 03.05.2023, generation: False
2023-05-08 17:36:06.523 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 03.05.2023, generation: False
2023-05-08 17:36:06.523 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 04.05.2023, generation: False
2023-05-08 17:36:06.873 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 04.05.2023, generation: False
2023-05-08 17:36:06.874 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 05.05.2023, generation: False
2023-05-08 17:36:07.232 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 05.05.2023, generation: False
2023-05-08 17:36:07.232 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 06.05.2023, generation: False
2023-05-08 17:36:07.575 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 06.05.2023, generation: False
2023-05-08 17:36:07.575 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 07.05.2023, generation: False
2023-05-08 17:36:07.575 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 08.05.2023, generation: False
2023-05-08 17:36:07.911 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 08.05.2023, generation: False
2023-05-08 17:36:07.911 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 08.04.2023, generation: False
2023-05-08 17:36:08.224 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 08.04.2023, generation: False
2023-05-08 17:36:08.224 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.04.2023, generation: False
2023-05-08 17:36:08.575 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 09.04.2023, generation: False
2023-05-08 17:36:08.575 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 10.04.2023, generation: False
2023-05-08 17:36:08.923 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 10.04.2023, generation: False
2023-05-08 17:36:08.923 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 11.04.2023, generation: False
2023-05-08 17:36:09.233 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 11.04.2023, generation: False
2023-05-08 17:36:09.233 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 12.04.2023, generation: False
2023-05-08 17:36:09.575 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 12.04.2023, generation: False
2023-05-08 17:36:09.575 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 13.04.2023, generation: False
2023-05-08 17:36:09.894 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 13.04.2023, generation: False
2023-05-08 17:36:09.894 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 14.04.2023, generation: False
2023-05-08 17:36:10.099 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform tauron_amiplus is taking over 10 seconds.
2023-05-08 17:36:10.236 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 14.04.2023, generation: False
2023-05-08 17:36:10.236 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 15.04.2023, generation: False
2023-05-08 17:36:10.601 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 15.04.2023, generation: False
2023-05-08 17:36:10.601 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 16.04.2023, generation: False
2023-05-08 17:36:10.944 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 16.04.2023, generation: False
2023-05-08 17:36:10.944 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 17.04.2023, generation: False
2023-05-08 17:36:11.283 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 17.04.2023, generation: False
2023-05-08 17:36:11.283 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 18.04.2023, generation: False
2023-05-08 17:36:11.596 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 18.04.2023, generation: False
2023-05-08 17:36:11.596 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 19.04.2023, generation: False
2023-05-08 17:36:11.923 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 19.04.2023, generation: False
2023-05-08 17:36:11.923 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 20.04.2023, generation: False
2023-05-08 17:36:12.235 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 20.04.2023, generation: False
2023-05-08 17:36:12.235 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 21.04.2023, generation: False
2023-05-08 17:36:12.558 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 21.04.2023, generation: False
2023-05-08 17:36:12.558 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 22.04.2023, generation: False
2023-05-08 17:36:12.883 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 22.04.2023, generation: False
2023-05-08 17:36:12.883 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 23.04.2023, generation: False
2023-05-08 17:36:13.235 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 23.04.2023, generation: False
2023-05-08 17:36:13.235 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 24.04.2023, generation: False
2023-05-08 17:36:13.563 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 24.04.2023, generation: False
2023-05-08 17:36:13.563 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 25.04.2023, generation: False
2023-05-08 17:36:13.916 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 25.04.2023, generation: False
2023-05-08 17:36:13.916 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 26.04.2023, generation: False
2023-05-08 17:36:14.273 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 26.04.2023, generation: False
2023-05-08 17:36:14.273 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 27.04.2023, generation: False
2023-05-08 17:36:14.623 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 27.04.2023, generation: False
2023-05-08 17:36:14.623 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 28.04.2023, generation: False
2023-05-08 17:36:14.953 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 28.04.2023, generation: False
2023-05-08 17:36:14.953 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 29.04.2023, generation: False
2023-05-08 17:36:15.282 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 29.04.2023, generation: False
2023-05-08 17:36:15.282 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 30.04.2023, generation: False
2023-05-08 17:36:15.594 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 30.04.2023, generation: False
2023-05-08 17:36:15.594 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 01.05.2023, generation: False
2023-05-08 17:36:15.594 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 02.05.2023, generation: False
2023-05-08 17:36:15.595 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 03.05.2023, generation: False
2023-05-08 17:36:15.595 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 04.05.2023, generation: False
2023-05-08 17:36:15.595 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 05.05.2023, generation: False
2023-05-08 17:36:15.595 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 06.05.2023, generation: False
2023-05-08 17:36:15.595 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 07.05.2023, generation: False
2023-05-08 17:36:15.595 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 08.05.2023, generation: False
2023-05-08 17:36:15.924 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 08.05.2023, generation: False
2023-05-08 17:36:15.925 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 27.04.2022, generation: False
2023-05-08 17:36:16.293 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 27.04.2022, generation: False
2023-05-08 17:36:16.293 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 28.04.2022, generation: False
2023-05-08 17:36:16.831 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 28.04.2022, generation: False
2023-05-08 17:36:16.831 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 29.04.2022, generation: False
2023-05-08 17:36:17.215 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 29.04.2022, generation: False
2023-05-08 17:36:17.215 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 30.04.2022, generation: False
2023-05-08 17:36:17.563 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 30.04.2022, generation: False
2023-05-08 17:36:17.563 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 01.05.2022, generation: False
2023-05-08 17:36:17.954 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 01.05.2022, generation: False
2023-05-08 17:36:17.954 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 02.05.2022, generation: False
2023-05-08 17:36:18.345 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 02.05.2022, generation: False
2023-05-08 17:36:18.345 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 03.05.2022, generation: False
2023-05-08 17:36:18.724 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 03.05.2022, generation: False
2023-05-08 17:36:18.724 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 04.05.2022, generation: False
2023-05-08 17:36:19.061 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 04.05.2022, generation: False
2023-05-08 17:36:19.061 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 05.05.2022, generation: False
2023-05-08 17:36:19.441 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 05.05.2022, generation: False
2023-05-08 17:36:19.441 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 06.05.2022, generation: False
2023-05-08 17:36:19.785 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 06.05.2022, generation: False
2023-05-08 17:36:19.786 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 07.05.2022, generation: False
2023-05-08 17:36:20.125 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 07.05.2022, generation: False
2023-05-08 17:36:20.125 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 08.05.2022, generation: False
2023-05-08 17:36:20.471 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 08.05.2022, generation: False
2023-05-08 17:36:20.471 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.05.2022, generation: False
2023-05-08 17:36:20.834 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 09.05.2022, generation: False
2023-05-08 17:36:20.834 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 10.05.2022, generation: False
2023-05-08 17:36:21.196 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 10.05.2022, generation: False
2023-05-08 17:36:21.196 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 11.05.2022, generation: False
2023-05-08 17:36:21.581 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 11.05.2022, generation: False
2023-05-08 17:36:21.581 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 12.05.2022, generation: False
2023-05-08 17:36:21.953 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 12.05.2022, generation: False
2023-05-08 17:36:21.953 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 13.05.2022, generation: False
2023-05-08 17:36:22.288 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 13.05.2022, generation: False
2023-05-08 17:36:22.288 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 14.05.2022, generation: False
2023-05-08 17:36:22.646 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 14.05.2022, generation: False
2023-05-08 17:36:22.646 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 15.05.2022, generation: False
2023-05-08 17:36:22.963 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 15.05.2022, generation: False
2023-05-08 17:36:22.963 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 16.05.2022, generation: False
2023-05-08 17:36:23.305 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 16.05.2022, generation: False
2023-05-08 17:36:23.305 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 17.05.2022, generation: False
2023-05-08 17:36:23.646 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 17.05.2022, generation: False
2023-05-08 17:36:23.646 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 18.05.2022, generation: False
2023-05-08 17:36:24.003 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 18.05.2022, generation: False
2023-05-08 17:36:24.003 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 19.05.2022, generation: False
2023-05-08 17:36:24.333 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 19.05.2022, generation: False
2023-05-08 17:36:24.333 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 20.05.2022, generation: False
2023-05-08 17:36:24.694 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 20.05.2022, generation: False
2023-05-08 17:36:24.694 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 21.05.2022, generation: False
2023-05-08 17:36:25.053 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 21.05.2022, generation: False
2023-05-08 17:36:25.053 DEBUG (SyncWorker_5) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 22.05.2022, generation: False
Ok, wszystko wygląda w porządku. Zobacz, czy po jakimś czasie pobieranie danych się zakończyło
Pobieranie zakończyło się. W logach jest:
2023-05-08 17:44:20.117 DEBUG (MainThread) [custom_components.tauron_amiplus.coordinator] Finished fetching tauron_amiplus data in 499.990 seconds (success: True)
2023-05-08 17:44:20.117 WARNING (MainThread) [homeassistant.components.sensor] Timed out adding entities for domain sensor with platform tauron_amiplus after 500s
...
Ale później pobieranie było kontynuowane:
...
2023-05-08 17:44:41.276 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 30.04.2023, generation: True
2023-05-08 17:44:41.276 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 01.05.2023, generation: True
2023-05-08 17:44:41.276 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 02.05.2023, generation: True
2023-05-08 17:44:41.276 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 03.05.2023, generation: True
2023-05-08 17:44:41.276 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 04.05.2023, generation: True
2023-05-08 17:44:41.276 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 05.05.2023, generation: True
2023-05-08 17:44:41.276 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 06.05.2023, generation: True
2023-05-08 17:44:41.276 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 07.05.2023, generation: True
2023-05-08 17:44:41.277 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 08.05.2023, generation: True
2023-05-08 17:44:41.635 DEBUG (SyncWorker_1) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 08.05.2023, generation: True
Czy teraz powinienem być już w stanie podejrzeć te dane?
Najpierw są pobierane dane do sensorów, a potem do statystyk (tylko za pierwszym razem). Dane do statystyk są pobierane od 1 stycznia 2022r. Po zakończeniu ich pobierania (jak skończy się spam w logach) wszystko powinno zadziałać.
Zauważyłem, że w tabeli state
w bazie pojawiły się wpisy ale wszystkie mają stan unknown
lub unavailable
. Danych z eLicznik'a nie chcę dodawać do panelu Energy
(mam inne źródło). Czy w takim przypadku jakiekolwiek dane pojawią się w tabeli state
lub statistics
?
Ale pobieranie danych się zakończyło bez żadnych błędów?
Wpisy w tabelach powinny się pojawić, ale powinno to być równoważne z pojawieniem się stanów encji w interfejsie. Mogę dodać do konfiguracji możliwość wyłączenia pobierania danych do statystyk, powinno to usprawnić działanie integracji w przypadkach, w których nie są one potrzebne.
Pełne logi:
home-assistant.log
A tak wygląda baza:
states
dla metadata_id=61
:
Logi wyglądają w porządku, nie ma w nich żadnych innych błędów? Jeśli nie, to nie widzę powodu dla którego integracja by nie miała działać...
Możesz spróbować jeszcze taką kwerendę?
SELECT *
FROM statistics s LEFT JOIN statistics_meta sm
ON s.metadata_id = sm.id
WHERE
(s.metadata_id, s.start_ts) IN (SELECT metadata_id, MAX(start_ts) FROM statistics GROUP BY metadata_id)
AND sm.statistic_id LIKE "tauron_importer%";
W logach nic więcej nie ma. To pełny log od restartu. A to wynik kwerendy na bazie:
Execution finished without errors.
Result: 0 rows returned in 25ms
Dzisiaj rano ruszyło. Pojawiły się dane. Są 4 impotery:
Tylko current_consumption_reading
jest jako unavailable
.
Bardzo dziwna sytuacja.
Jeśli chodzi o current_consumption_reading
, to czy jest ono dostępne na stronie eLicznika? W logach widać, że nie udało się go pobrać.
Mam dokładnie ten sam problem z tym samym licznikiem...
@andrzejmarek taki sam czyli jaki? Bo tutaj w końcu zadziałało, tylko aktualnego odczytu poboru nie ma
Jeśli chodzi o
current_consumption_reading
, to czy jest ono dostępne na stronie eLicznika? W logach widać, że nie udało się go pobrać.
Widzę wszystkie odczyty z dnia poprzedniego na stronie eLicznik'a.
Mam jeszcze pytanie czy jest jakiś sposób żeby do tabeli statistics
zaimportować historyczne dane z eLicznik'a?
Widzę wszystkie odczyty z dnia poprzedniego na stronie eLicznik'a.
Może nie było w momencie aktualizacji danych w integracji, zobacz, czy się jeszcze dzisiaj pojawią (pobierane są co 8.5h).
Mam jeszcze pytanie czy jest jakiś sposób żeby do tabeli
statistics
zaimportować historyczne dane z eLicznik'a?
Powinny się automatycznie zaimportować, używasz bazy SQLite?
Powinny się automatycznie zaimportować, używasz bazy SQLite?
Tak.
Tak wygląda odpowiedź w przeglądarce na zapytanie energia-pobrana
:
{
"success": true,
"data": [
{
"S1": "999",
"Date": "08.05.2023 23:59:59",
"S2": null,
"S3": null,
"C": 999,
"JM": "kWha"
}
]
}
To zobacz o której godzinie pojawiły się dane i jak minie min 8.5h od tego momentu, to zobacz, czy kwerenda coś zwróci i czy current_consumption_reading
się pobrało.
SELECT *
FROM statistics s LEFT JOIN statistics_meta sm
ON s.metadata_id = sm.id
WHERE
(s.metadata_id, s.start_ts) IN (SELECT metadata_id, MAX(start_ts) FROM statistics GROUP BY metadata_id)
AND sm.statistic_id LIKE "tauron_importer%";
@andrzejmarek taki sam czyli jaki? Bo tutaj w końcu zadziałało, tylko aktualnego odczytu poboru nie ma
Ten sam licznik co kolega @testuser7, ten sam problem - brak jednego odczytu.
Moje ostatnie pobieranie tak wygląda (usunąłem powtarzające się logi z kolejnych dni):
2023-05-10 05:30:20.216 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Logging in...
2023-05-10 05:30:23.603 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Logged in.
2023-05-10 05:30:23.603 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Selecting meter: meter_id_xxx
2023-05-10 05:30:24.246 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading readings for date: 10.05.2023, generation: False
2023-05-10 05:30:24.564 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded readings for date: 10.05.2023, generation: False
2023-05-10 05:30:24.564 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.05.2023, generation: False
2023-05-10 05:30:24.944 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 09.05.2023, generation: False
2023-05-10 05:30:24.944 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 08.05.2023, generation: False
2023-05-10 05:30:25.463 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded monthly data for month: 2023.5, generation: False
2023-05-10 05:30:25.463 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading yearly data for year: 2023, generation: False
2023-05-10 05:30:27.563 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded yearly data for year: 2023, generation: False
2023-05-10 05:30:27.563 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 01.05.2023, generation: False
...
2023-05-10 05:30:27.564 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 08.05.2023, generation: False
2023-05-10 05:30:27.564 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.05.2023, generation: False
2023-05-10 05:30:27.909 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 09.05.2023, generation: False
2023-05-10 05:30:27.910 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 10.05.2023, generation: False
2023-05-10 05:30:28.223 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 10.05.2023, generation: False
2023-05-10 05:30:28.223 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 10.04.2023, generation: False
...
2023-05-10 05:30:28.226 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 08.05.2023, generation: False
2023-05-10 05:30:28.226 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.05.2023, generation: False
2023-05-10 05:30:28.551 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 09.05.2023, generation: False
2023-05-10 05:30:28.551 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 10.05.2023, generation: False
2023-05-10 05:30:28.864 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 10.05.2023, generation: False
2023-05-10 05:30:28.865 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 27.04.2022, generation: False
...
2023-05-10 05:30:28.886 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 09.01.2023, generation: False
2023-05-10 05:30:28.886 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 10.01.2023, generation: False
2023-05-10 05:30:29.223 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 10.01.2023, generation: False
...
2023-05-10 05:30:53.267 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 25.03.2023, generation: False
2023-05-10 05:30:53.595 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 25.03.2023, generation: False
2023-05-10 05:30:53.595 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 26.03.2023, generation: False
2023-05-10 05:30:53.923 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 26.03.2023, generation: False
2023-05-10 05:30:53.924 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 27.03.2023, generation: False
2023-05-10 05:30:54.244 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 27.03.2023, generation: False
...
2023-05-10 05:30:56.696 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 05.04.2023, generation: False
2023-05-10 05:30:57.004 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 05.04.2023, generation: False
2023-05-10 05:30:57.004 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 06.04.2023, generation: False
...
2023-05-10 05:30:57.006 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 08.05.2023, generation: False
2023-05-10 05:30:57.006 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.05.2023, generation: False
2023-05-10 05:30:57.315 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 09.05.2023, generation: False
2023-05-10 05:30:57.316 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 10.05.2023, generation: False
2023-05-10 05:30:57.633 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 10.05.2023, generation: False
2023-05-10 05:30:57.634 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading readings for date: 10.05.2023, generation: True
2023-05-10 05:30:57.963 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded readings for date: 10.05.2023, generation: True
2023-05-10 05:30:57.964 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.05.2023, generation: True
2023-05-10 05:30:58.294 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 09.05.2023, generation: True
2023-05-10 05:30:58.295 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 08.05.2023, generation: True
2023-05-10 05:30:58.743 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded monthly data for month: 2023.5, generation: True
2023-05-10 05:30:58.744 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading yearly data for year: 2023, generation: True
2023-05-10 05:31:00.773 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded yearly data for year: 2023, generation: True
2023-05-10 05:31:00.774 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 01.05.2023, generation: True
...
2023-05-10 05:31:00.774 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 08.05.2023, generation: True
2023-05-10 05:31:00.774 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.05.2023, generation: True
2023-05-10 05:31:01.083 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 09.05.2023, generation: True
2023-05-10 05:31:01.084 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 10.05.2023, generation: True
2023-05-10 05:31:01.403 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 10.05.2023, generation: True
2023-05-10 05:31:01.404 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 10.04.2023, generation: True
...
2023-05-10 05:31:01.406 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 08.05.2023, generation: True
2023-05-10 05:31:01.406 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.05.2023, generation: True
2023-05-10 05:31:01.763 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 09.05.2023, generation: True
2023-05-10 05:31:01.764 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 10.05.2023, generation: True
2023-05-10 05:31:02.094 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 10.05.2023, generation: True
2023-05-10 05:31:02.095 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 27.04.2022, generation: True
2023-05-10 05:31:02.424 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 27.04.2022, generation: True
...
2023-05-10 05:32:53.713 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 25.03.2023, generation: True
2023-05-10 05:32:54.034 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 25.03.2023, generation: True
2023-05-10 05:32:54.034 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 26.03.2023, generation: True
2023-05-10 05:32:54.351 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 26.03.2023, generation: True
2023-05-10 05:32:54.351 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 27.03.2023, generation: True
2023-05-10 05:32:54.667 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 27.03.2023, generation: True
...
2023-05-10 05:32:57.254 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 05.04.2023, generation: True
2023-05-10 05:32:57.574 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloaded daily data for day: 05.04.2023, generation: True
2023-05-10 05:32:57.574 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 06.04.2023, generation: True
...
2023-05-10 05:32:57.576 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Cache hit for day 08.05.2023, generation: True
2023-05-10 05:32:57.576 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 09.05.2023, generation: True
2023-05-10 05:32:57.884 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 09.05.2023, generation: True
2023-05-10 05:32:57.884 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Downloading daily data for day: 10.05.2023, generation: True
2023-05-10 05:32:58.197 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] [meter_id_xxx]: Failed to download daily data for day: 10.05.2023, generation: True
2023-05-10 05:32:58.197 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] Deleting data from cache for day: 2022-04-27
...
2023-05-10 05:32:58.223 DEBUG (SyncWorker_3) [custom_components.tauron_amiplus.connector] Deleting data from cache for day: 2023-04-06
2023-05-10 05:32:58.474 INFO (MainThread) [custom_components.tauron_amiplus.coordinator] Fetching tauron_amiplus data recovered
2023-05-10 05:32:58.474 DEBUG (MainThread) [custom_components.tauron_amiplus.coordinator] Finished fetching tauron_amiplus data in 158.327 seconds (success: True)
Jest problem z pobraniem dziennych danych dla 2 dni: 26.03.2023
oraz 09.05.2023
Dane dla current_consumption_reading
nadal się nie pojawiły.
Zapytanie SQL zwraca mi 4 importery jak poprzednio i w kolumnie sum
są dane.
To ja powiem tak, wywaliłem, wyczyściłem wszystko, dodałem znowu - działa wszystko :)
Jest problem z pobraniem dziennych danych dla 2 dni: 26.03.2023 oraz 09.05.2023
Zobacz na stronie eLicznika, czy czasem dla tych dni nie ma jakiejś brakującej godziny.
Dane dla current_consumption_reading nadal się nie pojawiły.
Spróbuj wygenerować dane diagnostyczne i mi je przesłać na maila (piotr.machowski.dev [at] gmail.com
). Generowanie ich trochę może potrwać, także nie klikaj kilka razy przycisku.
Zapytanie SQL zwraca mi 4 importery jak poprzednio i w kolumnie sum są dane.
To oznacza, że dane w statystykach są, więc wszystko jest w porządku 👍
Zobacz na stronie eLicznika, czy czasem dla tych dni nie ma jakiejś brakującej godziny.
Dla 26.03.2023 w odpowiedzi w values
jest jeden null
dla zapytań consum
i oze
full+time
. 09.05.2023 wygląda ok.
Spróbuj wygenerować dane diagnostyczne i mi je przesłać na maila (
piotr.machowski.dev [at] gmail.com
). Generowanie ich trochę może potrwać, także nie klikaj kilka razy przycisku.
Próba pobrania danych diagnostycznych kończy się komunikatem:
2023-05-10 12:01:03.824 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from xxx. Requested URL: '/api/diagnostics/config_entry/xxx?authSig=xxx'.
Czy problemem może być, że łączę się przez reverse proxy na innym porcie?
Dla 26.03.2023 w odpowiedzi w values jest jeden null dla zapytań consum i oze full+time. 09.05.2023 wygląda ok.
Czyli wszystko działa w porządku 👍 danych z wczoraj pewnie nie było w momencie aktualizacji, a zdążyły się pojawić do momentu sprawdzenia ręcznego.
Czy problemem może być, że łączę się przez reverse proxy na innym porcie?
Potencjalnie tak, ale nie używałem tej metody. U mnie diagnostyka działa, spróbuj pobrać po sieci lokalnej
Dane diagnostyczne dla innych integracji mogę pobrać bez problemu. Może w trakcie tak długiego generowania wygasa jakaś sesja? Czy dane diagnostyczne da się ręcznie wygenerować?
Możesz spróbować wyłączyć konfigurowalne sensory i wtedy pobrać diagnostykę - powinno być szybciej i może zadziała.
Tak, należy uruchomić wszystkie liczniki działające z eLicznikiem. Jakiekolwiek dane się nie pobierają?
Od momentu aktualizacji zassało mi dane tylko raz w dniu aktualizacji (godzine po niej). Od 3 dni nie zassało zadnych nowych danych a wartości encji utknęły w miejscu. Po restarcie HA. Licznik OTUS 3 APATORa. Czy tylko ja tak mam czy spotkał się ktoś z podobną reakcja?
Dzisiaj pojawiły się u mnie wszystkie metryki. Niestety danych diagnostycznych nie udało mi się wygenerować (po ok 60 sekundach czekania pojawia się błąd). Zauważyłem w historii na wykresie małą przerwę. Czym to może być spowodowane?
Czy w obecnej implementacji jest możliwe stworzenie godzinowych historycznych statystyk? Takich jak wyświetla Energy Dashboard
?
Przerwa spowodowana jest pewnie stanem "unavailable".
Tak, można takie wykresy uzyskać używając statystyk "tauron_importer". Można je wyświetlać w panelu Energia, bądź karcie Statistics Graph.
Faktycznie teraz mogę wygenerować statystyki. Wcześniej nie miałem importerów do wyboru (tylko sensory).
A przerwa na wykresie jest spowodowana restartem HA.
Porównałem dane z eLicznika (kolor niebieski) z danymi z przekładników (kolor fioletowy) i wszystko się pokrywa:
Super, to chyba można uznać, że wszystko działa?
Tak, kilka dni na rozruch było potrzebnych :) Dziękuję za pomoc!
Patrząc do logów wygląda jak by integracja po każdym restarcie pobierała wszystkie historyczne dane. Czy tak jest faktycznie? Może dało by się zapisywać informację jakie dane zostały już pobrane?
Zakres pobieranych danych zależy od konfiguracji. Dane godzinowe są potrzebne do obliczania balansów, także muszą zostać pobrane. Cache jest czyszczone po każdym restarcie, więc musi zostać zbudowane od nowa.
Czy inne liczniki niż AMIplus dostępne w eLicznik'u są obsługiwane? Posiadam licznik Sanxing. Po skonfigurowaniu żadne dane się nie pobierają.