Skip to content
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

Authentication #103

Open
darryllee opened this issue Aug 27, 2024 · 1 comment
Open

Authentication #103

darryllee opened this issue Aug 27, 2024 · 1 comment

Comments

@darryllee
Copy link
Contributor

darryllee commented Aug 27, 2024

Hi Vince, you wrote:

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!!

@vloschiavo
Copy link
Owner

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.

vloschiavo pushed a commit that referenced this issue Sep 20, 2024
* 103 copy the documentation from the OpenAPI login endpoint

* Update README.md

used the wrong 5 chars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants