Skip to content

Plan always shows Car kWh as empty even when charging car #3789

@jambees

Description

@jambees

Describe the bug
I'm having an issue where the Predbat plan never seems to show any car charging energy in the car kWh column. I don't think I've ever seen it populated. I've been through the documentation and thought I'd set all the necessary car related sensors and switches.

I had issues a few months ago where my house load was wrong and with help here found that my car_charging_energy setting was using a sensor that was a total increasing I think and created a utility meter that resets daily as advised. Here is the history graph for that sensor showing the car charging since around 4:45am this morning and is still charging.

Image

Here are the settings from my config file for the car:



  # Defines the number of cars modelled by the system, set to 0 for no car
  num_cars: 1

  # If you have Octopus intelligent, enable the intelligent slot information to add to pricing
  # Will automatically disable if not found, or comment out to disable fully
  # When enabled it overrides the 'car_charging_planned' feature and predict the car charging based on the intelligent plan (unless octopus intelligent charging is False)
  # This matches either the intelligent slot from the Octopus Plugin or from the Intelligent plugin
  octopus_intelligent_slot: 're:(binary_sensor.octopus_energy([0-9a-z_]+|)_intelligent_dispatching)'
  octopus_ready_time: 're:((select|time).octopus_energy_([0-9a-z_]+|)_intelligent_target_time)'
  octopus_charge_limit: 're:(number.octopus_energy([0-9a-z_]+|)_intelligent_charge_target)'

  car_charging_soc: sensor.optimus_battery # JEB

Expected behaviour
Car kWh column in the plan shows car energy for each half hour slot.

Predbat version
v8.36.3

Environment details

  • Fox Inverter, battery and Tesla Model 3 with old dumb charger
  • Standard HAOS

Screenshots
Plan:
Image

Car related config settings:
Image

Log file
Logfile attached.
predbat (1).log

Predbat debug yaml file
Attached
predbat_debug.yaml (1).txt

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions