datMaffin / homebridge-tesla-powerwall

Homebridge Plugin for the Tesla Powerwall
ISC License
21 stars 11 forks source link

403 before login complete #36

Closed cda0011 closed 2 years ago

cda0011 commented 2 years ago

Hi,

It seems that the plugin attempts to invoke the powerwall API before the login completes ... (see below) I've verified the credentials are correct using https://github.com/vloschiavo/powerwall2/blob/master/samples/powerwallstats.sh

The plugin is partially working ... the Battery Charge and Grid Feed accessories are market as not supported

[1/18/2022, 9:50:55 AM] [Tesla Powerwall] Unexpected response: 403 User does not have adequate access rights [1/18/2022, 9:50:55 AM] [Tesla Powerwall] Unexpected response: 403 User does not have adequate access rights [1/18/2022, 9:50:55 AM] [Tesla Powerwall] Login successful

datMaffin commented 2 years ago

Yes, it trying to fetch data before the login is successful is not that great. (Though it should not be that critical either.)

About Battery Charge and Grid Feed shown as not supported: Those are probably the Eve.app services that Home.app does not support. Some of them are enabled by default, but they can be disabled (see https://github.com/datMaffin/homebridge-tesla-powerwall#configuration )

See also: #26

cda0011 commented 2 years ago

thanks for the quick response and the plugin