Return to grid #23
-
Apologies if this is obvious but I am fairly new to ESPHome so just want to make sure my understanding is correct. I currently have a grid tied solar system and would like to be able to calculate the return to grid values. Within the yaml configuration files for the Emporia the filter *pos is applied to both phases which removes any negative values. Am I correct in thinking that removing that filter will allow me to get the return to grid values or am I oversimplifying it? Again, apologies if this is obvious to some but I've spent several days trying to math this out and to find out it only took me removing a filter within the config feels overly simple |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
You are correct. I'm not sure if I'm missing some requirement you have, but you don't need to take the absolute value: negative values will be returned to grid, positive values will be received from grid.
It happens. I've spent weeks on simple one-line issues before :) |
Beta Was this translation helpful? Give feedback.
-
Is it not possible to make ESPHome return the additional values so they just "show up" in Home Assistant? |
Beta Was this translation helpful? Give feedback.
-
Here is my current esphome yaml config in case its useful for reference. There may be better ways to achieve these sensors but seems to be working for me so far.
|
Beta Was this translation helpful? Give feedback.
You are correct. I'm not sure if I'm missing some requirement you have, but you don't need to take the absolute value: negative values will be returned to grid, positive values will be received from grid.
It happens. I've spent weeks on simple one-line i…