Skip to content

Standalone browser page to access Renault vehicles data

License

Notifications You must be signed in to change notification settings

anto35/myRenaultLC

 
 

Repository files navigation

myRenaultLC

Standalone browser page to access Renault vehicles data

Available here: http://jumpjack.altervista.org/myrenault

Note: the page is experimental, use at your own risk

Fill in your MyRenault credentials (email and password), then select the endpoint from the list, and click QUERY button. Some endpoints have two versions available, depending on your car: try both; if the endpoint exists, you'll see the output in the output panel, else you'll see a "404" error if endpoint does not exists, or other numbers if you missed some additional parameters in the endpoint.

MyRenault endpoints encyclopaedia:

Security warning

If you don't want to fill-in your credentials in an unknown page, download the page to your PC: you will get an index.html file and many .js files into same folder. Just open index.html in your favourite browser and start testing.

Since version 2.4.0 the web page uses a php script ( https://github.com/jumpjack/myRenaultLC/blob/main/gigya-login.php ) located in its own folder to perform authentication on Gigya server; the user can use the script he prefers, as long as it returns this structure:

{
	"loginData" : {
		"cookie" : "xxxxxxxxxxxxxxxxxx" ,
		"JWT" : "xxxxxxxxxxxxxxxxxx",
		"personId" : "xxxxxxxxxxxxxxxxxx"
	}
}

Syntax for calling the script:

/gigya-login.php?gigyakey=XXXXXXXXX&gigyasite=XXXXXXXX&kamereon=XXXXXXXX&username=XXXXXXXXX&password=XXXXXXXX

Retrieving data without logging in

If you don't want to put at all your credential, you can perform a strandard login on MyRenault official web page (for Italy: https://myr.renault.it/documentazione.html ) and go to "vehicle details" tab/page. Then swith to console mode, and look for:

  • accountId
  • JWT token (named "oneSession" in cookies list)

Refer to following pictures to retrieve data:

image

Put data in the web page:

image

Now you can temporarily download data; JWT token will expire in some minutes, and you will have to login again to MyRenault page and copy it again; accountId and VIN remain of course unchanged.


Alternatives

Credits

Original idea from: https://muscatoxblog.blogspot.com/2019/07/delving-into-renaults-new-api.html

My graphical interpretation of login process described in above page:

About

Standalone browser page to access Renault vehicles data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 62.9%
  • JavaScript 33.0%
  • PHP 4.1%