-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"kinetic" and "last_position" fields are empty #50
Comments
Hello, |
Hello |
The app use swagger codegen to generate the sdk to connect to the API. In some case if the openapi spec isn't correct it can lead to the problem you describe.
Then test a request to see if information's are missing. |
Thanks for your reply. Just checked the proxy dump and "kinetic" and "last_position" fields are not present in the answer from psa servers.
|
Ok, can you try the request without the extension=odometer parameter? |
I already tried last weekend as per the note in the API documentation. I did it again today and the result is the same unfortunately. Apparently the extension request is not needed as we still receive the odometer.
|
What's the car model? |
here it is. What is strange : it was working before :‑(
|
Ok so it can be related to hybrid or 3008. . . |
yes... at least mine but maybe other cars soon... |
I suppose you don't have your position in mypeugeot? |
When you start the server you should received an mqtt message on this topic: |
I observed that the position in the app is updated through bluetooth and not through the API. Easy test - switch off bluetooth. |
It seems that the location was not updated for a while. And I mot alone now : #54 What are the privacy fields output for your car? Mine are
|
I think it depends of your car. If you have the Peugeot SOS option, you have a gps. |
I have Peugeot SOS option. Everything was ok before in the API, the problem appeared 19/3/2021 à 14:46:13 Even when the API got the position, the app location was not updated if not connected with bluetooth. I m using 2 phones and the one not connected with bluetooth is able to remote control Preconditionning & Charge of the car and get level / autonomy but doesn't have car position updated. |
Ok can you confirm that car position is present in mqtt messages? |
well yes but values were not updated since I encountered the problem
There is a problem somewhere... and now seems that I m not alone... |
My privacy settings: "privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2," |
my timestamp_gnss is old too : 27/1/2021:8:03:15 |
I have the following error with your branch:
Any idea? |
hello. please submit a new issue - it is not the same problem here. I don't know if flobz can hide the last message to keep a clean thread. |
I used the branch that you mentioned to me and my issue was closed, it is why I posted here ;) |
It's seems that's the car model isn't returned... I will changethe code to handle this error. |
@jlayec still the same problem ? |
I think there is a major issue with Peugeot API actually. In other services like Tronity.io, I can't see any trip information since Mar 23 because they are unable to retrieve location, maybe it could be related ? In API reply I see this (timestamp is like yours) :
In dashboard I see this :
Tronity.io support answer (regarding my support ticket for my own car) :
|
I have similar issue: "last_position": null, "timed_odometer": null. In "gnss" (and in "dr") there is valid position, with "timestamp": "2021-03-15T12:35:06Z". But it didn't work before that either. My privacy settings are the same as flobz. It's a Peugeot e-208. The SatNav, Live traffic, My Peugeot app, etc has always worked, so I can't really complain at Peugeot. ( I tried, but they said everything is OK...). If anybody has found a possible solution, please let me know. Otherwise, as more and more people are affected, I hope PSA will do something on their side, which will solve it for everyone eventually. |
Same for me without doing anything. Peugeot e208 |
A few days ago my car tracking was working and showing my trips on the map but only for one day ! |
🤔 I'm jealous... going to look deeper if I can get it to work... |
Can confirm that mine is working right now for some reason. Wonder how long it will last this time. |
Position is also back for me since July 26 10 PM CET |
same here and i was thinking it was because i deleted and implemented again
add-on inside HA.
Il giorno gio 27 lug 2023 alle ore 15:05 Pablo ***@***.***>
ha scritto:
… Position is also back for me since July 26 10 PM CET
—
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ22UZ2I35ROMN36FNJVQLXSJRSHANCNFSM4ZQPLZ7Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Apparently i receive updates too :
Going to check tonight when i'll left home |
Same here, only on 21.7. there have been 2 updates for my AndroidPhone the last days/weeks EDIT: just drove 20min. And got data! Yay 🙃 |
Yeah it's working! I think PSA changed something ... |
Yeah, I confirm it is working since some weeks/month but now it works. |
It worked for a couple day in July, but never since. |
Mines been working for months flawlessly. |
Same here!
--
|
ok, so something on my end ... |
I attempted configuration but couldn't find a solution to make it work. Unsure whether it's the French model or the car model that is incompatible. |
I dont use the PSA controller app, I just use the API for a service linked with the car. I don't know anything about the remote honk stuff. |
I remember that they was a service you could subscribe to for free that use to "unlock" the localization by switching the API from B2C to B2B, is that something you have done ? |
No I have reverse-engineered the API so I can now access it. |
Could you elaborate that a bit please? ^^ At least one German user would be super happy then |
I've canceled the remote control service to see if it's better, and if not i'll remove the car and the account and redo everything from scratch. One "fun" thing is that canceling the services, i got a mail calling it |
So after letting some time pass, i enabled it again and did the setup from scratch on psa_car_controller. "last_position": {
"type": "Feature",
"geometry": {
"coordinates": [
2.00819,
48.8,
null
],
"type": "Point"
},
"properties": {
"heading": 188.0,
"signal_quality": null,
"type": "Estimated",
"updated_at": "2023-07-03 16:18:47+00:00"
}
}, I'm fascinated that it can just not work for some people... technically i mean, it's impressive. |
Yeh mine doesnt say estimated, it says acquire. I have a new issue at the moment, it only seems to updated at the instance the car is turned on and then when It turns off. All my routes are straight lines. |
I used to have straight lines as well. |
Thanks @sod75. Ill give it a try later and report back. |
I noticed this behaviour : When only using PSACC, I had no position in the response. |
well sorry I had not read correctly but i confirm what's said higher then |
I installed evee and configured the car. The Evee app does not get any information about battery level or charging (what it is supposed to do actually), but since then I get position information in psacc. Stellantis is really rocking that Api./s |
Eevee becomes paid 9€/13€ monthly https://intercom.help/eevee-mobility/en/articles/9659645-introducing-our-pro-subscription-for-the-eevee-driver-app |
Describe the bug
"kinetic" and "last_position" fields are empty in json answer of get_vehicleinfo/VIN
Am I alone?
To Reproduce
Steps to reproduce the behavior:
python3 server.py -l 0.0.0.0 --debug DEBUG
Here is the output of the API
I confirm that the privacy configuration in vehicle is share data and position (was not changed and was working before).
The text was updated successfully, but these errors were encountered: