-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
teslajsonpy.exceptions.TeslaException: HTTP 406: not_a_JSON_request #231
Comments
Hello, Same here since update 2022.7.2 Good luck Edit : It seems that it only concerns : CHARGING_AMPS The following commands work fine :
Call :
results :
|
Same here, also after updating to 2022.7.2 |
I am still on version 2022.6.4 and CHARGING_AMPS stopped working for me yesterday. |
I can’t make it do much of anything. Open trunk, flash lights, set charge limit, etc. all return the following error from the teslajsonpy debug log:
The "not_a_JSON_request" is odd to me... |
It's probably a Tesla API change. Until someone figures out a solution, there may be nothing to do except avoiding hammering Tesla's servers and getting blocked. timdorr/tesla-api#594 |
I updated the file at /usr/local/lib/python3.9/site-packages/teslajsonpy/connection.py in my HA docker by changing line 200 from |
Version of the custom_component
2.0.0
Configuration
Describe the bug
Today, the service api is broken.
when calling api i have tis result: Call-service error
No problem before
Step to reproduce:
go in developper tools - > service.
Call service tesla custom api:
service: tesla_custom.api
data:
command: CHARGING_AMPS
parameters:
path_vars:
vehicle_id: '{{ state_attr(''binary_sensor.re_volt_online_sensor'', ''id'') }}'
charging_amps: 15
The text was updated successfully, but these errors were encountered: