Closed Jmi91 closed 2 years ago
Hi, I just tried and it seems to be working for me. Any error message? Try to run the cli with the debug flag.
I tried your python example:
python3.9 ./test.py
VIN: WP0ZZZY1ZMSAXXXXX Model: Taycan Turbo S Year: 2021
Traceback (most recent call last):
File "/tmp/./test.py", line 21, in
Also, here is the result with porschecli:
/usr/local/bin/porschecli -e "MYEMAIL" -p "MYPASSWD" overview -v "WP0ZZZY1ZMSAXXXXX" { "vin": "WP0ZZZY1ZMSAXXXXX", "oilLevel": null, "fuelLevel": null, "batteryLevel": null, "remainingRanges": { "conventionalRange": null, "electricalRange": null }, "mileage": null, "parkingLight": "INVALID", "parkingLightStatus": null, "parkingBreak": "INVALID", "parkingBreakStatus": null, "doors": { "frontLeft": "INVALID", "frontRight": "INVALID", "backLeft": "INVALID", "backRight": "INVALID", "frontTrunk": "INVALID", "backTrunk": "INVALID", "overallLockStatus": "CLOSED_LOCKED" }, "serviceIntervals": { "oilService": null, "inspection": null }, "tires": { "frontLeft": { "currentPressure": null, "optimalPressure": null, "differencePressure": null, "tirePressureDifferenceStatus": "UNKNOWN" }, "frontRight": { "currentPressure": null, "optimalPressure": null, "differencePressure": null, "tirePressureDifferenceStatus": "UNKNOWN" }, "backLeft": { "currentPressure": null, "optimalPressure": null, "differencePressure": null, "tirePressureDifferenceStatus": "UNKNOWN" }, "backRight": { "currentPressure": null, "optimalPressure": null, "differencePressure": null, "tirePressureDifferenceStatus": "UNKNOWN" } }, "windows": { "frontLeft": "INVALID", "frontRight": "INVALID", "backLeft": "INVALID", "backRight": "INVALID", "roof": "INVALID", "maintenanceHatch": "INVALID", "sunroof": { "status": "INVALID", "positionInPercent": null } }, "parkingTime": null, "overallOpenStatus": "CLOSED" }
I have no more information about batteryLevel and remainingRanges.electricalRange.distance
Can you check that you have the permissions required? Is it possible that your Porsche Connect service hasn't been renewed? I have pushed a small update to let you check permission using the CLI: ./cli.py permisssions --all
python3.9 ./cli.py permissions -a { "userIsActive": true, "userRoleStatus": "ENABLED" }
Don't you think it has something to do with the recent migration of the porsche services to new servers/new services ?
So I don't know why but it is working today. I think it was a server side problem. So you can close this ticket. Thanks Regards.
Good to hear!
Hi, It's seems that something has changed in Porsche server side. The API is not working anymore now. Any idea ? Thanks.