Why there is no command to (P)reset Sonoff SPM Main EnergyToday? #22287
-
I want to reset or fetch today energy on Tasmota 14.2.0 (release-tasmota32) Why there's commands SspmEnergyTotal and SspmEnergyYesterday, but no SspmEnergyToday? On the web interface EnergyToday, EnergyTotal and EnergyYesterday are calculated separately, how to obtain or change EnergyToday using http command? Is there any workaround? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The general way of getting sensor data, including energy monitoring data, is the command |
Beta Was this translation helpful? Give feedback.
-
The latter until float rolls over |
Beta Was this translation helpful? Give feedback.
There is no way to reset EnergyToday as the ARM devices always provide EnergyToday value.
I'm not going to add this one-time only activity; tomorrow there will be a new energy today.
In addition, the ARM's keep counting their energy anyway so there really is no need to reset today's energy.