Replies: 1 comment 1 reply
-
Have you tried that does your login credentials work with the official Peugeot app? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have been interested in this project for a long time. I used to have it installed and configured correctly and it worked fine. Since some time I have a problem for which I can not find a solution.
I currently have an add-on installed in HA (psaccc-ha). After the installation and initial configuration, it appears to be ok, but in the logs it shows that there is a problem. For a test, I installed and configured the project in docker - the result is the same.
It shows a problem with OTP Coda and asks for reconfiguration. Despite many attempts, it still does not work. But the log shows the correct VIN of the car and identifies it.
`Containerised psa_car_controller loading...
2023-12-29 11:21:32,666 :: INFO :: App version 3.2.0
2023-12-29 11:21:34,086 :: INFO :: ["{'vin': 'VR3UHZKXZNT0XXXXX', 'vehicle_id': '13f914489f780d88de5b5401d66fa1697930ebf5de76f8c3XXXXXXXXXX48daaed9ad302e1222a66a9d757c6efd3bdf58e815e103bb6e6b3e8973ea6393e462405b21c3ff152f7efb06325a0718d66787d15319f8c24f1d2ee0130', 'label': 'e-208', 'brand': 'Peugeot', 'abrp_name': 'peugeot:e208:20:50', 'battery_power': 46, 'fuel_capacity': 0, 'max_elec_consumption': 70, 'max_fuel_consumption': 0}"]
2023-12-29 11:21:34,544 :: ERROR :: remote_refresh_token isn't defined
2023-12-29 11:21:35,192 :: ERROR :: Error during activation: {'err': 'NOK:FORBIDDEN'}
2023-12-29 11:21:35,193 :: ERROR :: get_otp_code:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/psa_car_controller/psa/RemoteClient.py", line 193, in get_otp_code
otp_code = self.otp.get_otp_code()
File "/usr/local/lib/python3.9/dist-packages/psa_car_controller/psa/otp/otp.py", line 279, in get_otp_code
raise ConfigException("Can't get otp code")
psa_car_controller.psa.otp.otp.ConfigException: Can't get otp code
2023-12-29 11:21:35,349 :: ERROR :: Please redo otp config
2023-12-29 11:21:35,897 :: ERROR :: Error during activation: {'err': 'NOK:FORBIDDEN'}
2023-12-29 11:21:35,898 :: ERROR :: start_remote_control failed redo otp config
2023-12-29 11:21:35,899 :: INFO :: save config change
2023-12-29 11:21:35,900 :: WARNING :: Can't get language
2023-12-29 11:21:43,779 :: INFO :: update_data
2023-12-29 11:21:51,976 :: INFO :: * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
2023-12-29 11:22:19,109 :: ERROR :: 192.168.178.2 - - [29/Dec/2023 11:22:19] code 400, message Bad request version ('À\x13À')
X\àtÈLò&}j}ç<P B²Ýäáøÿ×§?yj¸¬ãîe_þ*ÆÖ©â&À+À/À,À0̨̩À[29ÀÀ" HTTPStatus.BAD_REQUEST -¤9ï¿
2023-12-29 11:22:19,237 :: INFO :: 192.168.178.2 - - [29/Dec/2023 11:22:19] "GET / HTTP/1.1" 200 -
2023-12-29 11:22:26,681 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:26] "GET / HTTP/1.1" 200 -
2023-12-29 11:22:26,727 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:26] "GET /assets/99_custom_overides.css?m=1700915592.0 HTTP/1.1" 200 -
2023-12-29 11:22:26,729 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:26] "GET /assets/clientside.js?m=1700915592.0 HTTP/1.1" 200 -
2023-12-29 11:22:29,154 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /_dash-layout HTTP/1.1" 200 -
2023-12-29 11:22:29,156 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /_dash-dependencies HTTP/1.1" 200 -
2023-12-29 11:22:29,210 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:22:29,234 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /_favicon.ico?v=2.14.1 HTTP/1.1" 200 -
2023-12-29 11:22:29,242 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /assets/images/settings.svg HTTP/1.1" 200 -
2023-12-29 11:22:29,247 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /assets/images/consumption.svg HTTP/1.1" 200 -
2023-12-29 11:22:29,251 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /assets/images/pollution.svg HTTP/1.1" 200 -
2023-12-29 11:22:29,253 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /assets/images/battery-charge-line.svg HTTP/1.1" 200 -
2023-12-29 11:22:29,256 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /assets/images/electricity%20bill.svg HTTP/1.1" 200 -
2023-12-29 11:22:29,271 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /control?header=false HTTP/1.1" 200 -
2023-12-29 11:22:29,345 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /_dash-layout HTTP/1.1" 200 -
2023-12-29 11:22:29,348 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "GET /_dash-dependencies HTTP/1.1" 200 -
2023-12-29 11:22:29,404 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:29] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:22:35,225 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:35] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:22:35,379 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:35] "POST /_dash-update-component HTTP/1.1" 204 -
2023-12-29 11:22:35,380 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:35] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:22:35,382 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:35] "POST /_dash-update-component HTTP/1.1" 204 -
2023-12-29 11:22:39,478 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:39] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:22:40,467 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:40] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:22:41,209 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:22:41] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:23:03,789 :: ERROR :: Error during activation: {'newversion': None, 'newversionurl': None, 'err': 'NOK:MAXNBTOOLS'}
2023-12-29 11:23:04,223 :: ERROR :: remote_refresh_token isn't defined
2023-12-29 11:23:04,719 :: ERROR :: Error during activation: {'err': 'NOK:FORBIDDEN'}
2023-12-29 11:23:04,719 :: ERROR :: get_otp_code:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/psa_car_controller/psa/RemoteClient.py", line 193, in get_otp_code
otp_code = self.otp.get_otp_code()
File "/usr/local/lib/python3.9/dist-packages/psa_car_controller/psa/otp/otp.py", line 279, in get_otp_code
raise ConfigException("Can't get otp code")
psa_car_controller.psa.otp.otp.ConfigException: Can't get otp code
2023-12-29 11:23:04,720 :: ERROR :: Please redo otp config
2023-12-29 11:23:05,251 :: ERROR :: Error during activation: {'err': 'NOK:FORBIDDEN'}
2023-12-29 11:23:05,252 :: ERROR :: start_remote_control failed redo otp config
2023-12-29 11:23:05,253 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:05] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:23:05,900 :: INFO :: save config change
2023-12-29 11:23:07,233 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:07] "GET / HTTP/1.1" 200 -
2023-12-29 11:23:07,347 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:07] "GET /_dash-layout HTTP/1.1" 200 -
2023-12-29 11:23:07,348 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:07] "GET /_dash-dependencies HTTP/1.1" 200 -
2023-12-29 11:23:07,378 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:07] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:23:07,434 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:07] "GET /control?header=false HTTP/1.1" 200 -
2023-12-29 11:23:10,488 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:10] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:23:13,492 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:23:13,493 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:23:13,495 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "POST /_dash-update-component HTTP/1.1" 200 -
2023-12-29 11:23:13,496 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "POST /_dash-update-component HTTP/1.1" 204 -
2023-12-29 11:23:13,518 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "GET /style.json HTTP/1.1" 200 -
2023-12-29 11:23:13,519 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "GET /_dash-layout HTTP/1.1" 200 -
2023-12-29 11:23:13,520 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "GET /_dash-dependencies HTTP/1.1" 200 -
2023-12-29 11:23:13,634 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "GET /assets/sprites/osm-liberty@2x.json HTTP/1.1" 200 -
2023-12-29 11:23:13,643 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "GET /assets/sprites/osm-liberty@2x.png HTTP/1.1" 200 -
2023-12-29 11:23:13,785 :: INFO :: 192.168.178.60 - - [29/Dec/2023 11:23:13] "POST /_dash-update-component HTTP/1.1" 200 -
Beta Was this translation helpful? Give feedback.
All reactions