Tesla removed those two settings from the local gateway API which is how the native Home Assistant integration functions. Those settings are now available only in the Tesla cloud API which is not supported by the native HA integration.
If you supplementally install the 3rd party integration manually or via HACS, you’ll get those settings as well. It’s no problem running both integrations alongside one another, they won’t conflict.
The Teslemetry integration has been designed from the ground up to provide full access to the official Tesla FleetAPI, including a fully supported core Home Assistant integration, which I am using for Powerwall controls.
I’m not sure how Teslemetry could assist in this situation, but as a general suggestion I’m glad to know it exists.
Generally I prefer to keep as much local as possible and try to avoid any cloud APIs unless there’s no other choice, so I think it’s unlikely I’d move to it.
Another way to say this is that all of the Tesla data is available locally and only two commands require the cloud which is available from Tesla for free.
Why would I pay 25/year just to access those two commands when I can get them for free? The teslemetry product doesn’t provide any benefit that I can see over the native Tesla api.
Perhaps it makes more sense for people who own one of the cars.
Am I right in assuming that the second setting is actually the “Operational Mode” in the app, so between “Self Powered” and “Time Based Control”. The reason I ask is that I always use the “Time based control” anyway. So I assume that if I then set my battery backup reserve then the battery should charge if my condition has been met in the automation. Or am I wrong?
I just had my Tesla solar and 4x Powerwall system installed a few weeks ago. Until PTO, I am running in self-consumption mode without exports to the grid. Though my system is 23.49kW PV DC and 20.9kW AC, after solar generation reaches > 18kw, the system will begin dumping all excess not used by the house to the grid. I’m told by Tesla this will resolve once I have PTO. To prevent this, I have been switching the system to Off-Grid Mode a bit before peak production each day if its sunny and getting up there. I decided to try to automate this and I think I got it! As of now, here is the automation:
Another simple automation turns it off at 2pm when I’m well past the point of peak generation and certainly below 18kW generation. Just set this up this morning. Excited to see how it works.
Note: As I wrote this I realized I probably could just tell it to turn off the grid once production got to around 17kW and then enable the grid once production was below 15kW for over 30 minutes or something like that. I’ll try it this way first.
Created another automation to stop pulling from the grid by setting off-grid to on if the battery is at least 30% charged and home is not pulling more than 16kW.
I’ve got Energy Exports Solar or Everything in HA (Tesla Custom Intergration) but not in the Tesla app. Does this mean I can’t export at 5kW?
And I need to contact Tesla?
I’ve got the export price set at £15 right now and it’s still not discharging… Which leads me leads me to the idea that the answer is “Yes”.
FYI: I’ve used your helper ideas and scripts, just working with automations now
Providing the Powerwall Operational Mode is “Time-Based Control”, and the Powerwall export limit has been set according to the DNO approved amount, in the Tesla app > Settings > Powerwall you should see “Energy Exports” with an option for Everything. If not, your export limit has likely not been set correctly and you will need to contact your installer, or Tesla, with the DNO letter for them to set it.
As Mark says, if you don’t have the Energy Exports option then you may not be allowed to export by the DNO (or other electricity authority if you’re not in the UK) - in our case we’re allowed to export from our solar up to the 16A statuatory limit but are not allowed to export from the Powerwalls.
I have two Tesla Powerwall 2 (5kW discharge each) and a 3.68 inverter, so a theoretical 13.68kw total export. However the G99 application response from the DNO approved only 8.68kW total (note the text “5.0kW (zero export) battery”). I contacted Tesla and gave them this response they remotely configured the Home Backup gateway to limit export to this 8.68.
I got Tesla powerwall battery and moved to Amber Electric recently. Like to know what you have made for the automations. Setup the notification of solar feedin in negative. Then, it should have another one to tell the solar feedin back to normal.
can you share the Tesla Battery prevent discharge scripts? I like to set my home solar/battery to maintain current battery level but not charge. Send all exccess solar power to grid. Still thinking how to do it. Tesla custom integration has only two options solar, everything in exports mode. Not sure what is default mode
@pjvenda Read all your threads again. And understand what you are doing. Thanks a lot for your effects. I am in Australia and have Tesla Powerwall battery and using Amber as power supplier. Amber has it own app to control tesla powerwall battery and ask all tesla user to set mode as self powered all the time. I test a few functions for Tesla custom integration, And find Export mode doesn’t work anymore in my case, no matter it is on “solar” or “everything”. In Tesla App I did setup a schedule to put very high feedin price as 1.00. Still not doing anything if even in TOU mode, when flip solar to everything.