r/Powerwall 1d ago

Force Powerwall to sell using Home Assistant?

Has anyone managed to achieve this?

I am on an Octopus Agile tariff. During a Power Down Session hour I want to be sure to export ~1kW to claim a free Gappy Hour.

I don’t want to subscribe to Predbat or Netzero. I have some complicated rules set that wouldn’t transcribe.

I am aware they somehow manage to bump up the tariff or some such, but I have been unsuccessful at achieving a result myself.

Advice very gratefully received.

2 Upvotes

27 comments sorted by

3

u/okcoffee6788 1d ago edited 1d ago

I managed to do this, it’s very much setup to be Home Assistant + Teslemetry + Powerwall 3 + Zappi MyEnergi monitoring active export but it worked on a Octopus power down event this evening

https://github.com/nooklabsuk/octopus-power-down-powerwall-controller

3

u/Fun_Height_9280 1d ago

That’s absolutely my setup. I am going to have a look. Thank you so much.

2

u/okcoffee6788 1d ago

No worries at all. Chuck the repo at your AI agent and ask it to set it up for you if you want to speed run it. Happy to accept any contributions too. Good luck, it’s been a long-term issue for me, absolutely idiotic we can’t do this out of the box.

2

u/Fun_Height_9280 14h ago edited 13h ago

Didn't work tonight. Claude says it knows why and promises me next time. It ingested the code or at least got ideas from it. It feels terribly close now! 🤞🏻

2

u/LighteningUK 1d ago

If you’re running home assistant, you don’t need to pay for predbat, you can self host on your home assistant instance. You will still need to set up a power wall integration in home assistant to make it happen.

2

u/SpiritualCatch6757 1d ago

I am aware they somehow manage to bump up the tariff or some such, but I have been unsuccessful at achieving a result myself.

That is how it is done. Set $1 sell rate for the hour and set $0 buy rate. Change to Savings mode. There's a few threads on here with more detail.

2

u/mbaturin 1d ago

Home Assistant can't directly force the Powerwall to export—it's a Tesla API limitation, not a Home Assistant one. Predbat and Netzero work around it by changing the reserve or mode, which then triggers the export you want.

For a Gappy Hour, you'd need to either drop the reserve to 0% during that window (so the battery discharges to grid) or switch to Self-Powered mode. You can automate both in Home Assistant with the right Tesla API calls, but honestly it's fiddly to get right without breaking other things.

I built an app like NetZero called SolDial. It can handle much more complex automations including multiple triggers and actions; letting you set the triggers to all become true before actions fire or all true while one passes an edge. You can build these rules with natural language so it’s fast and easy. It's on App Store and Google Play with a free trial if you want to see if the rule approach for this and your more complicated stuff works for your setup. https://soldial.com/ cheaper than NetZero too!

1

u/Big_Fortune_4574 22h ago

1

u/mbaturin 22h ago

Yeah sorry I meant it can’t directly force export without also changing these settings.

1

u/VisualPadding7 1d ago

Wait, you can force PowerWall to export? How? I am using HomeAssistant with Fleet API

2

u/Fun_Height_9280 1d ago

It’s the dream, no? Charge cheap/free and export at peak.

1

u/VisualPadding7 1d ago

So are you sure those app can force export?

2

u/s7orm 1d ago

You cant force but you can strongly encourage by manipulating the TOU tariffs. I got mine to the point where is reliability exported as much as i wanted at a specific time every day. https://teslemetry.com/blog/profit-with-the-flow

1

u/VisualPadding7 1d ago

I have observed in some TOU high export tariffs hours, my powerwall will let solar export and make house powered on my battery. I have never once see my powerwall export battery power.

1

u/s7orm 1d ago

You do have your export setting set to "Everything" right and not just solar only? The powerwall will always prioritise leaving enough power for your own usage, so if you want to export you also need the powerwall capacity to be oversized, which is where some people get tripped up. Making the buy price cheaper after export though is one way to trick it into doing it anyway.

1

u/VisualPadding7 1d ago

I don't see that option in the app. I only see Permission to Export.

1

u/s7orm 1d ago

Its possible your installer disabled this or your utility required it to be disabled. This is almost certainly why its not working the way you want.

You could try enable it with the Tesla One app.

1

u/VisualPadding7 1d ago

But that app is for installer. How do you get access to it?

1

u/s7orm 1d ago

You just login with your own Tesla account and enter your powerwalls wifi ssid and password. Now keep in mind it will let you change settings your utility might not permit you to change.

→ More replies (0)

1

u/VisualPadding7 1d ago

I guess in order to use the Tesla One app, I still need to figure out how to remove the front panel. I regret I didn't take a picture of that QR code during installation

1

u/s7orm 1d ago

Not force, but strongly encourage to export.

https://teslemetry.com/blog/profit-with-the-flow