From 0e518084d7a57df3bb8cf72dc31800a505e5e03e Mon Sep 17 00:00:00 2001 From: Norbert Richter Date: Mon, 20 May 2019 08:52:05 +0200 Subject: [PATCH] Fix CSE7766 Sensor invalid energy load steps prevention fixes PR #5793 solution which can async (load overflow) forever until device restart --- sonoff/xnrg_02_cse7766.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/sonoff/xnrg_02_cse7766.ino b/sonoff/xnrg_02_cse7766.ino index 078ff3d6e..55d87a163 100644 --- a/sonoff/xnrg_02_cse7766.ino +++ b/sonoff/xnrg_02_cse7766.ino @@ -189,6 +189,7 @@ void CseEverySecond(void) } else { AddLog_P(LOG_LEVEL_DEBUG, PSTR("CSE: Load overflow")); + cf_pulses_last_time = CSE_PULSES_NOT_INITIALIZED; } EnergyUpdateToday(); }