I’ve made an update to the Powerwall Manager app to now allow you to paste in an access token directly into the app to allow authorization with the Tesla server. You will need to generate and paste in a new token at least every 45 days.
Due to what appears to be limitations in the current way SmartThings groovy handles URL redirection, I’m not sure the app will ever directly support authorization with the Tesla server by entering in your account and password information alone. I would love to be proven wrong, so if anyone here has a solution, it would be greatly appreciated.
The app also allows you to generate and serve the access token posted via a script running on a local server for those wanting a hands-off approach for refreshing the token periodically.
Only limited testing, so please let me know of any issues.