#Solar power is not shown
1 messages · Page 1 of 1 (latest)
Yes, alle energy needs to be positive.
For power sources, everything flowing tinto the house (grid import, PV, battery discharge) need to be positive. Flowing out of the house (grid export, battery charge) needs to be negative.
Devices need to be positive.
Maybe this is worth mentioning during setup 🙁
Is there any easy way to achieve this when setting up solar with a shelly? I guess this is quite common use-case.
There's some pending PRs to allow for inverted power sensors, but they aren't ready or merged yet.
Well actually that might not apply for Solar.
It does mention it for power but indeed not for energy.
If you use a EM Shelly (which I would recommand with PV vs one that can switch), you just flip the CT clamp 🙂
For now you can fix it with a template sensor.
Is there like a collection of useful helper templates around?
Used {{ states('sensor.shelly1pmminig3_switch_0_power') | float(0) | abs }} for now...
Make sure you give the template sensor an availability as well. Otherwise it will cause trouble
default to 0 is generally acceptable for power, not for energy.