|
@ -171,6 +171,10 @@ void powerMonitorLoop() { |
|
|
char buffer[20]; |
|
|
char buffer[20]; |
|
|
snprintf(buffer, 20, "%s;%s", power, e); |
|
|
snprintf(buffer, 20, "%s;%s", power, e); |
|
|
domoticzSend("dczPowIdx", 0, buffer); |
|
|
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
|
|
|
#endif
|
|
|
|
|
|
|
|
|