evcc
evcc copied to clipboard
Inconsistency between Vehicle config UI and MQTT interface
Describe the bug
UI shows correctly Odometer, SOC, Range, MQTT only provides Odometer, SOC and Range are showed as 0
Steps to reproduce
- Configure Vehicle in UI 2.Hit the check buttone 3.UI shows correctly Odometer, SOC and Range
- Check the MQTT API
- Range and SOC shows 0 ...
Configuration details
[main ] INFO 2026/05/22 21:07:33 using config file: /etc/evcc.yaml
[main ] INFO 2026/05/22 21:07:33 using sqlite database: /.evcc/evcc.db?_pragma=foreign_keys(1)&_pragma=auto_vacuum(INCREMENTAL)
charger
---
db:6 {Type:template Title: Icon: Product:go-e Charger V3} map[host:fix-go-echarger.fritz.box template:go-e-v3]
meter
---
db:8 {Type:template Title: Icon: Product:E3/DC} map[externalpower:true host:192.168.0.80 key:***** maxacpower:0 password:***** port:5033 template:e3dc-rscp usage:grid user:*****]
db:9 {Type:template Title:Wechselrichter Icon: Product:E3/DC} map[externalpower:true host:192.168.0.80 key:***** maxacpower:10000 password:***** port:5033 template:e3dc-rscp usage:pv user:*****]
db:10 {Type:template Title:Hausbatterie Icon: Product:E3/DC} map[capacity:8.25 externalpower:true host:192.168.0.80 key:***** maxacpower:0 password:***** port:5033 template:e3dc-rscp usage:battery user:*****]
vehicle
---
db:4 {Type:template Title: Icon: Product:Hyundai Bluelink} map[cache:6e+11 capacity:49 icon:car language:en maxCurrent:16 mode:pv password:***** priority:0 template:hyundai title:Inster user:***** vin:*****]
tariff
---
db:11 {Type:template Title: Icon: Product:Fester Preis} map[price:0.37 template:fixed]
db:12 {Type:template Title: Icon: Product:Fester Preis} map[price:0.07 template:fixed]
loadpoint
---
db:7 {Type: Title: Icon: Product:} map[charger:db:6 circuit: defaultMode:pv meter: mode:pv phasesConfigured:0 planStrategy:map[continuous:false precondition:0] soc:map[estimate:true poll:map[interval:3.6e+12 mode:charging]] thresholds:map[disable:map[delay:1.8e+11 threshold:0] enable:map[delay:6e+10 threshold:0]] title:go-e vehicle:db:4]
Log details
[hyundai] TRACE 2026/05/22 21:10:22 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{"lat":48.998014,"lon":8.464253,"alt":0,"type":0},"head":317,"speed":{"value":0,"unit":0},"accuracy":{"hdop":0,"pdop":1},"time":"20260522134814"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":53,"batteryPlugin":0,"remainTime2":{"etc1":{"value":31,"unit":1},"etc2":{"value":330,"unit":1},"etc3":{"value":75,"unit":1},"atc":{"value":75,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":212,"unit":1},"totalAvailableRange":{"value":212,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":9,"time":{"time":"1959","timeSection":1}},"end":{"day":9,"time":{"time":"1959","timeSection":1}}},"targetSOClist":[{"targetSOClevel":90,"dte":{"rangeByFuel":{"evModeRange":{"value":212,"unit":1},"totalAvailableRange":{"value":212,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":80,"dte":{"rangeByFuel":{"evModeRange":{"value":212,"unit":1},"totalAvailableRange":{"value":212,"unit":1}},"type":2},"plugType":1}]},"v2L":false,"v2LRemainTime":0},"ign3":false,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0,"tirePressureLampFL":0,"tirePressureLampFR":0,"tirePressureLampRL":0,"tirePressureLampRR":0},"seatHeaterVentState":{"frSeatHeatState":2,"flSeatHeatState":2,"rlSeatHeatState":2,"rrSeatHeatState":2},"battery":{"batSoc":0,"batState":1,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false,"leftBifuncLamp":false,"rightBifuncLamp":false},"turnSignalLamp":{"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"windowOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"smartKeyBatteryWarning":false,"fuelLevel":0,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20260522201022","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"06:25:19"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":8278.5,"unit":1}}},"msgId":"e1c03960-5611-11f1-871f-319c42202d95"}
What type of operating system or environment does evcc run on?
Docker container
External automation
- [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.
Nightly build
- [x] I have verified that the issue is reproducible with the latest nightly build
Version
evcc version 0.307.0
"whether the reporter sees SOC/range arrive once the car is connected to the loadpoint" - I can confirm that SoC and Ranges gets populated as soon the car is attached to the wallbox/loadpoint.
UI shows correctly Odometer, SOC, Range, MQTT only provides Odometer, SOC and Range are showed as 0
This is expected. They are just separate things.