Citroen, Peugeot, Opel (Stellantis) car app

I learned that I just had to wait some time… :blush:

After several hours:

  • The two items started appearing;
  • Also the battery percentage on the battery tab started working. It seems to represent the remaining fuel level expressed in a percentage.

The data seems to update now every 15 mins, if I am correct.

Ah perfect, yes the data is updated every 15 minutes to not stress out the API.
You can force an update with the THEN card.
It could also be the car is not updating as it is stationary, then no new data is provide by the API.

1 Like

I have updated the TEST version of the app with debug information within the advanced settings of the vehicle.
If you are willing to share any data with me, please let me know. Then I will be able to pin point specific issues for your car/brand.


It will update with the latest data of your vehicle, so this will help me in find the right attributes

Hey Martijn.

Thanks for adding this feature.

All my fields are sadly empty.

Regards, Sebastian.

Hey again Marijn.

I was wondering, could it be an issue with the country code? I just assumed it would be da-DK, is there any way to check if this is correct?

It could be really relevant to have the correct country.
All brands do have a different authentication application (id on the background) to connect to stellantis and they even changes per country.
I do not exactly know how the retrieve your country.

I can see within the authentication process (network trace) an authorize request which specifies within the cookies the PSACountry

Perhaps this could tell you the country?

Hi Martijn,

Thank you for creating this App!

I have a Citroen (plug-in hybrid), so it would be very nice to have this App running on my Homey Pro 2023.

I followed the steps as indicated, but somehow I do not get a mymap:// response when logging the network. The only requests I see popping-up are system/ Any idea/suggestions what could cause this and what to change in my system/set-up?

Thanks in advance! Best regards, Jan

Did you click ‘Doorgaan’ and then check the network trace for the highlighted item in the following post?

I noticed your previous comment in this thread, so clicked indeed on ‘doorgaan’, but I do not get a ‘mymap://’-response as shown in the picture.

To be honest checked all the settings in the picture you now also included, but so far do not get the desired response. I am bit puzzled now, what could cause this.

This is what I see as activity in my network. Anyone an idea/suggestion what could be the case?

Thanks in advance! Jan

Nice App! My humble request is to include Finland, FI (fi-FI) in the list of countries. Thanks!

In response to my earlier question. It has very likely to do something with my network security settings. Will proceed with debugging tonight and a) share the solution for my situation <as I guess more people encounter similar issues), or b) come back with a help request :-).

EDIT

I tried several options. The closest I got was running both the developer and the editor in a private/incognito window (Chrome/Edge: Ctrl + Shift + N). However, even in that setup no request appears in the network log after pressing “Doorgaan”. So if someone has a suggestion… :slight_smile:

Hi,

I love your app. It is truly great to have all those insights available and to be able to use them in advanced flows. I have built quite an extensive flow for my electric Peugeot 208.

However, since the last update I seem to be missing the cards “Started charging” and “Stopped charging”. Because of that a number of my flows are no longer being triggered. Is there a different way to do this now?

I made a mistake with cleaning up the capabilities for the different cars.
Please try the test version of the app if this has been resolved for you

The latest test version is extended with fi-fi

Bedankt voor de update Martijn.

Heb het nu ook geprobeerd met de ‘experimental’ versie, maar helaas.

Heb een account bij Citroen en via de App kan ik uitlezen hoeveel km ik nog op benzine en op de accu kan rijden (dus dat werkt). Heb op mijn Homey Pro de test versie van de App draaien. Vervolgens start ik op computerscherm 1 de Homey Flow Editor (vanuit waar ik ook de Stellantis Vehicle App configureer) en op computer scherm 2 start ik Homey Developer (daar selecteer ik mijn Homey 2023). Dit doe ik allemaal in InPrivate Browsers. In de Stellantis Configuratie: Brand = Citroen, Land = NL .

Daar krijg ik een Stellantis Login link, die ik kopieer en in een derde venster open (computerscherm 1). Op computerscherm 2 start ik met CTRL + SHIFT + I de netwerk monitor.

Het derde venster (computerscherm 1) geeft linksboven aan Citroen, met de melding: “u bent goed verbonden”, en vervolgens klik ik op de ‘doorgaan’. In de tussentijd houd ik de netwerk monitor in de gaten, maar er komt geen enkele URL voorbij die begint met ‘mymap://… die ik kan gebruiken.

Doe ik iets fout? (zo ja, wat)

Is er iemand met een Citroen, die ondertussen succesvol de stappen heeft doorlopen? Zo ja, zou je aan kunnen geven hoe jij genoemde stappen hebt doorlopen?

Alvast bedankt.

Jan

Thanks for the fi-FI. So far I have not been lucky enough to succesfully log in stellantis (Peugeot in my case). Just blank white page is visible after login page. I know the servers are rubbish.


Hello Martijn,

I am running into a problem connecting my Citroën to the Homey app. The connection with the account seems to be successful, but as soon as I try to add the vehicle to Homey, no car appears in the list.

Additionally, it seems that the app is not remembering the entered data (after saving, the fields appear empty again or the session is not saved). I have generated a diagnostic report to check. Could you take a look at this to see exactly where the process is getting stuck?

Diagnostic report code: 9176f222-82b0-4900-88e1-3ffc54b5fc0d

Thanks in advance for your help!

Bonjour , je n’arrive pas à connecter mon e-Expert Peugeot electrique , avec le precedent vehicule identique pas de soucis , mais la je fais la procedure correctement , le token se met en place (en vert) et dans homey quand je fais ajouter Peugeot j’ai une erreur 404 .

Bonne soirée

Ik heb ook begrepen dat de url voor andere autos anders kan zijn.
Er zou een rode regel moeten zijn die niet lukt omdat het de app probeert te openen.
Daarin zou dan de code moeten staan, kun je die eens zoeken?