First of all, Im not sure if Im translating this correct. In further I call it SolarPower which means (in my world) energy that is going to the electric grid from my solarsystem.
Im kinda new to HomeAssist and I managed to add my SolarEdge Inverter and the elctric meter via Modbus TCP into my HomeAssistant.
Needs some time to track data, but on a first look every values seem to be correct.
I set the modbus update intervall to 10 seconds (wasnt sure what to take here).
Now I want to turn Fritz Plugs (Fritz Dect 210) on, when I have enough Solar Power.
And later on (if I manage to get my Wallbox into HomeAssist) load my car (PHEV only) with Solar Power.
Im not sure how to set up this automation to make it being good.
Ive got the sensor sensor.solaredge_m1_ac_power. This tells me if I get my electricity from the grid (positive values) or if I export it to the grid (negative values). (Hope its correct that way (i.e. for energy dashboard))
For example letz say I have 2 plugs. P1 manages a device with 1200Watt, P2 manages 500W.
If I have enough power, I want to turn on P1 first and if there is enough power left, turn P2 on.
I could now start an automasation and check this ac power sensor,. On every change I check if the value is bigger than 0 (else turn all off).
If bigger 0 i check if P1 and/or P2 are running and do nothing.
If they are not running I turn on P1 If the sensors value is bigger than 1700W (P1+P2) I turn on P2.
This should work, but obviously its kinda hard to add more plugs or my car, so this automatisation cant be good…
Can you give me a nicer way to do this? (dont forget Im willing to learn, but absolutely nooby)