Tesla Powerwall 2 Integration

I agree, Grid Energy Imported is ~2,7% higher than the value shown by the app.

Home Energy Imported was mentioned above, Home Energy exported is 0 kWh in my case.

Battery Energy Imported is about 10% higher than the value of the charged energy out of the solar panels: 10.9 MWh, app states 9,7 MWh
Might be that Battery Energy Imported takes the usage of the PW (Gateway and storage unit) itself into account too, but the app doesn’t account for this. That’s why you get effifcencies of about 90% in the App and 80% with the values from the api.

Grid Energy Exported is about the same as the value in the app shown on the upper right if you select the grid at the bottom: 18.6 MWh vs 18.4 MWh in my PW.

I corrected my post… Home Energy Exported is also 0 kWh here.
Interesting observations Christian.

For me:
Grid Energy Exported is 2.2 MWh from the api, 1.5 MWh in the app.
Battery Energy Imported - I can’t really tell as my solar and pw were installed years apart.

Oddly my battery reserve is reported as 0 in the thing/channel, but accessing the api directly from the pw gives the correct value. If I had to guess it feels like a format issue ?

My understanding is that to help them with warranty, new batteries have capacity above 13500. Net Zero (phone app) states the degradation is based on 13500, and reports 0% where the current capacity is above this.

I can also confirm that my battery was replaced based on the reported ‘full energy’ being < 70% of 13500.

When I get a chance I’ll tweak things so that degradation is 0 where capacity is above 13500.

Edit: Committed this change and updated the link. Also clarified in the channel description that degradation is based on full capacity of 13.5kW.

Thanks, that is great information to know… also interesting yours was replaced when it less than 70%.. how old was it out of interest ?

Any ideas on this one ? The item is a dimensionless number, so can’t see what is wrong. Does this work correctly for you ?

battery reserve:
Looks like the value is being published as 0.05 instead of 5%

Might be fixed, but you’ll have to recreate the thing. Fixed the units in thing-types.xml

Slow reply, sorry. Looks like the value is still being published as 0.05 instead of 5%, recreated thing and no difference.

My turn this time for a slow reply. Try deleting the item and creating a new one. Perhaps the item inherited the previous (wrong) state description. I created a new thing/item on a fresh install and it looks good here.

That did the trick, thank you.

FWIW the ‘Tesla Powerwall’ binding that uses the local API will be included in OH 4.2.0.

It will require the thing to be removed and recreated as lots has changed as part of the merge process.

has this become the teslapowerwall binding now ?
Asking because the docs at TeslaPowerwall - Bindings | openHAB are totally missing information about the battery control stuff.

There were two bindings in this thread - one for local control and one for cloud based control.

The local control one became the tesla-powerwall binding that’s now in OH, which is read-only.

So how do I control the battery then?

https://smedley.id.au/tmp/org.openhab.binding.teslapowerwallcloud-5.0.0-SNAPSHOT.jar but you’ll need to either register your own developer account with Tesla, or I can send you details to register with mine.

1 Like