{"id":19492748,"url":"https://github.com/flobz/psa_car_controller","last_synced_at":"2026-06-13T15:01:10.398Z","repository":{"id":37034813,"uuid":"312987109","full_name":"flobz/psa_car_controller","owner":"flobz","description":"Control psa car with connected_car v4 API.","archived":false,"fork":false,"pushed_at":"2026-06-10T10:06:38.000Z","size":4344,"stargazers_count":562,"open_issues_count":150,"forks_count":320,"subscribers_count":33,"default_branch":"master","last_synced_at":"2026-06-10T12:07:07.078Z","etag":null,"topics":["2008","208","api","citroen","connected-car","corsa-e","ds","e-208","home-assistant","home-automation","opel","peugeot","psa","psacc","vauxhall"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flobz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["flobz"],"custom":["https://www.paypal.com/donate?hosted_button_id=SM652WPXFNCXS"]}},"created_at":"2020-11-15T08:18:49.000Z","updated_at":"2026-06-10T10:05:37.000Z","dependencies_parsed_at":"2023-11-25T12:24:11.385Z","dependency_job_id":"0f42b2b7-7384-4ca9-8233-d208081bd9f1","html_url":"https://github.com/flobz/psa_car_controller","commit_stats":{"total_commits":576,"total_committers":43,"mean_commits":"13.395348837209303","dds":0.2725694444444444,"last_synced_commit":"807d934eccea83dab6173f8a757dc9213b6e9927"},"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"purl":"pkg:github/flobz/psa_car_controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flobz%2Fpsa_car_controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flobz%2Fpsa_car_controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flobz%2Fpsa_car_controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flobz%2Fpsa_car_controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flobz","download_url":"https://codeload.github.com/flobz/psa_car_controller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flobz%2Fpsa_car_controller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34288666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2008","208","api","citroen","connected-car","corsa-e","ds","e-208","home-assistant","home-automation","opel","peugeot","psa","psacc","vauxhall"],"created_at":"2024-11-10T21:22:51.832Z","updated_at":"2026-06-13T15:01:10.355Z","avatar_url":"https://github.com/flobz.png","language":"Python","funding_links":["https://github.com/sponsors/flobz","https://www.paypal.com/donate?hosted_button_id=SM652WPXFNCXS"],"categories":[],"sub_categories":[],"readme":"# Remote Control of PSA car\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/4b4b98fe6dc04956a1c9a07b97c46c06)](https://app.codacy.com/gh/flobz/psa_car_controller?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=flobz/psa_car_controller\u0026utm_campaign=Badge_Grade_Settings)\n[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/f4082f146ad044bb900e1683035a540b)](https://www.codacy.com/gh/flobz/psa_car_controller/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=flobz/psa_car_controller\u0026utm_campaign=Badge_Coverage)\n[![Publish Docker image](https://github.com/flobz/psa_car_controller/actions/workflows/Docker_build.yml/badge.svg?branch=master)](https://hub.docker.com/repository/docker/flobz/psa_car_controller)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.com/donate?hosted_button_id=SM652WPXFNCXS)\n### This is a Python program to control and get information from a PSA car.\nI test it with a Peugeot e-208, but it works with other PSA vehicles (Citroen, Opel, Vauxhall, DS).\n\nWith this app you will be able to:\n - get the status of the car (battery level for electric vehicle, position ... )\n - start and stop the charge\n - set a charge threshold to limit the battery level to a certain percentage\n - set a stop hour to charge your vehicle only on off-peak hours\n - control air conditioning\n - control lights and horn if your vehicle is compatible\n - lock and unlock doors\n - get consumption statistics\n - visualize your trips on a map or in a table\n - get the list of car charging  \n - visualize battery charging curve\n - visualize altitude trip curve\n - get car charging CO2 emission\n - get car charging price\n - send live data to ABetterRoutePlanner\n\nThe official API is documented [here](https://developer.groupe-psa.io/webapi/b2c/quickstart/connect/#article) but it is not totally up to date, and contains some errors. \n\n\n ## I. Installation\n- [Installation on Linux or Windows](docs/Install.md)\n- [Installation as Home Assistant addon](https://github.com/flobz/psacc-ha/blob/main/psacc-ha/README.md)  \n- [Installation in Docker](docs/Docker.md)\n- [Installation on Raspberry Pi with docker-compose (external Tutorial)](https://return2.net/opel-peugeot-electric-vehicle-set-charging-threshold-limit/)\n ## II. Use the API\n\nLook at [API documentation](./docs/psacc_api.md)\n\n## III. Use the dashboard\n\nYou can add the -r argument to record the position of the vehicle and retrieve this information in a dashboard.\n\n``python3 psa-car-controller -f config.json -c charge_config.json -r``\n    \nYou will be able to visualize your trips, your consumption and some statistics:\n    \n     \n![Screenshot_20210128_104519](https://user-images.githubusercontent.com/48728684/106119895-01c98d80-6156-11eb-8969-9e8bc24f3677.png)\n- You have to add an API key from https://home.openweathermap.org/ in your config file, to be able to see your consumption vs exterior temperature.\n- You have to add an API key from https://co2signal.com/ to have your CO2 emission by KM (in France the key isn't needed). \n### IV. Charge price calculation\nThe dashboard can give you the price by kilometer and price by kw that you pay.\nYou just have to set the price in the config file.\n\nAfter a successful launch of the app, a config.ini file will be created.\nIn this file you can set the price you pay for electricity in the following format \"0.15\".\n\nIf you have a special price during the night you can set \"night price\", \"night hour start\" and \"night hour end\". \nHours need to be in the following format \"23h12\".\n\nYou can modify a price manually in the dashboard. It can be useful if you use public charge point.\n## V. Connection to other services:\n- [Domoticz](docs/domoticz/Domoticz.md)\n- [HomeAssistant](https://github.com/Flodu31/HomeAssistant-PeugeotIntegration)\n- Jeedom (Anyone can share the procedure ?)\n- You can send live car status to ABRP (A better Route Planner), see [this page](docs/abrp.md)\n- [Grafana](https://github.com/flobz/psa_car_controller/issues/161)\n\n## FAQ\nIf you have a problem or a question, please check if the answer isn't already in the [FAQ](FAQ.md). \n\n## Contribute\nIf you need information to contribute or edit this program go [here](docs/Develop.md).\n\n## Donation\nIf you want to thank me for my work :smile:\n\n[![donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate?hosted_button_id=SM652WPXFNCXS)\n\n## Acknowledgements\n- thanks to @tamcore for https://github.com/tamcore/stelloauth ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflobz%2Fpsa_car_controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflobz%2Fpsa_car_controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflobz%2Fpsa_car_controller/lists"}