Skip to content
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

[ISSUE] MG4 not Heat climate #80

Open
2 of 4 tasks
foncubierta opened this issue Dec 29, 2024 · 8 comments
Open
2 of 4 tasks

[ISSUE] MG4 not Heat climate #80

foncubierta opened this issue Dec 29, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@foncubierta
Copy link

foncubierta commented Dec 29, 2024

Home Assistant Version

2024.9.2

MG/SAIC Integration Version

0.8.2

Installation Method

HACS

Did you check for existing issues?

  • Yes, I have checked for existing issues
  • No, I have not checked for existing issues

Did you enable debug logging before and are ready to post logs?

  • Yes, I have enabled debug logging
  • No, I have not enabled debug logging

Describe the Issue

Buenas tardes, principalmente agradecer la integracion ya que es perfecta proporcionando los datos del vehiculo.

Simplemente comentar que en mi MG 4 no consigo activar la calefaccion para calentar, es decir por mucho que suba la temperatura siempre sigue en modo "frio".

Tambien probe a activar el "ventilador" pero siempre termina en modo "frio"

English:
Good afternoon, I would like to thank you for the integration, which is perfect for providing the vehicle data.

I would just like to say that in my MG 4 I cannot activate the heating to warm up, that is, no matter how much I raise the temperature, it always remains in "cold" mode.

I also tried to activate the "fan" but it always ends up in "cold" mode.

Logs

