pyess icon indicating copy to clipboard operation
pyess copied to clipboard

Add support for the new load from grid feature

Open PanicMan opened this issue 11 months ago • 4 comments

Hello, from Firmware 10.05.7433 / 04.10.2024 R2159 it is now possible to active load the battery from Grid:

Image

it is in the usual Battery-Menu, not the Installer settings. Here you can force an load from Grid, which is really useful for ppl with an dynamic provider like Tibber, where you can charge the battery at night when the price is low. Especially in the Nov-Feb months.

Is it possible to implement that switch inside pyess so we can activate it the smart home system automatically? Would be really helpful! Greetings Jack

PanicMan avatar May 26 '25 10:05 PanicMan

@PanicMan this will have to be reverse-engineered and implemented by someone owning an ESS that still has software updates. Mine unfortunately last updated some 4 or so years ago. One has to have the device to reverse engineer the API.

gluap avatar May 26 '25 13:05 gluap

I could, eventually, what do you need? An WireShark recording of the Command the App is sending to the Inverter?

PanicMan avatar May 26 '25 15:05 PanicMan

It's already been reverse-engineered by someone (and implemented at least in evcc.io). This might be a good starting point: https://github.com/evcc-io/evcc/issues/16637#issuecomment-2585800784

zaj78 avatar May 28 '25 12:05 zaj78

@PanicMan wireshark is not enough - the app connects via https, so to reverse engineer one needs to set up a reverse proxy and make the app trust it (at least that's the way I did it when I was implementing this initially).

@zaj78 that's helpful, likely we don't need to reverse engineer this ourselves then. edit: just noticed that that is your own PR - Thanks for spreading the knowledge!

gluap avatar May 28 '25 14:05 gluap