flobz / psa_car_controller

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

Urgent help - please! #714

Closed wifispray closed 6 months ago

wifispray commented 7 months ago

Hi All

thanks for reading. My car has been stolen, worse scenario. But I can see in my paw dashboard that the last trip was 1km. But the info doesn’t show in the map or can I find any GpS… is there anything I can find from my PSA TO HA integration. Time is of the essence on this one.

Please can someone help

wifispray commented 7 months ago

@flobz if you get this.

sod75 commented 7 months ago

I have the standalone docker install, not via addon, but it should be similar.

you can put this in your browser window http://192.168.0.91:5000/get_vehicleinfo/YOURVIN obviously with the right IP and VIN and the gps position would be listed in there like below

last_position   
  type  "Feature"
  geometry  
    coordinates 
     0  5.3326
     1  43.75192
     2  104
     type   "Point"
wifispray commented 7 months ago

Amazing. Should this work via the casa login? Currently out with no local access? It’s https not http

wifispray commented 7 months ago

I cant seem to access via the HA IP address with get_vehicleinfo + VIN... is there another way?

wifispray commented 7 months ago

Mine says this does it mean its not supported!?

"last_position": {"type": "Feature", "geometry": {"coordinates": [null, null, null], "type": "Point"},

flobz commented 7 months ago

@wifispray contact Peugeot assistance they might help you.

wifispray commented 7 months ago

No luck this time of year. You guys were my last hope. Thanks for replying.

On Sat, 23 Dec 2023 at 16:58, Florian BEZANNIER @.***> wrote:

@wifispray https://github.com/wifispray contact Peugeot they might help you.

— Reply to this email directly, view it on GitHub https://github.com/flobz/psa_car_controller/issues/714#issuecomment-1868331145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGW4MA7BI6JQ732DIFQSO3DYK4ET5AVCNFSM6AAAAABBAXSCT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGMZTCMJUGU . You are receiving this because you were mentioned.Message ID: @.***>

wifispray commented 7 months ago

Also it’s a Corsa E

On Sun, 24 Dec 2023 at 11:04, Wifi Guy @.***> wrote:

No luck this time of year. You guys were my last hope. Thanks for replying.

On Sat, 23 Dec 2023 at 16:58, Florian BEZANNIER @.***> wrote:

@wifispray https://github.com/wifispray contact Peugeot they might help you.

— Reply to this email directly, view it on GitHub https://github.com/flobz/psa_car_controller/issues/714#issuecomment-1868331145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGW4MA7BI6JQ732DIFQSO3DYK4ET5AVCNFSM6AAAAABBAXSCT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGMZTCMJUGU . You are receiving this because you were mentioned.Message ID: @.***>

larskarla commented 7 months ago

I think it is depending on trim level of the car. get_vehicleinfo gives me {"coordinates": [null, null, null] because my car (Corsa-e) does not have GPS. The only thing you can do is to start preconditioning until the battery drops down to 50%...

wifispray commented 7 months ago

Mine is also a Corsa E. assume it’s the same for all

On Mon, 25 Dec 2023 at 10:31, larskarla @.***> wrote:

I think it is depending on trim level of the car. get_vehicleinfo gives me {"coordinates": [null, null, null] because my car (Corsa-e) does not have GPS. The only thing you can do is to start preconditioning until the battery drops down to 50%...

— Reply to this email directly, view it on GitHub https://github.com/flobz/psa_car_controller/issues/714#issuecomment-1868916200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGW4MA5AZTIVU5C7LZH3MHLYLFIW7AVCNFSM6AAAAABBAXSCT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYHEYTMMRQGA . You are receiving this because you were mentioned.Message ID: @.***>

nosuchuser commented 7 months ago

Hi All

thanks for reading. My car has been stolen, worse scenario. But I can see in my paw dashboard that the last trip was 1km. But the info doesn’t show in the map or can I find any GpS… is there anything I can find from my PSA TO HA integration. Time is of the essence on this one.

Please can someone help

Some time has passed since the first post and I noticed you haven’t figured out a way to get this working.

My eC4 wouldn’t show gps coordinates on the app. I thought it was some kind of error on it (sorry @flobz) but upon careful inspection of the payloads I understood Stellantis was just not providing it. The latitude and longitude were empty, as a lot of other fields.

I found it odd but at some point a friend of mine who bought another eC4 with a higher trim level got an email from Stellantis saying they were upgrading his remote services to provide vehicle position over the API. At this point I gave up and understood this was a limitation imposed by Stellantis for the current api level used by this project, as other apps I was using at the time provided location.

Fast forward to a few months later, at which point I start seeing altitude entries on the trips list out of nowhere. Needless to say, the map page was now being wonderfully rendered with my car trips on it.

The only thing I did different was that I installed eevee (as they started providing support for our platform) and allowed them access to the Stellantis platform.

(In the meantime I’ve seen some comments here on GitHub mentioning the API has some B2C and B2B levels and that may be it, I’m not into the subject and if there is any confirmation on this I would appreciate the added knowledge)

It may be worth the shot and trying it. The process can be done in five minutes. Then it’s a matter of looking at the car info structure to see if it returns location data.

https://eeveeapp.com

IMG_2098 IMG_2099

wifispray commented 7 months ago

Thanks for your email

Would love to give this a try. Did you follow any kind of guide to setup?

On Mon, 25 Dec 2023 at 12:19, nosuchuser @.***> wrote:

Hi All

thanks for reading. My car has been stolen, worse scenario. But I can see in my paw dashboard that the last trip was 1km. But the info doesn’t show in the map or can I find any GpS… is there anything I can find from my PSA TO HA integration. Time is of the essence on this one.

Please can someone help

Some time has passed since the first post and I noticed you haven’t figured out a way to get this working.

My eC4 wouldn’t show gps coordinates on the app. I thought it was some kind of error on it (sorry @flobz https://github.com/flobz) but upon careful inspection of the payloads I understood Stellantis was just not providing it. The latitude and longitude were empty, as a lot of other fields.

I found it odd but at some point a friend of mine who bought another eC4 with a higher trim level got an email from Stellantis saying they were upgrading his remote services to provide vehicle position over the API. At this point I gave up and understood this was a limitation imposed by Stellantis for the current api level used by this project, as other apps I was using at the time provided location.

Fast forward to a few months later, at which point I start seeing altitude entries on the trips list out of nowhere. Needless to say, the map page was now being wonderfully rendered with my car trips on it.

The only thing I did different was that I installed eevee (as they started providing support for our platform) and allowed them access to the Stellantis platform.

(In the meantime I’ve seen some comments here on GitHub mentioning the API has some B2C and B2B levels and that may be it, I’m not into the subject and if there is any confirmation on this I would appreciate the added knowledge)

It may be worth the shot and trying it. The process can be done in five minutes. Then it’s a matter of looking at the car info structure to see if it returns location data.

https://eeveeapp.com

IMG_2098.png (view on web) https://github.com/flobz/psa_car_controller/assets/1007018/f64d6c41-2d81-4150-8149-81191d227f53 IMG_2099.png (view on web) https://github.com/flobz/psa_car_controller/assets/1007018/d35fb278-a418-45d0-b783-154bde432c0c

— Reply to this email directly, view it on GitHub https://github.com/flobz/psa_car_controller/issues/714#issuecomment-1868959995, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGW4MA4TCY4QH3N3JG2IIM3YLFVNJAVCNFSM6AAAAABBAXSCT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYHE2TSOJZGU . You are receiving this because you were mentioned.Message ID: @.***>

larskarla commented 6 months ago

It worked! Downloaded eevee app to android phone, signed up an added the car with stellantis password. Added a home location, and today eevee app tells me "charging, location home" get_vehicleinfo/ has gps location now! Also, PSA car controller has altitude diff for the first time after more than 600 trips, and the map is getting data. Corsa-e, lowest trim level, phone not connected to car with cable during the two trips tested.

wifispray commented 6 months ago

I get a 400 error when I try to connect EEVEE app to the Vaxhqul account. Did I do something wrong?

On Wed, 27 Dec 2023 at 19:43, larskarla @.***> wrote:

It worked! Downloaded eevee app to android phone, signed up an added the car with stellantis password. Added a home location, and today eevee app tells me "charging, location home" get_vehicleinfo/ has gps location now! Also, PSA car controller has altitude diff for the first time after more than 600 trips, and the map is getting data. Corsa-e, lowest trim level, phone not connected to car with cable during the two trips tested.

— Reply to this email directly, view it on GitHub https://github.com/flobz/psa_car_controller/issues/714#issuecomment-1870579987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGW4MA45LYF5YTQ3KFCLSJDYLR24NAVCNFSM6AAAAABBAXSCT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGU3TSOJYG4 . You are receiving this because you were mentioned.Message ID: @.***>

5kat3R commented 6 months ago

I'm also happy to confirm that the Eeveeapp trick worked! Yesterday I installed the app and today for the first time in 17 months I'm able to see trips on the map. Also some other data has changed from null to real figures like for example: Speed, Direction, Signal quality etc.

Thanx @nosuchuser for a great tip!

sod75 commented 6 months ago

just to add on this.

My location worked before. Though my trips showed on the map to be flying from start to end in a direct line. Out of curiosity I also registered in the eevee app and now my position gets updated more regularly showing close to actual routes taken.

youradds commented 6 months ago

I get a 400 error when I try to connect EEVEE app to the Vaxhqul account. Did I do something wrong?

I get that as well :( I know the credentials are correct, as I use them to log in on this script (and have it saved in a password manager)

gernot-h commented 4 months ago

Fast forward to a few months later, at which point I start seeing altitude entries on the trips list out of nowhere. Needless to say, the map page was now being wonderfully rendered with my car trips on it.

The only thing I did different was that I installed eevee (as they started providing support for our platform) and allowed them access to the Stellantis platform.

As this post is referenced a lot, just wanted to mention that I went through the same issues (geo coordinates and SoH not provided by Stellantis servers in the beginning), but decided not to give another party access to my data. Instead, it fixed itself a few days later out of nowhere (in case of SoH, it even took a week or so before the first data points appeared...). So perhaps, just waiting a few days might also help. :-)

JbbDE commented 3 months ago

what do you guys recommend for an petrol car? Am I able to add it to Eevee or is there another way to get full position information?

GeyerA commented 2 months ago

I can confirm that this solves the issue on missing trips im maps. Just install EEVEE and added car and trips in maps are now shown.

noopectro commented 2 weeks ago

This also appears to work on similar apps - I was having an issue getting my Vauxhall to work with the Eevee app (getting a 400 error as above).

Instead I registered my car on the Tronity (tronity.io) app and the location started working a couple of hours later.