When automations are created via the Settings/Automations & scenes menu, the Yaml code is stored in the file /homeassistant/automations.yaml
Switch on airco when the solar panels inject more than 900W
Switch on boiler when the solar panels inject more than 1900W
Regulate boiler power in function of solar injection
The aim is to make the boiler heat only on solar power, using a dimmer.
https://www.shelly.com/products/shelly-0-1-10v-dimmer-pm-gen3
and a proportional solid state relays that is controlled with 0-10V from the Shelly dimmer
https://www.aliexpress.com/item/1005007809326780.html
As soon as 100W injection is available, the boiler can start
If more than 1700W injection is available, the boiler power can be set to 100% 1600W
The value of the injected power to the grid comes from the HomeWizard P1 meter.