It seems the Enphase APIs changed and when the production dropped to zero, no new values are reported. This results in the last (low) value to remain shown as Watts after production stopped.
Solution is to set Watts to zero if the last report was more than 15 minutes ago and isnight is true.
It seems the Enphase APIs changed and when the production dropped to zero, no new values are reported. This results in the last (low) value to remain shown as Watts after production stopped.
Solution is to set Watts to zero if the last report was more than 15 minutes ago and isnight is true.