Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.08 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.08 KB

Renault Server API

What is this for?

This will host a webserver to be able to send commands to newer Renault cars and use the same commands that the MyRenault app uses. For example, with a Renault Zoe you can start HVAC, change charging schedules etc.

Requirements

  • Python 3
  • Renault Account

How to set up

  1. Install the python packages with pip install -r requirements.txt
  2. In start_server.py, edit the ip address to your server's address
  3. Run renault-api login and fill in your Renault login data. When asked if you want to store the credentials, I would type y
  4. Run ./start_server.sh. If you aren't on Linux, copy the command inside start_server.sh and execute it in your terminal.

How to use

With the server running, open your browser at :8000/. is the string of the renault-api that is after renault-api.

For example, if you run the server locally and open 127.0.0.1:8000/charge mode --set 1, the Zoe charge mode is set to scheduled charging.

The respone from renault-api is always returned to you.