Trigger automation when energy is being sent to the grid. #226
-
Since in Italy we do not get paid much for exported solar energy, I would like to turn on a smart plug connected to an electric heating system when the solar energy is being sent to the grid, and rather use that energy to heat my house. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@davidecorradini first of all you probably need to add some templated sensors to give you the power flows you really need for your system. I've added some documentation here https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Template-Sensors-for-Power-and-Energy of the sensors I use. I have a single battery, but it should be relatively straightforward to add the second battery by creating a new sensor for the battery DC power which is the sum of the 2, then use it where I have used the battery power directly. I have an automation that does exactly what you are describing. I found I had to average the exported power over time to avoid the heater constantly switching on / off - so I have an additional sensor like this:
And from this I have an automation that is configured like this:
|
Beta Was this translation helpful? Give feedback.
-
Wow! Thank you, Matt. I really appreciate! |
Beta Was this translation helpful? Give feedback.
@davidecorradini first of all you probably need to add some templated sensors to give you the power flows you really need for your system. I've added some documentation here https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Template-Sensors-for-Power-and-Energy of the sensors I use. I have a single battery, but it should be relatively straightforward to add the second battery by creating a new sensor for the battery DC power which is the sum of the 2, then use it where I have used the battery power directly.
I have an automation that does exactly what you are describing. I found I had to average the exported power over time to avoid the heater constantly switching on / off - …