tillsteinbach / WeConnect-python

Python API for the Volkswagen WeConnect Services
MIT License
111 stars 30 forks source link

Add unknown attributes reported from ID.7 #190

Closed Lake292 closed 3 months ago

Lake292 commented 4 months ago

There were 2 unknown attributes reported when integrated with ID.7:

[weconnect] /vehicles/WVWZZZED5RE..../domains/charging/batteryStatus: Unknown attribute navigationTargetSOC_pct with value 0
[weconnect] /vehicles/WVWZZZED5RE...: Unknown attribute temperatureOutsideStatus with value {'value': {'carCapturedTimestamp': '2024-05-24T13:42:02.711Z', 'temperatureOutside_K': '293.15'}} in domain measurements

Added them, now they are reporting correct values:

[charging] Elements: 6 items
        [batteryStatus] (last captured 2024-05-24T13:42:08+00:00)
                Current SoC: 60%
                Navigation Target SoC: 0%
                Range: 347km
[measurements] Elements: 5 items
        [temperatureOutsideStatus] (last captured 2024-05-24T13:42:02+00:00)
                Outside temperature 20.0°C
Lake292 commented 4 months ago

@tillsteinbach please take a look when you get a chance, thanks for this repo!