svenerbe / ecoflow_dynamic_power_adjustment

Service Description: EcoFlow Device API Integration for Power Stream Control
56 stars 6 forks source link

How to use with 2 Powerstreams #19

Open MarcoJ28 opened 6 months ago

MarcoJ28 commented 6 months ago

Thanks for this ingenious script. It has worked quite well so far. But now I have a second balcony power station. I have the following setup: -Powerstream 1 & battery -Powerstream 2

Powerstream 2 always feeds into the grid/house anyway. However, Powerstream 1 should only feed into the house if the output of Powerstream 2 is not sufficient. Otherwise, the PV power generated should be fed into the battery.

Now I'm wondering how the automation with your script looks the smartest so that it all works. If I use the sensor of the house connection twice, it won't work either.

vormstein commented 6 months ago

As far as my understanding goes, when you have two powerstreams in the same WiFi network, they automatically couple to one virtual system.

svenerbe commented 6 months ago

You have just one ps with battery? Then you can use just your ps1 with the script and your grid sensor. Why you need the script with ps2 if you have no battery connected to ps2?

MarcoJ28 commented 5 months ago

Thanks for your answers. I'll keep an eye on it and report back on what happens.

marcuslib commented 5 months ago

in the app they are coupled together, but when using this script they are separate, you just need to setup 2 automation, each with the different serial numbers.

Naumsede commented 2 months ago

Hi folks, I have now 2 powerstreams with 2 batteries. Can anyone help me with editing the script?

My situation: I have one automation for both powerstreams which calls the pyscripts - depending on the battery level, what makes everything a little more complicated (max 200 W per Powerstream under 26% battery, full input above 25%, no input under 16%). I have therefore 2 pyscripts (full load with true and false and 200 W max) for every powerstream. The powerstreams are in different accounts with different keys and secrets (what should be no problem). When I now for example divide the NewPermanentWatts in two (the half for every powerstream), every powerstream makes a third an the other 33% come vom the grid...

Is there any clever option for dividing the house load between two powerstreams with battery? Dividing the sensor W from the shelly in the automation doesn't work.

Thanks a lot in advance!!!

Kind regards Thomas