-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intelligent Octopus rate triggers when car is charging but dispatch not set #1626
Comments
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 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
<#1626 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZQHXHJ4V6FMFTJCXFK2TXL2AZUZHAVCNFSM6AAAAABR3Z4FRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZHE4TSNRVG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yeh car_charging_now is probably the issue, best avoided as it tells predbat that if the car is charging its cheap rate |
Thanks, I'm sure that will fix it. I have a follow-up question. When the car is scheduled to charge on the middle of the regular cheap slot in the night, predbat is suspending charging (house battery already at 100%), and the car charges from battery - even though I have allow car charge from battery switched off. Car was scheduled between 4.30 and 5.00. At 4.30 predbat set the inverter to do a 0A charge (ie, don't discharge) from 5.00 until 5.30. I would expect that behaviour when the car was charging, not for when it had finished? |
Schedule tonight hasn't exhibited the same, so I'm not sure what was happening yesterday. |
I've a follow up question. My IOG has been terribly temperamental and is not detecting and therefore not planning a charge. I am therefore just setting it to scheduled over night. Last night Predbat clearly didn't know the car was charging and discharged the battery. There doesn't seem an easy way to switch between IOG controlled charge and manual scheduled charge within Predbat, to ensure the charge is held. Am I missing something, or is the only way to either comment in or out the car charging now setting in apps.yaml? If so, maybe this would be better exposed as a switch in HA |
Have you tried turning switch.predbat_octopus_intelligent_charging to Off to swap between IOG and Predbat-led charging? https://springfall2008.github.io/batpred/car-charging/ You have to tell Predbat one way or the other when you are charging your car, otherwise (depending on where your CT clamps are fitted to your house wiring) the inverter is likely to see this as house load and the battery discharge into your car |
This is the issue, I don't really need an automation as the charge times
are just stored in the charger schedule. I'd rather local control, than
firing the commands through the API. I really need to enable car charging
now, but this brings with it the issue of assuming the slot is a cheap rate
during the first few minutes before Octopus set the IOG charge schedule.and
stop the charge.
The only way I can see is to switch car charging now on/off as needed, but
it's a bit clunky via apps.yaml.
Maybe the easiest way is to set up a template sensor that relies on both
the car charging and a selectable switch to feed a response to predbat
…On Wed, 20 Nov 2024, 10:33 Geoffrey Coan, ***@***.***> wrote:
There doesn't seem an easy way to switch between IOG controlled charge and
manual scheduled charge within Predbat, to ensure the charge is held.
Have you tried turning switch.predbat_octopus_intelligent_charging to Off
to swap between IOG and Predbat-led charging?
https://springfall2008.github.io/batpred/car-charging/
You have to tell Predbat one way or the other when you are charging your
car, otherwise (depending on where your CT clamps are fitted to your house
wiring) the inverter is likely to see this as house load and the battery
discharge into your car
—
Reply to this email directly, view it on GitHub
<#1626 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZQHXHOOIQEN26FGLQWBPP32BRQRPAVCNFSM6AAAAABR3Z4FRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBYGIYDKMRVHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
It's the Renault integration I'm having trouble with as well. The mobilize app seems to keep loosing contact with the octopus app. I normally can't get it to recognise the mobilize app has started a smart charge and the car is plugged in to set the slots. I'm trying to find anyone at Octopus who knows enough to help, I think it's a back end issue between the apps |
That communication seems fine here - it's just that it added some extra slots for some reason and the Octopus API didn't show them (or the Octopus integration didn't pick them up, but I suspect it's the API). I might raise this on the Octopus integration GitHub. |
Does seem a different issue then. I've been given a slot at 19.30, dispatching sensor has triggered, but mobilize app isn't charging the car. |
Yeah, it's opposite to what I have. In my case, the Mobilize app is charging the car, it has just added extra slots to the end (I'm not sure why, as it ended up above the target I had set!) - which the integration isn't picking up. Presumably Octopus did know about them or they wouldn't have been in my completed dispatches. |
Although actually overnight last night I think I may have had the same problem - it had scheduled a charge but didn't charge. I changed my leave by time this morning and it immediately scheduled a slot and started charging. |
Is the dispatching sensor still switched on? I assume Predbat is pulling the times from that as the mobilize app hasn't synced the change properly. If I'm lucky enough for it to work, I find they stop syncing after a few hours. This is my experience at the moment, it just carries on charging but sets no slots 😞 |
Dispatching sensor still shows the slots coming up - I'll find out tomorrow whether it switched itself on during them or not. Did you put your Octopus account number into Mobilize? Looks like they aren't properly linked. |
Weird. What I did notice when I set mine up is that it only works on "phase 2" Zoes from October 2020. I don't know if that's relevant, because, mine's an earlier one and it seems fine! Maybe it's related to the BMS fix, which mine has had, and they are covering themselves as any with the old software won't work? |
Mine was registered Nov 20, but not sure of the build date. It also has the BMS update. Must admit I assumed the phase 2 just meant ze50s. I think I read somewhere it needs the newer navigation screen. I think I've found that I need to re-enter the octopus account every time I use it. That seems to force a sync of the 2 apps, although it didn't stop at the end of a slot earlier. Octopus has taken my data and I'm being told the developers are analysing it, so hopefully improvements will be made that benefit everyone. |
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
The text was updated successfully, but these errors were encountered: