ta2k / iobroker.psa Goto Github PK
View Code? Open in Web Editor NEWioBroker Adapter for PSA Peugot, Citroen, Opel, DS,
License: MIT License
ioBroker Adapter for PSA Peugot, Citroen, Opel, DS,
License: MIT License
Seit 25.02 gibt es ein Login Fehler bei Peugeot
Login failed
{"error_description":"Internal Server Error","error":"server_error"}
AxiosError: Request failed with status code 400
API Fehler Opel
Hallo, nach der Installation und der Eingabe der Credentials wird der Adapter grün und er werden alle Datenpunkte angelegt. Auch der Wagen mit der FIN wird gefunden und in einem Subfolder angelegt. Allerdings werden alle darunter liegenden Datenpunkte nur mit der URL des API-Requests gefüllt.
Der Wagen ist ein Opel Corsa Elektro (Bj 2022)
Hier der Log (noch nicht im Debug-Modus)
Versions:
The current stable verion of this adapter is 0.0.11.
Please let us know if this release is fully functional or the adapter ii working only when using newer Release currently not availabel at stable repository.
According to this topic https://forum.iobroker.net/topic/39423/psa-connected-car-api-adapter-f%C3%BCr-peugeot/34 the adapter does nogt work with release 0.0.11 and even 0,0.12.
Please give some feedback and let us know if current stable release 0.0.11 is functional an the info from forum / the issues are mincorrect or minor problems.
If there is no reaction / statement until 20.4.2024 release 0.0.11 will be removed from stable repository.
This adapter sems to be no longer functional.
See i.e.
https://forum.iobroker.net/topic/45951/test-adapter-psa-v0-0-x-peugeot-opel-citroen/308
#21
#20
#24
Please indicate if you plan to restore the functionality and which timeframe to be expected.
If there is no reaction / statement until 31.07.2024 this adapter will be removed from repositories.
Hello,
after I updated the script host to version 5.0.12 today, the following errors occur:
psa.0 2023-09-18 21:04:28.486 warn {"code":"495","message":"Invalid or expired client certificate"}
psa.0 2023-09-18 21:04:28.486 warn receive new api failed
psa.0 2023-09-18 21:04:28.485 warn AxiosError: Request failed with status code 495
psa.0 2023-09-18 21:04:28.451 warn OldAPI Login failed, only relevant for non eletric cars
psa.0 2023-09-18 21:04:28.450 warn {"code":"495","message":"Invalid or expired client certificate"}
psa.0 2023-09-18 21:04:28.449 warn receive old api failed
psa.0 2023-09-18 21:04:28.448 warn AxiosError: Request failed with status code 495
psa.0 2023-09-18 21:04:27.914 info Login successful
psa.0 2023-09-18 21:04:24.522 info starting. Version 0.0.11 in /opt/iobroker/node_modules/iobroker.psa, node: v16.20.2, js-controller: 5.0.12
Plattform: linux
Betriebssystem: linux
Architektur: arm
CPUs: 4
Geschwindigkeit: 1800 MHz
Modell: unknown
RAM: 3.7 GB
System-Betriebszeit: 1 T. 02:36:38
Node.js: v16.20.2
time: 1695063645198
timeOffset: -120
NPM: 8.19.4
Adapter-Anzahl: 498
Datenträgergröße: 29.0 GB
Freier Festplattenspeicher: 22.4 GB
Aktive Instanzen: 12
Thanks for your help
Reinhard
Version: stable=0.0.8 (215 days old) => latest=0.0.10 (15 days old)
Installs: stable=121 (68.36%), latest=56 (31.64%), total=177
Click to edit
Hi,
hilft vielleicht folgendes Projekt für die Steuerung der Klimaanlage?
https://github.com/flobz/psa_car_controller/blob/master/docs/Install.md
Hallo,
ich habe leider absolut keine Ahnung von ioBroker, interessiere mich aber für die PSA Daten.
Also habe ich den ioBroker als Docker image installiert und den Adapter hinzugefügt und mit meinen Zugangsdaten konfiguriert.
Die richtige VIN wird ausgelesen, aber der Status kann scheinbar nicht gelesen werden.
2023-01-23 17:46:27.984 - error: psa.0 (1053) AxiosError: Request failed with status code 404
2023-01-23 17:46:27.984 - error: psa.0 (1053) Get MEINE_VIN.status failed
2023-01-23 17:46:27.984 - error: psa.0 (1053) {"uuid":"787acee3-e668-48ae-afcf-f17a2727f4a5","code":40400,"message":"Not Found: We didn't find the status for this vehicule."}
2023-01-23 17:46:27.984 - error: psa.0 (1053) Get device status failed
Die MyPeugeot App funktioniert hingegen einwandfrei.
Muss ich noch etwas beachten/einstellen?
Dear Adapter developer,
with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.
If something is not correct this is logged as 'warning' or 'info' log.
Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!
Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1749
Please close the issue after you checked it.
Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!
Hallo,
`
psa.0 | 2021-06-22 23:26:45.799 | warn | State "psa.0.info.connection" has no existing object, this might lead to an error in future versions |
---|---|---|---|
psa.0 | 2021-06-22 23:26:45.794 | error | Login failed |
psa.0 | 2021-06-22 23:26:45.794 | error | {"error":"invalid_grant","error_description":"The provided access grant is invalid, expired, or revoked."} |
psa.0 | 2021-06-22 23:26:45.794 | error | Login failed |
psa.0 | 2021-06-22 23:26:45.794 | error | Error: Request failed with status code 400 |
psa.0 | 2021-06-22 23:26:45.386 | info | starting. Version 0.0.1 in C:/Program Files/iobroker/Home/node_modules/iobroker.psa, node: v12.22.1, js-controller: 3.3.14 |
psa.0 | 2021-06-22 23:26:45.386 | info | starting. Version 0.0.1 in C:/Program Files/iobroker/Home/node_modules/iobroker.psa, node: v12.22.1, js-controller: 3.3.14 |
psa.0 | 2021-06-22 23:26:41.463 | info | Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason |
psa.0 | 2021-06-22 23:26:41.462 | info | terminating |
psa.0 | 2021-06-22 23:26:41.462 | warn | Clear yet terminated interval undefined |
psa.0 | 2021-06-22 23:26:41.461 | warn | Clear yet terminated interval undefined |
psa.0 | 2021-06-22 23:26:41.461 | info | Got terminate signal TERMINATE_YOURSELF |
Plattform: Windows RAM: 16 GB Node.js: 12.22.1 NPM: 6.14.12 JS Controller: 3.3.14 Admin: 5.1.9 Web: 3.4.1 Socket.io: 3.1.4 Script Engine: 5.1.3 IOT: 1.8.22 VIS: 1.3.10 HM-Rega: 3.0.24 HM-RPC: 1.14.41 Jarvis: 2.2.0 Backitup: 2.1.12 Cloud: 4.0.11 ICal: 1.9.3 iQontrol: 1.8.0 fb-checkpresence: 1.1.5 Hue: 3.5.18
PKW: Peugeot 2008 BJ 2014
Describe the bug
Hallo und guten Tag. Seit heute habe ich den neuen Astra (nicht elektrisch). Ich konnte das Auto mit der Opelapp verbinden und auch die Daten zum Fahrzeug auslesen. In der App sind folgende Daten enthalten.
-Kilometerstand Total
-Fahrtenbuch mit Fahrzeit, Entfernung, Durchschnittsverbrauch uvm.
-Verbleibende Reichweite
Leider kann ich in dem Adapter nur den Kilometerstand total auslesen. Das ganze ist unter Apinew zu finden. Apiold ist leer.
Gibt es eine Möglichkeit an die anderen Daten ranzukommen?
To Reproduce
----NA----
Expected behavior
Mehr Daten aus der API
Screenshots & Logfiles
Kann ich gerne auf Anfrage posten.
Versions:
psa v0.0.11
Additional context
Viele liebe Grüße und Danke für den Adapter!!!
Hi,
PSA adapter seems not to work.
it can't connect to myopel account
2024-07-12 18:35:09.206 - error: psa.0 (19452) AxiosError: Request failed with status code 400
2024-07-12 18:35:09.212 - error: psa.0 (19452) Login failed
2024-07-12 18:35:09.215 - error: psa.0 (19452) {"error_description":"Internal Server Error","error":"server_error"}
2024-07-12 18:35:09.216 - error: psa.0 (19452) Login failed
2024-07-12 18:35:09.475 - warn: psa.0 (19452) Error: unsupported
2024-07-12 18:35:09.476 - warn: psa.0 (19452) receive new api failed
2024-07-12 18:35:09.533 - warn: psa.0 (19452) Error: unsupported
2024-07-12 18:35:09.535 - warn: psa.0 (19452) receive old api failed
2024-07-12 18:35:09.536 - warn: psa.0 (19452) OldAPI Login failed, only relevant for non eletric cars
I used the sam logindata like in the app or in the browser.
Thanks for your help
Axel
Describe the bug
A clear and concise description of what the bug is.
Since some days i got the error:
psa.0 | 2022-09-20 08:41:35.480 | warn | {"errors":{"401":"UNAUTHORIZED"}} |
---|---|---|---|
psa.0 | 2022-09-20 08:41:35.478 | warn | AxiosError: Request failed with status code 401 |
But I can login normally into the Peugeot APP so no issue with the passowrd.
I checked the password multiple times
also updated to .11 version beta but doesn´t help.
Does anybody else have this problem ?
Describe the bug
Old leasing cars that are deleted in the my-opel App are still shown.
Opel sais the links are not in my profile anymore.
Where are the informations picked from?
I hope you can help me because it creates a lot of log entries.
Versions:
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/TA2k/ioBroker.psa
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Hallo,
seit einigen Tagen wird keine Verbindung mehr zu Opel aufgebaut, ich will den Ladezustand eines Mokka-e abfragen, bisher hat immer alles gut funktioniert, hab auch schon die 0.0.12 probiert mit dem gleichen Ergebnis:
psa.0 | 2024-01-13 10:12:53.363 | warn | OldAPI Login failed, only relevant for non eletric cars
-- | -- | -- | --
psa.0 | 2024-01-13 10:12:53.362 | warn | {"code":"495","message":"Invalid or expired client certificate"}
psa.0 | 2024-01-13 10:12:53.362 | warn | receive old api failed
psa.0 | 2024-01-13 10:12:53.361 | warn | AxiosError: Request failed with status code 495
psa.0 | 2024-01-13 10:12:53.096 | warn | {"code":"495","message":"Invalid or expired client certificate"}
psa.0 | 2024-01-13 10:12:53.096 | warn | receive new api failed
psa.0 | 2024-01-13 10:12:53.095 | warn | AxiosError: Request failed with status code 495
psa.0 | 2024-01-13 10:12:52.108 | error | Login failed
psa.0 | 2024-01-13 10:12:52.107 | error | {"error_description":"Internal Server Error","error":"server_error"}
psa.0 | 2024-01-13 10:12:52.106 | error | Login failed
psa.0 | 2024-01-13 10:12:52.106 | error | AxiosError: Request failed with status code 400
psa.0 | 2024-01-13 10:12:51.551 | info | starting. Version 0.0.11 in C:/Program Files/ioBroker/node_modules/iobroker.psa, node: v16.15.1, js-controller: 4.0.24
Ist das Problem bekannt, gibt es eine Lösung?
According to evcc-io/evcc#2212 (reply in thread), https://github.com/flobz/psa_car_controller is able to refresh the api session using security pin, e.g. for updating SoC. Seems this is not currently implemented in this module?
Version: stable=0.0.11 (388 days old) => latest=0.0.12 (15 days old)
Installs: stable=511 (87.35%), latest=37 (6.32%), total=585
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Hi,
with the current version (v0.0.10) I am getting the following error:
psa.0 | 2022-09-02 17:19:38.467 | warn | OldAPI Login failed, only relevant for non eletric cars
-- | -- | --
psa.0 | 2022-09-02 17:19:38.467 | warn | "<html>\r\n<head><title>403 Forbidden</title></head>\r\n<body>\r\n<center><h1>403 Forbidden</h1></center>\r\n</body>\r\n</html>\r\n"
psa.0 | 2022-09-02 17:19:38.466 | warn | receive old api failed
psa.0 | 2022-09-02 17:19:38.465 | warn | Error: Request failed with status code 403
psa.0 | 2022-09-02 17:19:37.588 | info | Login successful
Any plans to support the "new" API in order to be able to use it for Opel Electric cars?
Thanks in advance
Sascha
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.