So far we've seen the installer login now protected and this looks like its Tesla attempt to prevent automation.
Short term work around appears to login in as installer on the UI and choose installer account and toggle power and copy token back to Rest calls.
Tesla if you are watching --- the reason we use these APIs that you are now locking down is because your software is fully inadequate for multiple peaks like 5am-9am and 5pm-9pm. For the love of pete, please support multiple peaks and stop trying to shut down automation.
Okay I got the script somewhat working although I think the fix is brittle, we'll see if it lasts for days:
I had to login as installer on the UI
Track the network traffic, my findings are the UI calls:
Some login toggle API:
It polls that API then waits for the user to go toggle power
After the user toggle power
The Basic Login API returns a token.
I copied and pasted the token into my code and and had to adjust timeout from 2,5 to like 20,50
Appears login takes more time now
If this fix survives will be thankful but somewhat doubtful