POST /api/login/Basic
Note: This section needs updating: Does this work?
Authentication example: Note: Getting an authentication token will stop the powerwall. It won't charge, discharge, or collect stats on v1.15+. Therefore you should re-enable the powerwall after getting a token.
See: the /api/sitemaster/run section above.
Getting authentication tokens no longer stops the powerwall (THANK GOODNESS), and your sample payload is incorrect. I took a peek at @jasonacox 's pwstatus.sh and config file to find out that you're missing a "username":"customer" value.
I truly do appreciate all the pioneering work you did in researching this API though. Thanks!!
Thanks, I'd love some help. If you can, feel free to issue a pull request. Otherwise, you can draft the change and post it here, and I'll add to the documentation.
Hi Vince, you wrote:
Getting authentication tokens no longer stops the powerwall (THANK GOODNESS), and your sample payload is incorrect. I took a peek at @jasonacox 's pwstatus.sh and config file to find out that you're missing a "username":"customer" value.
I truly do appreciate all the pioneering work you did in researching this API though. Thanks!!