Browse Source

Fix bug in emon topic payload

fastled
Xose Pérez 8 years ago
parent
commit
6175a31a8a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/emon.ino

+ 1
- 1
code/espurna/emon.ino View File

@ -112,7 +112,7 @@ void powerMonitorLoop() {
measurements = 0;
char power[6];
snprintf(power, "%d", 6, _power);
snprintf(power, 6, "%d", _power);
mqttSend(getSetting("emonPowerTopic", EMON_POWER_TOPIC).c_str(), power);
#if ENABLE_DOMOTICZ
domoticzSend("dczPowIdx", power);


Loading…
Cancel
Save