Open chris-y opened 5 hours ago
I think I had this issue, and Trefor recommend not using car charging now unless you have issues with IO.
I assume you've set this up in apps.yaml, so best to hash it out. If it sees the car charging, it sets the slot as.a 7p and the battery charge kicks off.
Yes, I've commented it out now. I have car_charging_planned too - is that needed? There's a comment which says it isn't for Intelligent. I'll see what happens next time I plug in.
I don't think it is needed, but doesn't do any harm
On Fri, 15 Nov 2024, 21:56 Chris Young, @.***> wrote:
Yes, I've commented it out now. I have car_charging_planned too - is that needed? There's a comment which says it isn't for Intelligent. I'll see what happens next time I plug in.
— Reply to this email directly, view it on GitHub https://github.com/springfall2008/batpred/issues/1626#issuecomment-2479999657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZQHXHJ4V6FMFTJCXFK2TXL2AZUZHAVCNFSM6AAAAABR3Z4FRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZHE4TSNRVG4 . You are receiving this because you commented.Message ID: @.***>
Describe the bug Predbat activates the cheaper rate during the day as soon as the car starts charging, and triggers the battery to charge up in this slot - even though it is not the scheduled dispatch slot, and the car was only charging momentarily before the smart charge kicked in
Expected behaviour Predbat should not use the car charging as a trigger to set the slot as cheap rate, unless it is specified in the IOG dispatched or dispatch is on.
Predbat version
Latest
Environment details
Screenshots Didn't get a screenshot sorry. Next time I plug it in I'll quickly grab one before stopping it.
Log file 225962024-11-15 18:46:08.528351: Warn: Historical day 4 has 10 minutes of gap in the data, filled from 19.81 kWh to make new average 19.95 kWh (percent 99%)225952024-11-15 18:46:08.511991: Warn: Historical day 3 has 150 minutes of gap in the data, filled from 24.68 kWh to make new average 27.55 kWh (percent 90%)225282024-11-15 18:45:49.975563: Watched event: sensor.xx20xxx_charge_state = {'entity_id': 'sensor.xx20xxx_charge_state', 'state': 'waiting_for_a_planned_charge', 'attributes': {'options': ['not_in_charge', 'waiting_for_a_planned_charge', 'charge_ended', 'waiting_for_current_charge', 'energy_flap_opened', 'charge_in_progress', 'charge_error', 'unavailable'], 'device_class': 'enum', 'friendly_name': 'XX20XXX Charge state'}, 'last_changed': '2024-11-15T18:45:49.969218+00:00', 'last_reported': '2024-11-15T18:45:49.969218+00:00', 'last_updated': '2024-11-15T18:45:49.969218+00:00', 'context': {'id': '01JCRJAMRHK4M27BF99C55C3N0', 'parent_id': None, 'user_id': None}} will trigger re-plan224332024-11-15 18:45:26.589288: Warn: Inverter 0: Using inverter type MINE - not all features are available224272024-11-15 18:45:26.278369: Warn: Historical day 7 has 65 minutes of gap in the data, filled from 19.73 kWh to make new average 20.66 kWh (percent 95%)224262024-11-15 18:45:26.242734: Warn: Historical day 6 has 175 minutes of gap in the data, filled from 18.73 kWh to make new average 21.32 kWh (percent 88%)224252024-11-15 18:45:26.224759: Warn: Historical day 5 has 70 minutes of gap in the data, filled from 17.73 kWh to make new average 18.63 kWh (percent 95%)224242024-11-15 18:45:26.217579: Warn: Historical day 4 has 10 minutes of gap in the data, filled from 19.81 kWh to make new average 19.95 kWh (percent 99%)224232024-11-15 18:45:26.201303: Warn: Historical day 3 has 150 minutes of gap in the data, filled from 24.68 kWh to make new average 27.55 kWh (percent 90%)223082024-11-15 18:45:09.382735: Warn: Inverter 0: Using inverter type MINE - not all features are available221962024-11-15 18:44:38.836414: Warn: Inverter 0: Using inverter type MINE - not all features are available221902024-11-15 18:44:38.54419 21534 2024-11-15 18:39:09.210274: Warn: Historical day 3 has 150 minutes of gap in the data, filled from 24.68 kWh to make new average 27.54 kWh (percent 90%) 21466 2024-11-15 18:38:49.640848: Watched event: sensor.xx20xxx_charge_state = {'entity_id': 'sensor.xx20xxx_charge_state', 'state': 'charge_in_progress', 'attributes': {'options': ['not_in_charge', 'waiting_for_a_planned_charge', 'charge_ended', 'waiting_for_current_charge', 'energy_flap_opened', 'charge_in_progress', 'charge_error', 'unavailable'], 'device_class': 'enum', 'friendly_name': 'XX20XXX Charge state'}, 'last_changed': '2024-11-15T18:38:49.634925+00:00', 'last_reported': '2024-11-15T18:38:49.634925+00:00', 'last_updated': '2024-11-15T18:38:49.634925+00:00', 'context': {'id': '01JCRHXT92FC46WAK6VM0E21W1', 'parent_id': None, 'user_id': None}} will trigger re-plan 21427 2024-11-15 18:38:41.113189: Warn: Inverter 0: Using inverter type MINE - not all features are available 21314 2024-11-15 18:38:08.947502:
Another bit of log:
2024-11-15 18:40:03.314887: Warn: Historical day 7 has 65 minutes of gap in the data, filled from 19.73 kWh to make new average 20.66 kWh (percent 95%) 2024-11-15 18:40:03.610245: Warn: Inverter 0: Using inverter type MINE - not all features are available 2024-11-15 18:40:09.822624: Info: record_status Charging target 35%-56% 2024-11-15 18:41:53.836650: Warn: Historical day 3 has 150 minutes of gap in the data, filled from 24.68 kWh to make new average 27.55 kWh (percent 90%) 2024-11-15 18:41:53.854338: Warn: Historical day 4 has 10 minutes of gap in the data, filled from 19.81 kWh to make new average 19.94 kWh (percent 99%) 2024-11-15 18:41:53.861594: Warn: Historical day 5 has 70 minutes of gap in the data, filled from 17.7 kWh to make new average 18.61 kWh (percent 95%) 2024-11-15 18:41:53.879516: Warn: Historical day 6 has 175 minutes of gap in the data, filled from 18.75 kWh to make new average 21.35 kWh (percent 88%) 2024-11-15 18:41:53.915132: Warn: Historical day 7 has 65 minutes of gap in the data, filled from 19.73 kWh to make new average 20.66 kWh (percent 95%) 2024-11-15 18:41:54.198903: Warn: Inverter 0: Using inverter type MINE - not all features are available 2024-11-15 18:42:25.083227: Warn: Inverter 0: Using inverter type MINE - not all features are available 2024-11-15 18:42:28.828604: Info: record_status Charging target 33%-51% 2024-11-15 18:44:38.462056: Warn: Historical day 3 has 150 minutes of gap in the data, filled from 24.68 kWh to make new average 27.55 kWh (percent 90%) 2024-11-15 18:44:38.479969: Warn: Historical day 4 has 10 minutes of gap in the data, filled from 19.81 kWh to make new average 19.94 kWh (percent 99%) 2024-11-15 18:44:38.488079: Warn: Historical day 5 has 70 minutes of gap in the data, filled from 17.7 kWh to make new average 18.61 kWh (percent 95%) 2024-11-15 18:44:38.508696: Warn: Historical day 6 has 175 minutes of gap in the data, filled from 18.75 kWh to make new average 21.35 kWh (percent 88%) 2024-11-15 18:44:38.544197: Warn: Historical day 7 has 65 minutes of gap i