mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-29 08:46:11 +02:00
added Nokia display again for ESP8266 #764
changed `var` / `VAr` to SI unit `var` #732 fix MQTT retained flags for totals (P_AC, P_DC) #726, #721
This commit is contained in:
parent
f5ef19ccab
commit
6ef7720324
9 changed files with 41 additions and 19 deletions
|
@ -42,6 +42,7 @@ class Display {
|
|||
}
|
||||
|
||||
void tickerSecond() {
|
||||
loop();
|
||||
if (mNewPayload || ((++mLoopCnt % 10) == 0)) {
|
||||
mNewPayload = false;
|
||||
mLoopCnt = 0;
|
||||
|
@ -79,7 +80,7 @@ class Display {
|
|||
}
|
||||
|
||||
if ((1 < mCfg->type) && (mCfg->type < 10)) {
|
||||
mMono.loop(totalPower, totalYieldDay, totalYieldTotal, isprod);
|
||||
mMono.disp(totalPower, totalYieldDay, totalYieldTotal, isprod);
|
||||
} else if (mCfg->type >= 10) {
|
||||
#if defined(ESP32)
|
||||
mEpaper.loop(totalPower, totalYieldDay, totalYieldTotal, isprod);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue