Home Assistant MG4

jiiikoo

Standard Member
Joined
Nov 12, 2023
Messages
36
Reaction score
47
Points
15
Location
Finland
Driving
MG4
Hey

So I got HA running and connected to my MG4, still learning most of the things but one thing I definitely wanted to have was graphing charging the battery in Grafana. I believe the sensor called "power" is what shows the speed of the charging but I noticed that it also then shows discharging as well, ie. when you drive and the battery charge goes lower.

Am I missing a sensor or is there not a dedicated sensor for the charging speed?
 
I'll tag @wattmatters for feedback, as I'm pretty sure he does a lot of HA with his MG4. :)
Oh amazing! I don't mind having to use the _power sensor per se, just find it strange that there's no other sensor on there that's just dedicated to actual charging. Or at least I'm not seeing one xD

I have loads of questions for @wattmatters lined up :D
 
I’m using HA in a Docker container and saicismartapi/saic-python-mqtt-gateway:latest with Mosquitto.
I'm using the ad-ha/mg-saic-ha: MG SAIC Custom Integration for Home Assistant. There are pros and cons to the two integrations but I'm surprised the one you are using doesn't have the charging_power sensor. Perhaps ask on the github page for that integration.
 
I'm using the ad-ha/mg-saic-ha: MG SAIC Custom Integration for Home Assistant. There are pros and cons to the two integrations but I'm surprised the one you are using doesn't have the charging_power sensor. Perhaps ask on the github page for that integration.
This integration also has an instant_power sensor which shows the power to the motor or negative regeneration. I don't use it for anything as it is the value at a moment in time which isn't of much interest. Perhaps the other integration combined the two sensors into one, although I don't really see the purpose in that.
 
I'm using:

There is no sensor just for charging power - the car reports the power flowing to/from the battery.

You could create a custom sensor which filters only for positive power and only when the car is at home.

I measure power and energy for the AC circuit supplying power to the EVSE I use to charge the car. That's from a different device/integration (Iotawatt).

I'm more interested in the power I have to actually supply to the car than in what the battery itself is consuming. Mine charges from excess solar PV.

Screen Shot 2025-11-23 at 12.06.03 pm.webp
 

Are you enjoying your MG4?

  • Yes

    Votes: 1,047 77.8%
  • I'm in the middle

    Votes: 203 15.1%
  • No

    Votes: 96 7.1%
Support us by becoming a Premium Member

Latest MG EVs video

MG IM5 and IM6 Questions & Answers
Subscribe to our YouTube channel
Back
Top Bottom