Skip to content
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

Closed
jlayec opened this issue Mar 20, 2021 · 283 comments
Closed

"kinetic" and "last_position" fields are empty #50

jlayec opened this issue Mar 20, 2021 · 283 comments

Comments

@jlayec
Copy link
Contributor

jlayec commented Mar 20, 2021

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:

  1. what command did you use ? python3 server.py -l 0.0.0.0 --debug DEBUG
  2. when the bug append ? Everytime with get_vehicleinfo/VIN
  3. Does it persist after restarting the program? Yes

Here is the output of the API

			"type": "Fuel"
		}
	],
	"environment": null,
	"ignition": null,
	"kinetic": null,
	"last_position": null,
	"preconditionning": {
		"air_conditioning": {
			"failure_cause": null,
			"programs": [
				{
					"enabled": false,

I confirm that the privacy configuration in vehicle is share data and position (was not changed and was working before).

@flobz
Copy link
Owner

flobz commented Mar 23, 2021

Hello,
For me it works well.
Does it work in the past ?

@jlayec
Copy link
Contributor Author

jlayec commented Mar 23, 2021

Hello
Yeah ! I did some modifications in the code and started the hybrid car work 😊
I dont know what happened!
But these fields are now empty. Hope that peugeot is not removing fields that are not mandatory for their mobile app. Hope i will get back position soon! But to be honest i m pessimistic

@flobz
Copy link
Owner

flobz commented Mar 23, 2021

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.
Can you use a proxy like mitmproxy to see if the message received by the app is received without those informations ?
You just have to install and launch it, then edit config.json file to add the proxy :

    "proxies": {
        "http": "http://localhost:8080",
        "https": "http://localhost:8080"
    }

Then test a request to see if information's are missing.

@jlayec
Copy link
Contributor Author

jlayec commented Mar 23, 2021

Thanks for your reply. Just checked the proxy dump and "kinetic" and "last_position" fields are not present in the answer from psa servers.

GET https://api.groupe-psa.com/connectedcar/v4/user/vehicles/xxx/status?extension=odometer&client_id=xxx

{
	"preconditionning": {
		"airConditioning": {
			"updatedAt": "2021-03-23T18:07:55Z",
			"status": "Disabled"
		}
	},
	"energy": [
		{
			"updatedAt": "2021-03-23T18:07:55Z",
			"type": "Electric",
			"level": 62,
			"autonomy": 32,
			"charging": {
				"plugged": false,
				"status": "Disconnected",
				"chargingRate": 0,
				"chargingMode": "Slow",
				"nextDelayedTime": "PT0S"
			}
		},
		{
			"updatedAt": "2021-03-23T18:07:55Z",
			"type": "Fuel",
			"level": 0,
			"autonomy": 470
		}
	],
	"createdAt": "2021-03-23T18:07:55Z",
	"battery": {
		"voltage": 87.5,
		"current": 0,
		"createdAt": "2021-03-23T18:07:55Z"
	},
	"privacy": {
		"createdAt": "2021-03-23T18:07:55Z",
		"state": "None"
	},
	"service": {
		"type": "Hybrid",
		"updatedAt": "2021-03-22T11:32:35Z"
	},
	"_links": {
		"self": {
			"href": "https://api.groupe-psa.com/connectedcar/v4/user/vehicles/xxx/status"
		},
		"vehicles": {
			"href": "https://api.groupe-psa.com/connectedcar/v4/user/vehicles/xxx"
		}
	},
	"timed.odometer": {
		"createdAt": null,
		"mileage": xxxxx.x
	},
	"updatedAt": "2021-03-23T18:07:55Z"
}

@flobz
Copy link
Owner

flobz commented Mar 24, 2021

Ok, can you try the request without the extension=odometer parameter?

@jlayec
Copy link
Contributor Author

jlayec commented Mar 24, 2021

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.

2021-03-24 07:36:09 GET https://api.groupe-psa.com/connectedcar/v4/user/vehicles/xxx/status?client_id=xxx
                        ← 200 OK application/hal+json 1.3k 1.42s
Host:                api.groupe-psa.com
Accept-Encoding:     identity
Accept:              application/hal+json
User-Agent:          Swagger-Codegen/4.0/python
Authorization:       Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxx
x-introspect-realm:  clientsB2CPeugeot
Content-Type:        application/json

client_id: xxxxxxxxxxxxxxxxxxxxx
{
	"preconditionning": {
		"airConditioning": {
			"updatedAt": "2021-03-23T23:56:55Z",
			"status": "Disabled"
		}
	},
	"energy": [
		{
			"updatedAt": "2021-03-23T23:56:55Z",
			"type": "Electric",
			"level": 64,
			"autonomy": 32,
			"charging": {
				"plugged": false,
				"status": "Disconnected",
				"chargingRate": 0,
				"chargingMode": "Slow",
				"nextDelayedTime": "PT0S"
			}
		},
		{
			"updatedAt": "2021-03-23T23:56:55Z",
			"type": "Fuel",
			"level": 0,
			"autonomy": 470
		}
	],
	"createdAt": "2021-03-23T23:56:55Z",
	"battery": {
		"voltage": 87.5,
		"current": 0,
		"createdAt": "2021-03-23T18:07:55Z"
	},
	"privacy": {
		"createdAt": "2021-03-23T23:56:55Z",
		"state": "None"
	},
	"service": {
		"type": "Hybrid",
		"updatedAt": "2021-03-22T11:32:35Z"
	},
	"_links": {
		"self": {
			"href": "https://api.groupe-psa.com/connectedcar/v4/user/vehicles/xxx/status"
		},
		"vehicles": {
			"href": "https://api.groupe-psa.com/connectedcar/v4/user/vehicles/xxx"
		}
	},
	"timed.odometer": {
		"createdAt": null,
		"mileage": xxxxx.x
	},
	"updatedAt": "2021-03-23T23:56:55Z"
}

@flobz
Copy link
Owner

flobz commented Mar 24, 2021

What's the car model?

@jlayec
Copy link
Contributor Author

jlayec commented Mar 24, 2021

here it is. What is strange : it was working before :‑(

[
  {
    "vin": "VF3xxx",
    "vehicle_id": "xxx",
    "label": "SUV 3008",
    "brand": "Peugeot",
    "battery_power": 10.8,
    "fuel_capacity": 43,
    "max_elec_consumption": 70,
    "max_fuel_consumption": 30
  }
]

@flobz
Copy link
Owner

flobz commented Mar 24, 2021

Ok so it can be related to hybrid or 3008. . .

@jlayec
Copy link
Contributor Author

jlayec commented Mar 24, 2021

yes... at least mine but maybe other cars soon...

@flobz
Copy link
Owner

flobz commented Mar 24, 2021

I suppose you don't have your position in mypeugeot?

@flobz
Copy link
Owner

flobz commented Mar 24, 2021

When you start the server you should received an mqtt message on this topic:
mqtt msg psa/RemoteServices/to/cid/XXXXXXXXX/VehicleState
Does this message contains the car position ?

@jlayec
Copy link
Contributor Author

jlayec commented Mar 26, 2021

I suppose you don't have your position in mypeugeot?

I observed that the position in the app is updated through bluetooth and not through the API. Easy test - switch off bluetooth.

@jlayec
Copy link
Contributor Author

jlayec commented Mar 26, 2021

When you start the server you should received an mqtt message on this topic:
mqtt msg psa/RemoteServices/to/cid/XXXXXXXXX/VehicleState
Does this message contains the car position ?

python3 server.py -l 0.0.0.0 --debug DEBUG

2021-03-26 09:43:51,301 :: INFO :: server start
2021-03-26 09:43:53,810 :: INFO :: ["{'vin': 'VF3xxx', 'vehicle_id': 'xxx', 'label': 'SUV 3008', 'brand': 'Peugeot', 'battery_power': 10.8, 'fuel_capacity': 43, 'max_elec_consumption': 70, 'max_fuel_consumption': 30}"]
2021-03-26 09:43:55,847 :: DEBUG :: refresh_remote_token: {'scope': 'psaCustomerId psaMqttService', 'expires_in': 899, 'token_type': 'Bearer', 'access_token': 'xxx', 'refresh_token': 'xxx'}
2021-03-26 09:43:55,920 :: INFO :: ask state to VF3xxx
2021-03-26 09:43:56,060 :: INFO :: Connected with result code {'session present': 0}
2021-03-26 09:43:56,060 :: INFO :: subscribe to psa/RemoteServices/to/cid/xxx/#
2021-03-26 09:43:56,061 :: INFO :: subscribe to psa/RemoteServices/events/MPHRTServices/VF3xxx
2021-03-26 09:43:56,163 :: INFO :: {"access_token": "xxx", "customer_id": "xxx", "correlation_id": "xxx", "req_date": "2021-03-26T09:43:56Z", "vin": "VF3xxx", "req_parameters": {"action": "state"}}
2021-03-26 09:43:56,166 :: INFO :: save config change
2021-03-26 09:43:56,168 :: WARNING :: Can't get language
2021-03-26 09:43:56,417 :: INFO :: mqtt msg psa/RemoteServices/to/cid/xxx/VehicleState/ProcessManagement b'{"process_date":"2021-03-26T09:43:56Z","vin":"VF3xxx","correlation_id":"xxx","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-26 09:43:56,418 :: DEBUG :: mqtt msg hasn't return code
2021-03-26 09:43:56,473 :: INFO :: mqtt msg psa/RemoteServices/to/cid/xxx/VehicleState b'
{
	"resp_date": "2021-03-26T09:43:56Z",
	"vin": "VF3xxx",
	"correlation_id": "xxx",
	"return_code": "0",
	"location": {
		"dop": {
			"h": 1.7,
			"p": 1.9,
			"v": 0.9,
			"valid_h": true,
			"valid_p": true,
			"valid_v": true
		},
		"dr": {
			"heading": xxx.xxx,
			"latitude": xxx.xxx,
			"longitude": xxx.xxx,
			"speed": 0,
			"valid_hdg": true,
			"valid_lat": true,
			"valid_lng": true,
			"valid_spd": true
		},
		"gnss": {
			"altitude": xxx.xxx,
			"error_altitude": 3.35,
			"error_h_position": 3.65,
			"error_v_speed": 0.09,
			"fix_status": 3,
			"heading": xxx.xxx,
			"latitude": xxx.xxx,
			"longitude": xxx.xxx,
			"speed": 0,
			"timestamp": "2021-03-19T14:46:13Z",
			"valid_alt": true,
			"valid_err_alt": true,
			"valid_err_hps": true,
			"valid_err_spd": true,
			"valid_hdg": true,
			"valid_lat": true,
			"valid_lng": true,
			"valid_spd": true
		},
		"satellites": {
			"tracked": 24,
			"used": 9,
			"valid_trk": true,
			"valid_usd": true,
			"valid_vis": true,
			"visible": 28
		}
	},
	"resp_data": {
		"date": "2021-03-26T09:15:22Z",
		"etat_res_elec": 5,
		"precond_state": {
			"available": 1,
			"programs": {
				"program1": {
					"hour": 34,
					"minute": 7,
					"on": 0,
					"day": [
						0,
						0,
						0,
						0,
						0,
						0,
						0
					]
				},
				"program2": {
					"hour": 34,
					"minute": 7,
					"on": 0,
					"day": [
						0,
						0,
						0,
						0,
						0,
						0,
						0
					]
				},
				"program3": {
					"hour": 34,
					"minute": 7,
					"on": 0,
					"day": [
						0,
						0,
						0,
						0,
						0,
						0,
						0
					]
				},
				"program4": {
					"hour": 34,
					"minute": 7,
					"on": 0,
					"day": [
						0,
						0,
						0,
						0,
						0,
						0,
						0
					]
				}
			},
			"asap": 0,
			"status": 0,
			"aff": 1
		},
		"charging_state": {
			"program": {
				"hour": 0,
				"minute": 0
			},
			"available": 1,
			"remaining_time": 635,
			"rate": 0,
			"cable_detected": 1,
			"soc_batt": 79,
			"autonomy_zev": 36,
			"type": 0,
			"aff": 1,
			"hmi_state": 0,
			"mode": 0
		},
		"vin": "VF3xxx",
		"reason": 2,
		"signal_quality": 5,
		"sev_stop_date": "2021-03-26T09:15:22Z",
		"fds": [
			"xxx",
			"xxx",
			"xxx",
			"xxx",
			"xxx",
			"xxx",
			"xxx"
		],
		"sev_state": 0,
		"timestamp_gnss": 1616165173, /* ===>>> 19/3/2021 à 14:46:13 */
		"obj_counter": 11,
		"privacy_customer": 0,
		"privacy_applicable": 0,
		"privacy_applicable_max": 1,
		"superlock_state": 0
	}
}
'
2021-03-26 09:43:59,053 :: INFO :: update_data
 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)

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

		"privacy_customer": 0,
		"privacy_applicable": 0,
		"privacy_applicable_max": 1,
		"superlock_state": 0

@flobz
Copy link
Owner

flobz commented Mar 26, 2021

I suppose you don't have your position in mypeugeot?

I observed that the position in the app is updated through bluetooth and not through the API. Easy test - switch off bluetooth.

I think it depends of your car. If you have the Peugeot SOS option, you have a gps.

@jlayec
Copy link
Contributor Author

jlayec commented Mar 26, 2021

I suppose you don't have your position in mypeugeot?

I observed that the position in the app is updated through bluetooth and not through the API. Easy test - switch off bluetooth.

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.

@flobz
Copy link
Owner

flobz commented Mar 26, 2021

Ok can you confirm that car position is present in mqtt messages?
I will check my privacy settings later.

@jlayec
Copy link
Contributor Author

jlayec commented Mar 26, 2021

Ok can you confirm that car position is present in mqtt messages?
I will check my privacy settings later.

well yes but values were not updated since I encountered the problem

		"dr": {
			"heading": xxx.xxx,
			"latitude": xxx.xxx,
			"longitude": xxx.xxx,
			"speed": 0,
			"valid_hdg": true,
			"valid_lat": true,
			"valid_lng": true,
			"valid_spd": true
		},
		"gnss": {
			"altitude": xxx.xxx,
			"error_altitude": 3.35,
			"error_h_position": 3.65,
			"error_v_speed": 0.09,
			"fix_status": 3,
			"heading": xxx.xxx,
			"latitude": xxx.xxx,
			"longitude": xxx.xxx,
			"speed": 0,
			"timestamp": "2021-03-19T14:46:13Z",

There is a problem somewhere... and now seems that I m not alone...

@flobz
Copy link
Owner

flobz commented Mar 26, 2021

My privacy settings:

"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"

@flobz
Copy link
Owner

flobz commented Mar 26, 2021

my timestamp_gnss is old too : 27/1/2021:8:03:15
Well, it seems to be a car problem.
You could maybe go see your mechanic.

@Flodu31
Copy link

Flodu31 commented Mar 26, 2021

I have the following error with your branch:

(.env) psa_remote@FLOAPP-PEUGEOT:/usr/local/src/psa_car_controller $ python3 app_decoder.py ~/mypeugeot_1.28.apk
APK loading...
Requested API level 29 is larger than maximum we have, returning API level 28 instead.
RES_TABLE_LIBRARY_TYPE chunk is not supported
RES_TABLE_LIBRARY_TYPE chunk is not supported
APK loaded !
MyPeugeot email: mail
MyPeugeot password: password
What is your country code ? (ex: FR, GB, DE, ES...)
BE
Can't get car model please check cars.json
Traceback (most recent call last):
  File "app_decoder.py", line 151, in <module>
    label = vehicle["short_label"].split(" ")[-1]
KeyError: 'short_label'

Any idea?
Thanks.
Florent

@jlayec
Copy link
Contributor Author

jlayec commented Mar 26, 2021

I have the following error with your branch:

(.env) psa_remote@FLOAPP-PEUGEOT:/usr/local/src/psa_car_controller $ python3 app_decoder.py ~/mypeugeot_1.28.apk
APK loading...
Requested API level 29 is larger than maximum we have, returning API level 28 instead.
RES_TABLE_LIBRARY_TYPE chunk is not supported
RES_TABLE_LIBRARY_TYPE chunk is not supported
APK loaded !
MyPeugeot email: mail
MyPeugeot password: password
What is your country code ? (ex: FR, GB, DE, ES...)
BE
Can't get car model please check cars.json
Traceback (most recent call last):
  File "app_decoder.py", line 151, in <module>
    label = vehicle["short_label"].split(" ")[-1]
KeyError: 'short_label'

Any idea?
Thanks.
Florent

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.

@Flodu31
Copy link

Flodu31 commented Mar 26, 2021

I used the branch that you mentioned to me and my issue was closed, it is why I posted here ;)

@flobz
Copy link
Owner

flobz commented Mar 26, 2021

I have the following error with your branch:

(.env) psa_remote@FLOAPP-PEUGEOT:/usr/local/src/psa_car_controller $ python3 app_decoder.py ~/mypeugeot_1.28.apk
APK loading...
Requested API level 29 is larger than maximum we have, returning API level 28 instead.
RES_TABLE_LIBRARY_TYPE chunk is not supported
RES_TABLE_LIBRARY_TYPE chunk is not supported
APK loaded !
MyPeugeot email: mail
MyPeugeot password: password
What is your country code ? (ex: FR, GB, DE, ES...)
BE
Can't get car model please check cars.json
Traceback (most recent call last):
  File "app_decoder.py", line 151, in <module>
    label = vehicle["short_label"].split(" ")[-1]
KeyError: 'short_label'

Any idea?
Thanks.
Florent

It's seems that's the car model isn't returned... I will changethe code to handle this error.

@flobz
Copy link
Owner

flobz commented Apr 1, 2021

@jlayec still the same problem ?

@flobz flobz added the psa-issue label Apr 1, 2021
@CalicodesIles
Copy link

CalicodesIles commented Apr 2, 2021

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) :

"gnss":{

    "altitude":7.3,
    "error_altitude":2.81,
    "error_h_position":3.53,
    "error_v_speed":0.09,
    "fix_status":3,
    "heading":**********,
    "latitude":**********,
    "longitude":**********,
    "speed":0,
    "timestamp":"2021-01-26T16:37:24Z",

In dashboard I see this :

last_position updated_at "2021-03-24 16:57:28+00:00"

Tronity.io support answer (regarding my support ticket for my own car) :

there is a problem with some cars at Peugeot. The problem is that we got the last GPS Update at 
2021-03-24 17:57. This is the reason why no trips are created. We wrote Peugeot about this issue
but still no feedback. We can't do much about it.

@B4jusz
Copy link

B4jusz commented Apr 2, 2021

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.

@Flodu31
Copy link

Flodu31 commented Apr 2, 2021

On my side, I have "privacy": {"state": "None"} but it is activated on my car:

20210402_140058495_iOS

@stevoh6
Copy link
Contributor

stevoh6 commented Jun 11, 2023

Same for mine citroen ec4.

@maivorbim
Copy link

Position is back for me. Anyone else?

@Nitro56
Copy link

Nitro56 commented Jul 27, 2023

Same for me without doing anything. Peugeot e208

@Bushrider
Copy link

Bushrider commented Jul 27, 2023

A few days ago my car tracking was working and showing my trips on the map but only for one day !

@Bushrider
Copy link

Same for me without doing anything. Peugeot e208

🤔 I'm jealous... going to look deeper if I can get it to work...

@Bonxy
Copy link

Bonxy commented Jul 27, 2023

Can confirm that mine is working right now for some reason. Wonder how long it will last this time.

@p4block
Copy link

p4block commented Jul 27, 2023

Position is also back for me since July 26 10 PM CET

@albenex
Copy link

albenex commented Jul 27, 2023 via email

@Bushrider
Copy link

Bushrider commented Jul 27, 2023

Apparently i receive updates too :

type | "Acquire"
updated_at | "2023-07-26 16:25:01+00:00"

Going to check tonight when i'll left home

@show2go
Copy link

show2go commented Jul 27, 2023

A few days ago my car tracking was working and showing my trips on the map but only for one day !

Same here, only on 21.7.

there have been 2 updates for my AndroidPhone the last days/weeks
but i cant remember anymore
thx

EDIT: just drove 20min. And got data! Yay 🙃

@Bushrider
Copy link

Yeah it's working! I think PSA changed something ...

@jlayec
Copy link
Contributor Author

jlayec commented Sep 17, 2023

Yeah, I confirm it is working since some weeks/month but now it works.
All parameters are live except last_position which is updated at start/stop the car.
And now we get as well kinetic and ignition and environment are also updated

@Vaarlion
Copy link

It worked for a couple day in July, but never since.
is your still working ?
updated_at: '2023-07-03 16:18:47+00:00'

@Bonxy
Copy link

Bonxy commented Dec 18, 2023

It worked for a couple day in July, but never since. is your still working ? updated_at: '2023-07-03 16:18:47+00:00'

Mines been working for months flawlessly.

@Bushrider
Copy link

Bushrider commented Dec 18, 2023 via email

@Vaarlion
Copy link

ok, so something on my end ...
Can you, @Bonxy or @Bushrider tell me if you had the "remote honk" update ?
I think in France we don't have that. Maybe it's linked ?

@Bushrider
Copy link

Bushrider commented Dec 18, 2023

ok, so something on my end ... Can you, @Bonxy or @Bushrider tell me if you had the "remote honk" update ? I think in France we don't have that. Maybe it's linked ?

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.
Edit:
I'm in France too and the location update is working fine for months.

@Bonxy
Copy link

Bonxy commented Dec 18, 2023

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.

@Vaarlion
Copy link

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 ?

@Bonxy
Copy link

Bonxy commented Dec 18, 2023

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.

@dreimer1986
Copy link

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

@Bonxy
Copy link

Bonxy commented Dec 18, 2023

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 used it to build this service.

image

@Vaarlion
Copy link

Vaarlion commented Dec 19, 2023

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 [DEPRECATED] Free Remote LEV FR ...
Deprecated don't you say ?

@Vaarlion
Copy link

So after letting some time pass, i enabled it again and did the setup from scratch on psa_car_controller.
Data do update, but localization is no in Spain, with a type "Estimated" :(

  "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.

@Bonxy
Copy link

Bonxy commented Feb 9, 2024

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.

@sod75
Copy link

sod75 commented Feb 9, 2024

I used to have straight lines as well.
Signing up for the Eevee app as suggested in this comment worked for me.

@Bonxy
Copy link

Bonxy commented Feb 9, 2024

Thanks @sod75. Ill give it a try later and report back.

@bmerciergallay
Copy link

I noticed this behaviour : When only using PSACC, I had no position in the response.
Since I downloaded the app EEVEE on the appstore (an app to archive charges), I got the position back in the response. As if an eevee configuration had turned on position on peugeot servers, so they also are shown now in PSACC

@bmerciergallay
Copy link

well sorry I had not read correctly but i confirm what's said higher then

@Waxolunist
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests