Marstek 'self consumption' mode, but with Homey

Hi,

is there an app that does the same as Marstek’s ‘self consumption’ mode? or a not too complicated flow that can achieve the same?
i want to avoid using the Marstek mode as i would like to use Homey energy dongle instead of HW P1 dongle, which seems to have worse wifi reception and therefor loses functionality..

kind regards,
Floris

With a P1 splitter you can use both.

thanks, but that was not really the question.
I’m really looking to the software side: how can you achieve something similar to Marstek ‘self consumption mode’ with a Homey Flow.

is it as simple as setting the marstek power to {{-homey_energy_power + marstek_grid_output_power}}?

Maybe you can try this app: SmartLoading for HomeBattery | Homey