Charge Overrunning

OP - which tariff are you on?
Octopus Go

Charge Shedule:

IMG_3916.PNG
 
If you have a Zappi why don't you switch to Intelligent Octopus Go ?

In the meantime if you only want to charge between 0030 and 0530 (like me on standard Octopus Go) could you not try using the car scheduling instead of Zappi ?

It works fine for me on an old dumb 7kW wall charger point and stops at whatever % I set in the car or app every charge.
 
Last edited by a moderator:
If you have a Zappi why don't you switch to Intelligent Octopus Go ?

In the meantime if you only want to charge between 0030 and 0530 (like me on standard Octopus Go) could you not try using the car scheduling instead of Zappi ?

It works fine for me on an old dumb 7kw wall charger point and stops at whatever % I set in the car or app every charge.
I might move over to I OG at some point.

Honestly, after all the software glitches over the two years of ownership of this car I do not trust the internal scheduling to do what I need it to do.
 
I might move over to I OG at some point.

Honestly, after all the software glitches over the two years of ownership of this car I do not trust the internal scheduling to do what I need it to do.
The software glitches are nothing to do with Octopus Intelligent Go and you are missing out on a minimum of 6 hours of cheaper rate charging.
 
The software glitches are nothing to do with Octopus Intelligent Go and you are missing out on a minimum of 6 hours of cheaper rate charging.

I know. That was my reason for not using the car's own internal scheduling rather than changing my Octopus plan.
 
So it turns out a manual boost was set for 28kW, which may have been why it was overrunning. I just need to run the battery down enough to test it.
 
Yea my nerdy brain went down the rabbit hole now control it all via the home assistant app instead of the iSmart. The target SOC is what I have set to 80 or 100 for full. Really sucks they stopped the SE doing it
Off topic I know, but any tips on getting my mg4 into HA.

I'm really struggling and am very close to giving up :(

