Describe the bug
I have set up the Kraken component with EDF. This fails to get the export rates.
I have also set up the basic rate export (its a fixed 15p), but this is ignored.
Expected behaviour
If the component getting the export rates fails, it should use the Basic rate export defined.
Predbat version
8.37.6
Environment details
- Inverter and battery setup
- FoxEss 6Kw, Modbus, 18Kw battery stack
- Standard HAOS installer or Docker
- HAOS Install
- Anything else?
Screenshots
If applicable, add screenshots to help explain your problem. The most useful ones can be your battery chart, the Predbat HTML plan and your current settings in HA.
Log file
50722 | 2026-05-03 06:40:01.531805: Warn: record_status Error: No export rate data provided
50721 | 2026-05-03 06:40:01.516736: Warning: No export rate data provided
50712 | 2026-05-03 06:40:01.281694: Warn: record_status Error: metric_octopus_export not set correctly in apps.yaml, or no energy rates can be read
50711 | 2026-05-03 06:40:01.271436: Warning: metric_octopus_export is not set correctly in apps.yaml, or no energy rates can be read
50710 | 2026-05-03 06:40:01.268267: Warn: Octopus: No Octopus data in sensor sensor.predbat_kraken_a_e760fdd1_export_rates attribute 'all_rates' / 'rates' / 'raw_today' / 'prices'
50419 | 2026-05-03 06:38:22.795789: Warn: record_status Error: No export rate data provided
50418 | 2026-05-03 06:38:22.792329: Warning: No export rate data provided
50411 | 2026-05-03 06:38:22.524373: Warn: record_status Error: metric_octopus_export not set correctly in apps.yaml, or no energy rates can be read
50410 | 2026-05-03 06:38:22.521148: Warning: metric_octopus_export is not set correctly in apps.yaml, or no energy rates can be read
50409 | 2026-05-03 06:38:22.521111: Warn: Octopus: No Octopus data in sensor sensor.predbat_kraken_a_e760fdd1_export_rates attribute 'all_rates' / 'rates' / 'raw_today' / 'prices'
50402 | 2026-05-03 06:38:22.247864: Warn: Found 1 periods of zero load with power data, filling using power integration
50391 | 2026-05-03 06:38:21.769429: Error: Validation of apps.yaml found 1 configuration errors
50390 | 2026-05-03 06:38:21.769281: Warn: Validation of apps.yaml found configuration item 'metric_octopus_export' element sensor.predbat_kraken_a_e760fdd1_export_rates returned value 'None', not a valid value
50315 | 2026-05-03 06:38:12.444231: Warn: Kraken: Rates HTTP 404 for https://api.edfgb-kraken.energy/v1/products/EDF_EXPORT_SEG_12M/electricity-tariffs/E-1R-EDF_EXPORT_SEG_12M_HH-J/standard-unit-rates/
50313 | 2026-05-03 06:38:12.330799: Warn: Kraken: Rate pagination capped at 3 pages, more data available
Config File relevant elements:-
rates_import_octopus_url: "https://api.edfgb-kraken.energy/v1/products/EDF_FREEPHASE_DYNAMIC_12M_HH/electricity-tariffs/E-1R-EDF_FREEPHASE_DYNAMIC_12M_HH-J/standard-unit-rates/"
metric_octopus_export: 15
rates_export:
- rate: 15
Note that the Kraken module seems to overwrite the metric_octopus_export value with a pointer to the Kraken sensor, which then fails
Predbat debug yaml file
This is important for any plan related issues.
Once you have captured the issue go to the Web UI, in the Dash tab click on predbat_debug.yaml and wait 30 seconds for it to download. Select 'keep' if your Web Browser thinks the file is dangerous.
Rename the download file to predbat_debug.yaml.txt and upload it to GitHub. This will allow your plan to be reproduced and also stores all your settings for review.
Describe the bug
I have set up the Kraken component with EDF. This fails to get the export rates.
I have also set up the basic rate export (its a fixed 15p), but this is ignored.
Expected behaviour
If the component getting the export rates fails, it should use the Basic rate export defined.
Predbat version
8.37.6
Environment details
Screenshots
If applicable, add screenshots to help explain your problem. The most useful ones can be your battery chart, the Predbat HTML plan and your current settings in HA.
Log file
50722 | 2026-05-03 06:40:01.531805: Warn: record_status Error: No export rate data provided
50721 | 2026-05-03 06:40:01.516736: Warning: No export rate data provided
50712 | 2026-05-03 06:40:01.281694: Warn: record_status Error: metric_octopus_export not set correctly in apps.yaml, or no energy rates can be read
50711 | 2026-05-03 06:40:01.271436: Warning: metric_octopus_export is not set correctly in apps.yaml, or no energy rates can be read
50710 | 2026-05-03 06:40:01.268267: Warn: Octopus: No Octopus data in sensor sensor.predbat_kraken_a_e760fdd1_export_rates attribute 'all_rates' / 'rates' / 'raw_today' / 'prices'
50419 | 2026-05-03 06:38:22.795789: Warn: record_status Error: No export rate data provided
50418 | 2026-05-03 06:38:22.792329: Warning: No export rate data provided
50411 | 2026-05-03 06:38:22.524373: Warn: record_status Error: metric_octopus_export not set correctly in apps.yaml, or no energy rates can be read
50410 | 2026-05-03 06:38:22.521148: Warning: metric_octopus_export is not set correctly in apps.yaml, or no energy rates can be read
50409 | 2026-05-03 06:38:22.521111: Warn: Octopus: No Octopus data in sensor sensor.predbat_kraken_a_e760fdd1_export_rates attribute 'all_rates' / 'rates' / 'raw_today' / 'prices'
50402 | 2026-05-03 06:38:22.247864: Warn: Found 1 periods of zero load with power data, filling using power integration
50391 | 2026-05-03 06:38:21.769429: Error: Validation of apps.yaml found 1 configuration errors
50390 | 2026-05-03 06:38:21.769281: Warn: Validation of apps.yaml found configuration item 'metric_octopus_export' element sensor.predbat_kraken_a_e760fdd1_export_rates returned value 'None', not a valid value
50315 | 2026-05-03 06:38:12.444231: Warn: Kraken: Rates HTTP 404 for https://api.edfgb-kraken.energy/v1/products/EDF_EXPORT_SEG_12M/electricity-tariffs/E-1R-EDF_EXPORT_SEG_12M_HH-J/standard-unit-rates/
50313 | 2026-05-03 06:38:12.330799: Warn: Kraken: Rate pagination capped at 3 pages, more data available
Config File relevant elements:-
rates_import_octopus_url: "https://api.edfgb-kraken.energy/v1/products/EDF_FREEPHASE_DYNAMIC_12M_HH/electricity-tariffs/E-1R-EDF_FREEPHASE_DYNAMIC_12M_HH-J/standard-unit-rates/"
metric_octopus_export: 15
rates_export:
- rate: 15
Note that the Kraken module seems to overwrite the metric_octopus_export value with a pointer to the Kraken sensor, which then fails
Predbat debug yaml file
This is important for any plan related issues.
Once you have captured the issue go to the Web UI, in the Dash tab click on predbat_debug.yaml and wait 30 seconds for it to download. Select 'keep' if your Web Browser thinks the file is dangerous.
Rename the download file to predbat_debug.yaml.txt and upload it to GitHub. This will allow your plan to be reproduced and also stores all your settings for review.