flobz / psa_car_controller

Control psa car with connected_car v4 API.
GNU General Public License v3.0
434 stars 229 forks source link

Vehicle Position Data Not Updating in Home Assistant Integration #956

Open jmttramos opened 2 months ago

jmttramos commented 2 months ago

Describe the bug The integration with Home Assistant stopped updating the vehicle's position. Other features (e.g., preconditioning) are still working correctly. Accessing the endpoint http://127.0.0.1/get_vehicleinfo/[VIN Number] shows the last position date as 31/08/2024, even though the preconditioning date updates correctly to the current date.

To Reproduce

  1. Set up the integration with Home Assistant.
  2. Check the vehicle position data.
  3. Observe that the position's updated_at date does not reflect the current date.

Expected behavior The vehicle's position should update with the current date and time.

Vehicle Info

Additional context

R-dehaan commented 1 month ago

Did you use eevee in the past to get it working?

975 I have the same behaviour

jmttramos commented 1 month ago

Yes, I did use Eevee in the past, and it worked very well. However, since they switched to a subscription model, it hasn’t worked as smoothly as before. Now, I only receive updates in my Home Assistant map intermittently.

R-dehaan commented 1 month ago

Yes so that confirms my suspicion that after a while stellantis stops sending detailed data via the API.

Don't know why 3rd party applications enable to stellantis to sent these responses back. @flobz is there any change we can have similar responses back, without paying for e.g Eevee?

jmttramos commented 1 month ago

It’s likely they had to cover costs for accessing vehicle position data from Stellantis, which could have contributed to their shift to a subscription model. This aligns with their announcement, where they cite increased licensing fees and a growing user base as factors behind the change. Their full statement is here. Just a thought!