diff --git a/mpod.cpp b/mpod.cpp index d46fd3f791ea5cc1bf08b69b1ccc70412305dc56..c119546e72a021eb50293a0d15bd8fada38c6519 100644 --- a/mpod.cpp +++ b/mpod.cpp @@ -266,7 +266,8 @@ void setChannelStateAndWait(const IPAddress *ipAddr, const uint16_t channel, con if ((mpod.isOn() == (bool)output || mpod.isInterlocked())) { settingChannelState = false; } else if (loopCount >= 5) { - // Resend set command + // There were no changes in 5 reads, it might be that the command (UDP) + // got swallowed by the MPOD controller while doing something else. Serial.print("!Resend command to "); Serial.println(channel); SNMP::Message *snmp_msg = mpod.setChannelState(channel, output); diff --git a/rest.cpp b/rest.cpp index e71b0837da9a35ae53a3aa3b931ba765fa5b8cc2..c6536cc54d3bd9401416f7f988e43894e2623180 100644 --- a/rest.cpp +++ b/rest.cpp @@ -78,10 +78,6 @@ void identify() { message += elapsed_seconds; message += "\n},"; - // TODO: Add here power sequence status - // is_ramping_down - // current step - // percentage message += "\"status\":{\n"; message += "\"ramping\":"; message += PINS.ramping;