I have installed HACS, then the repository added my car / logged in - then nothing nowt :(

Thanks

A
 
I'm really struggling and am very close to giving up
I posted my experience of setting it up, not sure if that will help...


There's a big thread in this very board all about Home Automation. I think it was started by @wattmatters 👍
I didn't start it but posted in those threads to share my experience. It works well.
 
I posted my experience of setting it up, not sure if that will help...



I didn't start it but posted in those threads to share my experience. It works well.
Thanks will have a read. I'm really struggling:(
 
Off topic I know, but any tips on getting my mg4 into HA.

I'm really struggling and am very close to giving up :(

I have installed HACS, then the repository added my car / logged in - then nothing nowt :(

Thanks

A
Feel free to DM me with your current setup.

I got it working decently after a big of poking around.

Make sure you use the right version for your region. As well as make sure you setup with email and password not phone.

You can't use the MG all once it's setup. Once it is setup you'll find the device under your Matt integration.


There is a new. Simpler integration with out mqtt here; I don't use it but it did work fine prior and is being updated.

GitHub - ad-ha/mg-saic-ha: MG SAIC Custom Integration for Home Assistant
 
Last edited:
Feel free to DM me with your current setup.

I got it working decently after a big of poking around.

Make sure you use the right version for your region. As well as make sure you setup with email and password not phone.

You can't use the MG all once it's setup. Once it is setup you'll find the device under your Matt integration.


There is a new. Simpler integration with our mqtt here; I don't use it but it did work fine prior and is being updated.

GitHub - ad-ha/mg-saic-ha: MG SAIC Custom Integration for Home Assistant
Thank you so much.

I will take you up on this I think if that's ok.

Fresh install of HA yesterday, fresh HACS install, used the exact link above and installed via HACS.

Logged in (but used phone number as I don't have an email in ismart) it found my vin, I added it - then nothing but a load of errors.

I've given up this evening but will retry tomorrow. Thanks for your kind offer.

A
 
Thank you so much.

I will take you up on this I think if that's ok.

Fresh install of HA yesterday, fresh HACS install, used the exact link above and installed via HACS.

Logged in (but used phone number as I don't have an email in ismart) it found my vin, I added it - then nothing but a load of errors.

I've given up this evening but will retry tomorrow. Thanks for your kind offer.

A
If you add your email instead of phone (phone isn't supported) it should work.

You can add email via the iSmart app I believe or just unpair the car, delete login and reset up a new one and repair.
 
If you add your email instead of phone (phone isn't supported) it should work.

You can add email via the iSmart app I believe or just unpair the car, delete login and reset up a new one and repair.
Thanks trying it now :)

I've added email in ismart then logged out of there

A
 
Now getting a flow error with both email and phone number hahah, I've gotta laugh before it goes out the window.
A
 

Attachments

  • Screenshot_20241119-213650.png
    Screenshot_20241119-213650.png
    63.8 KB · Views: 17
Now getting a flow error with both email and phone number hahah, I've gotta laugh before it goes out the window.
A
What's your location? If in EU/UK use
SAIC MQTT Gateway (Python) (PreRelease)


I would go suggest into your helpers and entities and clean all the old crap once you've deleted any old ones.

Did you download setup Mqtt etc and make a user I recommend just use SAIC as username and a password. Any user should auto be enrolled into mqtt if enabled
 
Well after a horrible night of getting annoyed i got it working this morning.

Thanks for your help APMG - now I just need to make it look pretty.

Any suggestions on how to make it look nice?

Thanks

Andy
 
Well after a horrible night of getting annoyed i got it working this morning.

Thanks for your help APMG - now I just need to make it look pretty.

Any suggestions on how to make it look nice?

Thanks

Andy

I spent a while messing with this. It has some custom helpers such as converting km to miles etc.

You'll need to download mushroom cards but then can paste in the templates.

You'll need to also put in your vin where noted. (use notepad to replace)

I'll upload when I can
 

Attachments

  • IMG_4515.png
    IMG_4515.png
    596.8 KB · Views: 15
  • IMG_4516.png
    IMG_4516.png
    213.1 KB · Views: 15
Ok, I have sanitised so first thing you'll need to do is find your vin and paste the below configurations into Notepad++ and Find and Replace "REPLACEME" with your VIN.

This is typically the LS** number on your homeassistant.local:8123/config/devices/dashboard?historyBack=1&domain=mqtt next to MG MG4 Electric LS*********

Template Sensor Setup ( homeassistant.local:8123/config/helpers ) Create > Template > Template A Sensor. Do these one by one as noted by the dashes.

Code:
Template > Sensor
Name: MG Mileage (mi)
Template: {{ (states('sensor.REPLACEME_mileage') | float / 1.60934) | round(0) }}
Unit of measurement: Mi
------------------------------
Template > Sensor
Name: MG Range (miles)
Template: {{ (states('sensor.REPLACEME_range') | float / 1.60934) | round(0) }}
Unit of measurement: Mi
--------------------------------
Template > Sensor
Name: EV mileage since last charge (mi)
Template: {{ (states('sensor.REPLACEME_mileage_since_last_charge') | float / 1.60934) | round(0) }}
--------------------------------
Template > Sensor
Name: MG4 seconds since update
Template: {% set n = now() %}
          {% set t = states('sensor.REPLACEME_last_charge_state') | as_datetime | as_local %}
          {{ (n-t).seconds }}
Unit of measurement: seconds


Counters / Utility Meters:
Code:
Counter:
Name: ev_days_since_100_soc
---------------
Utility Meter:
Name: ev_mileage_daily
Input sensor: sensor.mg_mileage_mi
----------------
Utility Meter:
Name: ev_mileage_monthly
Input sensor: sensor.ev_mileage_daily

Automations required
Code:
alias: EV - Reset Days Since 100% SOC
description: Reset Counter for number of days since the car was fully charged.
triggers:
  - entity_id:
      - sensor.REPLACEME_soc
    above: 99
    trigger: numeric_state
conditions: []
actions:
  - data: {}
    action: counter.reset
    target:
      entity_id: counter.ev_days_since_100_soc
mode: single

Code:
alias: EV - Increment Counter Days Since EV 100% SOC
description: Increment the days since EV 100% SOC cycle counter each day
triggers:
  - at: "00:00:00"
    trigger: time
conditions: []
actions:
  - data: {}
    target:
      entity_id:
        - counter.ev_days_since_100_soc
    action: counter.increment
mode: single
Optional to force check-in when charging, requires a sensor to tell its plugged in)
Code:
alias: EV - When charging force check-in
description: ""
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.mg4_seconds_since_update
    above: 300
    for:
      hours: 0
      minutes: 1
      seconds: 0
conditions:
  - condition: state
    entity_id: select.REPLACEME_gateway_refresh_mode
    state: periodic
  - condition: numeric_state
    entity_id: sensor.REPLACEWITHYOUREVCHARGER (IF LINKED TO HA)
    above: 300
actions:
  - action: select.select_option
    metadata: {}
    data:
      option: force
    target:
      entity_id: select.REPLACEME_gateway_refresh_mode
  - delay:
      hours: 0
      minutes: 2
      seconds: 0
      milliseconds: 0
mode: single
 

Are you enjoying your MG4?

  • Yes

    Votes: 908 77.7%
  • I'm in the middle

    Votes: 171 14.6%
  • No

    Votes: 90 7.7%
Support us by becoming a Premium Member

Latest MG EVs video

MG Hybrid+ EVs OVER-REVVING & more owner feedback
Subscribe to our YouTube channel
Back
Top Bottom