diff --git a/code/espurna/emon.ino b/code/espurna/emon.ino index 7b9eabf0..62d1abf0 100644 --- a/code/espurna/emon.ino +++ b/code/espurna/emon.ino @@ -171,6 +171,10 @@ void powerMonitorLoop() { char buffer[20]; snprintf(buffer, 20, "%s;%s", power, e); domoticzSend("dczPowIdx", 0, buffer); + snprintf(buffer, 20, "%d", voltage); + domoticzSend("dczVoltIdx", 0, buffer); + snprintf(buffer, 20, "%s", String(current).c_str()); + domoticzSend("dczCurrentIdx", 0, buffer); } #endif