2024-12-29 19:33:21.063 DEBUG (MainThread) [custom_components.mg_saic] No changes detected in monitored keys or charging status.
2024-12-29 19:33:21.064 DEBUG (MainThread) [custom_components.mg_saic] Evaluating interval adjustment: Powered On: False, Charging: False, Idle Duration: 1 day, 0:00:37.260752, Activity Duration: 0:00:08.671125
2024-12-29 19:33:21.064 DEBUG (MainThread) [custom_components.mg_saic] Within grace period. Using grace period interval.
2024-12-29 19:33:21.064 DEBUG (MainThread) [custom_components.mg_saic] Adjusted update interval: 0:10:00.
2024-12-29 19:33:21.064 DEBUG (MainThread) [custom_components.mg_saic] Next update scheduled in 0:10:00.
2024-12-29 19:33:21.064 DEBUG (MainThread) [custom_components.mg_saic] Vehicle Type: BEV
2024-12-29 19:33:21.064 DEBUG (MainThread) [custom_components.mg_saic] Vehicle Info: [VinInfo(bindTime=16711XXXXXXX, brandName='MG', colorName='BLACK PEARL', isActivate=False, isCurrentVehicle=True, isSubaccount=False, modelName='EH32 X1', modelYear='2022', name=None, series='EH32 L', vin='LSJWH4XXXXXXXXX', subAccountList=[], vehicleModelConfiguration=[VehicleModelConfiguration(itemCode='J17', itemName='Tire', itemValue='1'), VehicleModelConfiguration(itemCode='Q00', itemName='Airbag', itemValue='1'), VehicleModelConfiguration(itemCode='Q01', itemName='FAirbag', itemValue='1'), VehicleModelConfiguration(itemCode='Q09', itemName='AirbagS', itemValue='1'), VehicleModelConfiguration(itemCode='S35', itemName='Sunroof', itemValue='0'), VehicleModelConfiguration(itemCode='S61', itemName='Remote control', itemValue='1'), VehicleModelConfiguration(itemCode='T11', itemName='AC', itemValue='1'), VehicleModelConfiguration(itemCode='EPS', itemName='EPS', itemValue='1'), VehicleModelConfiguration(itemCode='SA64', itemName='SA64', itemValue='0111110000000000001000000100101000000010100000000000000000000110'), VehicleModelConfiguration(itemCode='BONNUT', itemName='BONNUT', itemValue='1'), VehicleModelConfiguration(itemCode='DOOR', itemName='DOOR', itemValue='1111'), VehicleModelConfiguration(itemCode='BOOT', itemName='BOOT', itemValue='1'), VehicleModelConfiguration(itemCode='ENGINE', itemName='ENGINE', itemValue='1'), VehicleModelConfiguration(itemCode='EV', itemName='EV', itemValue='0'), VehicleModelConfiguration(itemCode='HeatedSeat', itemName='HeatedSeat', itemValue='0'), VehicleModelConfiguration(itemCode='KEYPOS', itemName='KEYPOS', itemValue='0'), VehicleModelConfiguration(itemCode='ENERGY', itemName='ENERGY', itemValue='1'), VehicleModelConfiguration(itemCode='BATTERY', itemName='BATTERY', itemValue='1'), VehicleModelConfiguration(itemCode='INTEMP', itemName='INTEMP', itemValue='1'), VehicleModelConfiguration(itemCode='EXTEMP', itemName='EXTEMP', itemValue='1'), VehicleModelConfiguration(itemCode='WINDOW', itemName='WINDOW', itemValue='0000'), VehicleModelConfiguration(itemCode='LRD', itemName='LRD', itemValue='0'), VehicleModelConfiguration(itemCode='BTKEY', itemName='BTKEY', itemValue='1'), VehicleModelConfiguration(itemCode='BType', itemName='Battery', itemValue='2'), VehicleModelConfiguration(itemCode='SBH', itemName='SBH', itemValue='1'), VehicleModelConfiguration(itemCode='BHI', itemName='BHI', itemValue='1'), VehicleModelConfiguration(itemCode='ROV', itemName='ROV', itemValue='25857')])]
2024-12-29 19:33:21.064 DEBUG (MainThread) [custom_components.mg_saic] Vehicle Status: VehicleStatusResp(basicVehicleStatus=BasicVehicleStatus(batteryVoltage=124, bonnetStatus=0, bootStatus=0, canBusActive=1, clstrDspdFuelLvlSgmt=0, currentJourneyId=6046, currentJourneyDistance=10, dippedBeamStatus=0, driverDoor=0, driverWindow=0, engineStatus=0, extendedData1=33, extendedData2=0, exteriorTemperature=13, frontLeftSeatHeatLevel=0, frontLeftTyrePressure=61, frontRightSeatHeatLevel=0, frontRightTyrePressure=61, fuelLevelPrc=0, fuelRange=970, fuelRangeElec=970, handBrake=0, interiorTemperature=10, lastKeySeen=0, lockStatus=1, mainBeamStatus=0, mileage=676060, passengerDoor=0, passengerWindow=1, powerMode=0, rearLeftDoor=0, rearLeftTyrePressure=61, rearLeftWindow=1, rearRightDoor=0, rearRightTyrePressure=61, rearRightWindow=1, remoteClimateStatus=0, rmtHtdRrWndSt=0, sideLightStatus=0, steeringHeatLevel=0, steeringWheelHeatFailureReason=0, sunroofStatus=0, timeOfLastCANBUSActivity=None, vehElecRngDsp=0, vehicleAlarmStatus=2, wheelTyreMonitorStatus=0), extendedVehicleStatus=ExtendedVehicleStatus(alertDataSum=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), gpsPosition=GpsPosition(gpsStatus=2, timeStamp=1735497194, wayPoint=GpsPosition.WayPoint(hdop=7, heading=0, position=GpsPosition.WayPoint.Position(altitude=37, latitude=36640781, longitude=-6240786), satellites=9, speed=0)), statusTime=1735497195)
2024-12-29 19:33:21.064 DEBUG (MainThread) [custom_components.mg_saic] Vehicle Charging Data: ChrgMgmtDataResp(chrgMgmtData=ChrgMgmtData(bmsAdpPubChrgSttnDspCmd=0, bmsAltngChrgCrntDspCmd=4, bmsChrgCtrlDspCmd=2, bmsChrgOtptCrntReq=0, bmsChrgOtptCrntReqV=0, bmsChrgSpRsn=0, bmsChrgSts=0, bmsDsChrgSpRsn=0, bmsEstdElecRng=312, bmsOnBdChrgTrgtSOCDspCmd=7, bmsPackCrnt=20000, bmsPackCrntV=0, bmsPackSOCDsp=326, bmsPackVol=1364, bmsPTCHeatReqDspCmd=2, bmsPTCHeatResp=0, bmsPTCHeatSpRsn=None, bmsReserCtrlDspCmd=1, bmsReserSpHourDspCmd=7, bmsReserSpMintueDspCmd=0, bmsReserStHourDspCmd=22, bmsReserStMintueDspCmd=0, ccuEleccLckCtrlDspCmd=2, ccuOffBdChrgrPlugOn=0, ccuOnbdChrgrPlugOn=0, chrgngAddedElecRng=0, chrgngAddedElecRngV=0, chrgngDoorOpenCnd=0, chrgngDoorPosSts=0, chrgngRmnngTime=1023, chrgngRmnngTimeV=1, chrgngSpdngTime=0, chrgngSpdngTimeV=0, clstrElecRngToEPT=97, disChrgngRmnngTime=1023, disChrgngRmnngTimeV=1, imcuChrgngEstdElecRng=316, imcuChrgngEstdElecRngV=0, imcuDschrgngEstdElecRng=89, imcuDschrgngEstdElecRngV=0, imcuVehElecRng=97, imcuVehElecRngV=0, onBdChrgrAltrCrntInptCrnt=0, onBdChrgrAltrCrntInptVol=0), rvsChargeStatus=RvsChargeStatus(chargingDuration=0, chargingElectricityPhase=None, chargingGunState=0, chargingPileID=None, chargingPileSupplier=None, chargingType=1, endTime=1735365632, extendedData1=None, extendedData2=None, extendedData3=None, extendedData4=None, fotaLowestVoltage=None, fuelRangeElec=970, lastChargeEndingPower=394, mileage=676060, mileageOfDay=20, mileageSinceLastCharge=510, powerUsageOfDay=19, powerUsageSinceLastCharge=157, realtimePower=236, startTime=1735347022, staticEnergyConsumption=None, totalBatteryCapacity=725, workingCurrent=20000, workingVoltage=1364))
2024-12-29 19:33:21.065 DEBUG (MainThread) [custom_components.mg_saic] State updated: Is Powered On: False, Is Charging: False, Last Powered On Time: 2024-12-28 18:32:43.803972+00:00, Last Powered Off Time: 2024-12-28 18:32:43.803970+00:00, Last Vehicle Activity: 2024-12-29 18:33:12.393597+00:00, Update Interval: 0:10:00
2024-12-29 19:33:21.065 DEBUG (MainThread) [custom_components.mg_saic] Finished fetching MG SAIC data update coordinator data in 6.741 seconds (success: True)
2024-12-29 19:33:21.065 DEBUG (MainThread) [custom_components.mg_saic] Next update scheduled in 0:10:00.
2024-12-29 19:33:21.066 INFO (MainThread) [custom_components.mg_saic] Services registered for MG SAIC integration.
2024-12-29 19:33:21.066 INFO (MainThread) [custom_components.mg_saic] MG SAIC integration setup completed successfully.

