Closed budisek closed 3 months ago
Dobrý den, prozatím se jedná o vývoj a testování v omezené skupině lidí. Bohužel prozatím nejsem schopen poskytnou podporu zde. Dejte mi pár dní. Sledujte pravidelně aktualizace integrace, třeba se rozběhne. Jinak koukněte do logu v HA a můžete poslat případné chyby sem
Posílám logy. EAN a tokeny skryty
2024-06-05 20:53:59.710 WARNING (MainThread) [homeassistant.helpers.config_validation] The 'base_url' option near /config/configuration.yaml:10 is deprecated, please remove it from your configuration
2024-06-05 20:54:00.804 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:00: SUCCESS Initialized EGDPowerDataStatusSensor with EAN: 859***************
2024-06-05 20:54:00.804 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:00: INFO Updating EGD Power Data Status Sensor for EAN: 859***************
2024-06-05 20:54:00.804 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:00: INFO Initialized EGDPowerDataSensor with EAN: 859***************, Profile: ICC1
2024-06-05 20:54:00.809 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:00: INFO >>>>>>>>>>>Updating EGD Power Data Sensor for EAN: 859***************, Profile: ICC1
2024-06-05 20:54:00.806 DEBUG (MainThread) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:00: INFO Updating related sensors for EAN: 859***************
2024-06-05 20:54:00.817 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.egddistribuce_859***************_1_icc1 not found.
2024-06-05 20:54:00.817 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.egddistribuce_859***************_1_isc1 not found.
2024-06-05 20:54:00.816 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:00: INFO Retrieving access token
2024-06-05 20:54:01.065 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: SUCCESS Access token retrieved: eyJh...
2024-06-05 20:54:01.066 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: INFO Retrieving data with token: eyJh...
2024-06-05 20:54:01.067 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: INFO Headers: {'ean': '859***************', 'profile': 'ICC1', 'from': '2024-06-03T22:00:00.000Z', 'to': '2024-06-04T21:45:00.000Z', 'pageSize': 3000}
2024-06-05 20:54:01.067 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: INFO Data url: https://data.distribuce24.cz/rest/spotreby
2024-06-05 20:54:01.509 ERROR (MainThread) [homeassistant.setup] Setup failed for 'solcast_solar': Integration not found.
2024-06-05 20:54:01.703 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: WARN Response status code: 200
2024-06-05 20:54:01.703 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: INFO Response content: b'{"error":"No results"}'
2024-06-05 20:54:01.714 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: INFO Data retrieved: {'error': 'No results'}
2024-06-05 20:54:01.715 ERROR (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: ERROR Error updating sensor: 0
2024-06-05 20:54:01.715 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: INFO Initialized EGDPowerDataSensor with EAN: 859***************, Profile: ISC1
2024-06-05 20:54:01.715 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: INFO >>>>>>>>>>>Updating EGD Power Data Sensor for EAN: 859***************, Profile: ISC1
2024-06-05 20:54:01.715 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:01: INFO Retrieving access token
2024-06-05 20:54:02.002 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: SUCCESS Access token retrieved: eyJh...
2024-06-05 20:54:02.002 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: INFO Retrieving data with token: eyJh...
2024-06-05 20:54:02.002 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: INFO Headers: {'ean': '859***************', 'profile': 'ISC1', 'from': '2024-06-03T22:00:00.000Z', 'to': '2024-06-04T21:45:00.000Z', 'pageSize': 3000}
2024-06-05 20:54:02.003 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: INFO Data url: https://data.distribuce24.cz/rest/spotreby
2024-06-05 20:54:02.321 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: WARN Response status code: 200
2024-06-05 20:54:02.321 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: INFO Response content: b'{"error":"No results"}'
2024-06-05 20:54:02.321 DEBUG (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: INFO Data retrieved: {'error': 'No results'}
2024-06-05 20:54:02.321 ERROR (SyncWorker_1) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: ERROR Error updating sensor: 0
2024-06-05 20:54:02.324 DEBUG (SyncWorker_10) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: INFO Updating EGD Power Data Status Sensor for EAN: 859***************
2024-06-05 20:54:02.327 DEBUG (MainThread) [custom_components.egdczpowerdata.sensor] 2024-06-05 20:54:02: INFO Updating related sensors for EAN: 859***************
2024-06-05 20:54:02.327 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.egddistribuce_859***************_1_icc1 not found.
2024-06-05 20:54:02.327 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.egddistribuce_859***************_1_isc1 not found.
Díky, skript pracuje správně, jenom portál nevrací žádná data:
INFO Response content: b'{"error":"No results"}'
kontaktujte mě na o..... a zkusíme najít kde je problém
Zdravím,
zadal jsem všechny hodnoty z portálu EGD a EAN spotřeby. Spustil jsem automatizaci a nic ne nestáhlo.
Jak to prosím funguje?