   // Check if AC pump was on for too long
   if (currentlyOn) {
     if ((now() - acpump.switchOnTime) > conf.acPumpOnTimeWarning) {
-      raiseAlert(AcPumpOverload, ((char*)pgm_read_word(&(str_AC_pump_ON_for_too_long))));
+      raiseAlert(AcPumpOverload, ("AC pump ON for too long"));
     }
   }
   

{
  // Process RS-485 commands
  if (net.messageReceived()) {
    if (net.assertCommand((char*)pgm_read_word(&(str_alertPresent))) || net.assertCommand((char*)pgm_read_word(&(str_alarmPresent)))) {
      if (alert.present) {
        if (alert.acknowledged) {
          net.sendResponse((char*)pgm_read_word(&(str_YES_Ack_ed)));
        } else {
          net.sendResponse((char*)pgm_read_word(&(str_YES)));
        }
      } else {
        net.sendResponse((char*)pgm_read_word(&(str_NO)));
      }
    } else if (net.assertCommand((char*)pgm_read_word(&(str_alertReason)))) {
      net.sendResponse(alert.condition);
    } else if (net.assertCommand((char*)pgm_read_word(&(str_getDistance)))) {
      net.sendResponse(itoa(readDistance(), buf, 10));
    } else if (net.assertCommand((char*)pgm_read_word(&(str_getPressure)))) {
      net.sendResponse(itoa(readPressure(), buf, 10));
    } else if (net.assertCommand((char*)pgm_read_word(&(str_getBattVoltage)))) {
      sprintf(buf, (char*)pgm_read_word(&(str_dmV)), readBatteryVoltage());
      net.sendResponse(buf);
    } else if (net.assertCommand((char*)pgm_read_word(&(str_getAcPumpOnTime)))) {
      if (acpump.currentlyOn) {
        sprintf(buf, (char*)pgm_read_word(&(str_d)), acpump.onSeconds + (now() - acpump.switchOnTime));
      } else {
        sprintf(buf, (char*)pgm_read_word(&(str_d)), acpump.onSeconds);
      }
      net.sendResponse(buf);
    } else if (net.assertCommand((char*)pgm_read_word(&(str_getLastSelfTest)))) {
      sendSelfTestResponse();
    } else if (net.assertCommand((char*)pgm_read_word(&(str_forceAlert)))) {
      raiseAlert(ExternallyForced, (char*)pgm_read_word(&(str_Force_command)));
      net.sendResponse((char*)pgm_read_word(&(str_OK)));
    } else if (net.assertCommand((char*)pgm_read_word(&(str_resetAlert)))) {
      resetAlert();
      net.sendResponse((char*)pgm_read_word(&(str_OK)));
    } else if (net.assertCommand((char*)pgm_read_word(&(str_startSelfTest)))) {
      dcSelfTestStart();
      net.sendResponse((char*)pgm_read_word(&(str_OK)));
    } else if (net.assertCommandStarts((char*)pgm_read_word(&(str_set)), buf)) {
      processSetCommands();
    } else if (net.assertCommand((char*)pgm_read_word(&(str_debug)))) {
      sendDebugResponse();
    } else {
      net.sendResponse((char*)pgm_read_word(&(str_Unrecognized_command)));
    }
  }
  

// Buffer for char conversions
char buf [100];

void setup()
{
  readConfig();
