This is part of my home automation system. It runs on a Raspberry Pi with a 7" touchscreen display (800x480). It shows the electricity price, and you can remotely heat up the cars. Currently, BMW works but the Mitsubishi PHEV requires some more work.
Install Colin Bendell's BMW package:
npm install -g https://github.com/colinbendell/bmwSet your ConnectedDrive credentials to ~/.bmw:
[default]
email=email@example.com
password=password
geo=rowInstall fastapi and uvicorn:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtRun the server:
uvicorn main:app --host 0.0.0.0 --port 8990