mitch-dc / volkswagen_we_connect_id

Apache License 2.0
204 stars 53 forks source link

unknown attributes temperatureBatteryStatus and fuelLevelStatus #219

Open gluca opened 1 year ago

gluca commented 1 year ago

Version of the custom_component

0.1.9

Installation method (hacs / manual)

hacs

Installation method of hass (venv, docker, hassio,...)

docker

Configuration


Add your configuration here.

## Describe the bug

I'm having this log warning on some "unknown" attributes from my ID.4 using this integration (i've only erased my Id.4 Serial number but those are the logs entries tht are present in my hs log).
My id.4 has firmware 3.2. It seems api returns some other attributes the integration is not prepared to handle.
Logs entries repeat each 50 seconds (roughly)

## Debug log

2023-11-01 08:38:59.596 WARNING (SyncWorker_27) [weconnect] /vehicles/WVGZZZXXXXXXXXXXXX: Unknown attribute temperatureBatteryStatus with value {'value': {'carCapturedTimestamp': '2023-11-01T05:47:52.719Z', 'temperatureHvBatteryMin_K': '296.15', 'temperatureHvBatteryMax_K': '298.15'}} in domain measurements
2023-11-01 08:38:59.597 WARNING (SyncWorker_27) [weconnect] /vehicles/WVGZZZXXXXXXXXXXXX: Unknown attribute fuelLevelStatus with value {'value': {'carCapturedTimestamp': '0001-01-01T00:00:00Z', 'primaryEngineType': 'electric', 'carType': 'electric'}} in domain measurements
monsivar commented 1 year ago

Same problem for me. Started 1.11..2023

ckarrie commented 1 year ago

Can confirm this

2023-11-02 18:07:46.775 WARNING (SyncWorker_5) [weconnect] /vehicles/WVGZZZXXXXXXXXXXXX/domains/measurements/rangeStatus: Unknown attribute totalRange_km with value 172
2023-11-02 18:07:46.775 WARNING (SyncWorker_5) [weconnect] /vehicles/WVGZZZXXXXXXXXXXXX: Unknown attribute temperatureBatteryStatus with value {'value': {'carCapturedTimestamp': '2023-11-02T16:20:44.067Z', 'temperatureHvBatteryMin_K': '284.65', 'temperatureHvBatteryMax_K': '285.65'}} in domain measurements
2023-11-02 18:07:46.775 WARNING (SyncWorker_5) [weconnect] /vehicles/WVGZZZXXXXXXXXXXXX: Unknown attribute fuelLevelStatus with value {'value': {'carCapturedTimestamp': '2023-11-02T16:20:50.564Z', 'currentSOC_pct': 52, 'primaryEngineType': 'electric', 'carType': 'electric'}} in domain measurements
ColinRobbins commented 1 year ago

Same here. ID3, running firmware 3.2

malakudi commented 1 year ago

Same for me, ID.3 with 3.2 The battery temperature is nice to have, I think we should report this to weconnect library.

malakudi commented 1 year ago

Feature has been added to weconnect library since last week https://github.com/tillsteinbach/WeConnect-python/commit/57e445690ae796ab64ca3038d00d87e7057c5bb6

Integration needs to use newer library version

jonasbkarlsson commented 1 year ago

Yes, an update to a later version of the weconnect library, and additions of HV battery temperature sensors would be great!

jonasbkarlsson commented 1 year ago

I made a PR #224 for this.