VWsFriend icon indicating copy to clipboard operation
VWsFriend copied to clipboard

MQTT drops parking position

Open mattsve opened this issue 1 year ago • 6 comments

After a while MQTT often drops parking/parkingPosition/longitude and parking/parkingPosition/latitude after a while (today after 15 hours) making home assistant marking the car not having a position . VWs app and vwsfriend shows the car as parked and weconnect/rawjson has parking.parkingPosition set.

Ideas why? What can I do to help with troubleshooting?

mattsve avatar Nov 01 '23 10:11 mattsve

Hmm, I will try to reproduce that. So far I have not experienced that.

tillsteinbach avatar Nov 05 '23 09:11 tillsteinbach

I don't know if this is related, but most trips are not registered in the database when running in MQTT mode. The PK (id) is incremented the (seemingly) correct number of times, but only some random trips are actually stored in the database.

HenrikPPersson avatar Feb 04 '24 14:02 HenrikPPersson

I have the same issue. How can I help to debug this?

Should I disable mqtt within vwsfriend and just run vwsfriend-mqtt to see if it appears there as well?

milvert avatar Feb 10 '24 21:02 milvert

That would be interesting, yes

tillsteinbach avatar Feb 10 '24 21:02 tillsteinbach

On my installation parking position is only updated when restarting the docker containers

wormiedk avatar Feb 25 '24 20:02 wormiedk

I have been running a separate Dockercontainer for some time now but the only error is this:

2024-02-26T18:06:59+0100:INFO:weconnect_mqtt_base:Update data from WeConnect
2024-02-26T18:07:02+0100:WARNING:timer:/vehicles/my_vw/domains/automation/climatisationTimer/timers/1/recurringTimer: Unknown attribute targetTime with value 06:40
2024-02-26T18:07:02+0100:WARNING:timer:/vehicles/my_vw/domains/automation/climatisationTimer/timers/1/recurringTimer: Unknown attribute repetitionDays with value ['wednesday']
2024-02-26T18:07:02+0100:WARNING:timer:/vehicles/my_vw/domains/automation/climatisationTimer/timers/2/recurringTimer: Unknown attribute targetTime with value 14:00
2024-02-26T18:07:02+0100:WARNING:timer:/vehicles/my_vw/domains/automation/climatisationTimer/timers/2/recurringTimer: Unknown attribute repetitionDays with value ['tuesday']
2024-02-26T18:07:02+0100:WARNING:generic_status:/vehicles/my_vw/domains/automation/chargingProfiles: Unknown attribute nextChargingTimer with value {'id': 0, 'targetSOCreachable': 'invalid'}
2024-02-26T18:07:02+0100:WARNING:generic_status:/vehicles/my_vw/domains/chargingProfiles/chargingProfilesStatus: Unknown attribute nextChargingTimer with value {'id': 0, 'targetSOCreachable': 'invalid'}
2024-02-26T18:07:02+0100:WARNING:timer:/vehicles/my_vw/domains/climatisationTimers/climatisationTimersStatus/timers/1/recurringTimer: Unknown attribute targetTime with value 06:40
2024-02-26T18:07:02+0100:WARNING:timer:/vehicles/my_vw/domains/climatisationTimers/climatisationTimersStatus/timers/1/recurringTimer: Unknown attribute repetitionDays with value ['wednesday']
2024-02-26T18:07:02+0100:WARNING:timer:/vehicles/my_vw/domains/climatisationTimers/climatisationTimersStatus/timers/2/recurringTimer: Unknown attribute targetTime with value 14:00
2024-02-26T18:07:02+0100:WARNING:timer:/vehicles/my_vw/domains/climatisationTimers/climatisationTimersStatus/timers/2/recurringTimer: Unknown attribute repetitionDays with value ['tuesday']

but since a couple of days the WeConnect shows Parking position (From 2024-02-21T19:41:16+00:00)

so it seems something is wierd with parking.

After a restart of the DockerContainer the parking position works again.

@tillsteinbach Whats the easiest way to debug the API from vw to see what I recieves?

milvert avatar Feb 26 '24 17:02 milvert