Newbie programming HW Energy socket

Would it be possible to give me an example on how to program the following in Home Assistant: Currently I am using a Homewizard energy socket (Order the Energy Socket in our store - HomeWizard) to automatically charge the Bluetti Ac500 when there is solar input from the solar panels. The Solar panel inverter is connected to a Homewizard Kwh-meter (Order the kWh Meter 1-Phase in our store - HomeWizard). The rules are: Turn of the battery charging when there is more then 50 watt power consumption (the energy socket get turned off). Turn on the battery charging when there is incoming solar power (- 140 watt)
I would like to know what are the parameters to program this in Home Assistant. I am sorry I am new to Home Assistant.

1 Like