You can install our site as a web app on your iOS device by utilizing the Add to Home Screen feature in Safari. Please see this thread for more details on this.
Note: This feature may not be available in some browsers.
I'd like to test with a curl, could you please send the right command ?
I'm trying to use Teslapy but I can't manage to make it to work, even with a container... Really strange
Es^pecially as my phone app is working perfectly
very interested as wellDoes anyone have the API commands for changing charging current yet? That's apparently released on iOS now (subject to car being on 2012.36+)
Does anyone have the API commands for changing charging current yet? That's apparently released on iOS now (subject to car being on 2012.36+)
very interested as well
"CHARGING_AMPS": {
"TYPE": "POST",
"URI": "api/1/vehicles/{vehicle_id}/command/set_charging_amps",
"AUTH": true
},
I switched to this library and it hasn't been working for me for roughly 2 months now.@ScanxTaz If you're using Windows, the Test.WPF app from GitHub - tomhollander/TeslaAuth: C# / .NET core library for authenticating to Tesla's Owner API seems like a pretty good way to do authentication, since it uses a WebView, and thus ought to be able to handle CAPTCHAs or any other weird javascript stuff the authentication server throws at you.
The just tried the sample WPF app today, and it worked fine.I switched to this library and it hasn't been working for me for roughly 2 months now.
From this:
tesla-api/docs/miscellaneous/endpoints.md at master · timdorr/tesla-api
🚘 A Ruby gem and unofficial documentation of Tesla's JSON API for the Model S, 3, X, and Y. - timdorr/tesla-apigithub.com
I see:
Code:"CHARGING_AMPS": { "TYPE": "POST", "URI": "api/1/vehicles/{vehicle_id}/command/set_charging_amps", "AUTH": true },
I don't exactly how to use it, but I presume its usage is consistent with other API commands.
tried this too, still getting a 404 in postman... most likely bcos the car's not on 2021.36 yet.. if anyone's on .36 and can verify this endpoint and parameter I'd be very interested. At least it gives us a head start coding for it before the car's FW drops.Use command "CHARGING_AMPS" with parameter charging_amps=value (where value = between 5-32 (EU)).
me too, i just tried it, didnt work. I think Tesla updated their login page so it doesn't take the "credentials" form post field automatically anymore and has to be key'ed in, which of course doesnt work since it's a HttpClient that runs on backend and doesnt present a window. maybe Tom will update the code later. For now I'm just generating oauth2.0 tokens via Postman and using it till it expires - then repeat. Hopefully this gets fixed soon.I switched to this library and it hasn't been working for me for roughly 2 months now.
me too, i just tried it, didnt work. I think Tesla updated their login page so it doesn't take the "credentials" form post field automatically anymore and has to be key'ed in, which of course doesnt work since it's a HttpClient that runs on backend and doesnt present a window. maybe Tom will update the code later. For now I'm just generating oauth2.0 tokens via Postman and using it till it expires - then repeat. Hopefully this gets fixed soon.
Probably the most reliable way of using the library is to integrate a WebView into your application and have it show Tesla's login UI. This approach should be resilient to certain changes on Tesla's side, such as when they randomly decide to include (and later remove) a CAPTCHA on the login page. Since Tesla incorporated a CAPTCHA on their login page, it is no longer possible to authenticate using your own UI.
The Test.WPF project demonstrates a complete login and refresh flow. The sample only runs on Windows, but the library itself is cross platform (e.g. works on Xamarin).
Yes, your car need to be on FW 2021.36 or newer for it to work. I'm on this version, and here it works fine after I found the right parameter to send with the command.Re chaging_amps, we've been chatting about it over here Adjust Tesla charge rate from mobile app, API & PW2 to allow use of excess solar but probably best to centralise API-based discussions on this thread..
tried this too, still getting a 404 in postman... most likely bcos the car's not on 2021.36 yet.. if anyone's on .36 and can verify this endpoint and parameter I'd be very interested. At least it gives us a head start coding for it before the car's FW drops.
I don't have visual studio installed, and I would prefer to not install it...
Not possible to compile a small executable with the demo in it pleasssse ???
I only need a token to setup my connection into openhab, it's a bit overkill to install vStudio for that no ?
Yeah, I know you're right, and even if you are really nice with me, I must confess I would have some difficulties to use it...Personally, I wouldn't trust a binary from a random stranger on the internet... but I can probably find a way to send it to you, if you really want.
Yeah, I know you're right, and even if you are really nice with me, I must confess I would have some difficulties to use it...
I don't understand what's goin on with this... I'll finally install VStudio, even if I wanted to avoid to do this...
Hey Markb1,Just remember to install Visual Studio Community Edition, not Visual Studio Code.
Hey Markb1,
Could you please provide me some help in using the test.wpf ? I'm not able to run it properly, VStudio always say that I'm missing libraries and so on... I guess I need to put VStudio in a specific "development mode" (webapp for instance), but I can't find the correct way to do so...
Thanks for your help already...