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

Force a charge/Mode #15

Open
simonrb2000 opened this issue Apr 18, 2020 · 3 comments
Open

Force a charge/Mode #15

simonrb2000 opened this issue Apr 18, 2020 · 3 comments

Comments

@simonrb2000
Copy link

Hi,

Great plug in. Is there a way to display what mode the battery is in or even force it to charge off the grid by clicking a button? I read the API to the servers is quicker than the API to the gateway. (Hope I have that right).

Cheers

@datMaffin
Copy link
Owner

If the corresponding HTTP calls exist and they do not require authentication:
I would add the switches to display and update the current state.

However, I am relying on the documentation as presented here: https://github.com/vloschiavo/powerwall2 and I do not see a way to read and/or update the behaviour. (Could have missed it; there are a lot of possible HTTP calls).

In addition, if authentication would be required I would not know how to implement it.

About your last statement

I read the API to the servers is quicker than the API to the gateway. (Hope I have that right).

I am not entirely sure what you mean with "server" and "gateway" in this context:
This plugin sends HTTP calls to the (local) ip-address of the tesla-powerwall.
So, I would say the tesla-powerwall is the server providing the gateway (over HTTP).

@datMaffin
Copy link
Owner

datMaffin commented Apr 19, 2020

Ok, I double checked the HTTP calls. It seems as if /api/operation would be the url of the call. Calls to /api/operation seem to need authorization; so:

In addition, if authentication would be required I would not know how to implement it.

@simonrb2000
Copy link
Author

simonrb2000 commented Apr 19, 2020 via email

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