Additional Context

No response

@foncubierta foncubierta added the bug Something isn't working label Dec 29, 2024
@foncubierta foncubierta changed the title [ISSUE] [ISSUE] MG4 not Heat climate Dec 29, 2024
@ad-ha
Copy link
Owner

ad-ha commented Dec 29, 2024

Buenas @foncubierta

Gracias. A ver si a la vuelta de Reyes lo puedo mirar y solucionar. Creo que hay algo específico de cada modelo que tengo que mirar, por el rango de temperaturas y funcionamiento.

EN
I will have a look after new year. There's something specific about each model, regarding temp ranges and API call.

Cheers

@ad-ha ad-ha self-assigned this Dec 29, 2024
@jgayobla
Copy link

jgayobla commented Jan 1, 2025

Buenas. Con el MG ZS EV ocurre lo mismo. Al activar la climatización se pone en frio (AC) a 14 grados y no deja su variación.
EN
Hello. The same thing happens with the MG ZS EV. When you activate the air conditioning, it goes to cold (AC) at 14 degrees and does not allow its variation.

@ad-ha
Copy link
Owner

ad-ha commented Jan 1, 2025

Con el MG ZS EV ocurre lo mismo. Al activar la climatización se pone en frio (AC) a 14 grados y no deja su variación.

En cuanto pueda lo miro. A ver si doy con una solución al tema.

@eximo84
Copy link

eximo84 commented Jan 4, 2025

Same for me in the UK. Blower turns on but heat is not applied. To be honest does the same in the not so iSMART app too.

I'm sure months ago I had a defrost button but that disappeared with an update which is annoying when it's now frosty outside.

@ad-ha
Copy link
Owner

ad-ha commented Jan 6, 2025

Hi everyone,

In all honesty, I am having a hard time getting this sorted. Been trying some testing and end-up on the same issue. The iSmart App shows as ok and the temperature correctly set (on my vehicle), but also in cool mode when getting the check from the API.

If starting the conditioning from iSmart I get a status 2, but when doing the same from the Integration I get a status code 3 (AC cool mode). I may need some more days to get this fixed. I will try to get it managed for next release.

@simonsupakru
Copy link

simonsupakru commented Jan 23, 2025

Hi,

Same issue on my MG4. But I was wondering... when I turn on the front defrost in HA, it turns on the front defrost button in the car AND the AC button. And it's heating up!

Don't really know what I'm talking about but, is there anything you can analyse in the front defrost automation in order to understand where the problem comes from ? I remember you wrote somewhere that the front defrost is set on 22° or 21°.

If you can't find the way to solve the heating problem with the AC automation, maybe could you use the front defrost automation with the possibility to set up the temperature ? (even for me 22° is fine).

@ad-ha
Copy link
Owner

ad-ha commented Jan 23, 2025

Hi @simonsupakru

The call on the API for the Climate and the Front Defrost is separate and not correlated. So I cannot use one to get to the other.

I believe I am close to the solution. Next week I shall get this sorted.

Cheers

@eximo84
Copy link

eximo84 commented Jan 23, 2025

So over the last couple of weeks its been frozen/cold. As a test i tried some different things

  1. only enable Front Defrost (this option isnt available in the MG app) = Lights turn on, Front Defrost on, Heating blowing but unknown temp however warm. Front screen is defrosted. Noticed however the switch in Home Assistant isnt instant, i guess it waits back for a response from the API.
  2. only enable the Rear Defrost (this option isnt available in the MG app) = Same as above
  3. Enable both Front/Rear Defrost (this option isnt available in the MG app) = I get a timeout occasionally, maybe trying to send too many requests at the same time. But eventually both front and rear enable and car is defrosted and warm.
  4. Climate, set to 30 (max) and blowing (NO AC) = lights turn on, no defrost is done and cold air blowing only.

There is a setting in the MG4 to enable rear defrost when front defrost is enabled but from my testing it doesnt seem to work when triggered remotely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants