       toSend += "<p>...for ";
       toSend += analogSensor;
       toSend += "</p>";
-      setAnalogSensor(analogSensor);
+      setAnalogSensorP(analogSensor);
     }
   }
 

// config utils /////////////////////////////////////////////////////////////
boolean getCloudShare();
void setCloudShare(boolean b);
String getSvrAddr();
void setSvrAddr(String s);
String getAnalogSensor();
void setAnalogSensor(String s);

/////////////////////////////////////////////////////////////////////////////
// setup ////////////////////////////////////////////////////////////////////

  return;
}
void getAnalog(float* a) {
  dbg(analogDBG, "getAnalog: ");

  if(! GOT_ANALOG_SENSOR) {
    (*a) = 0.0;
  } else if(analogSensor == "analog_mains") {
    (*a) = 1.0;
  } else if(analogSensor == "analog_pressure") {
    int analogValue = analogRead(A0);

    // conversion/"calibration" because sensor 4.5v=1.2MPa
    (*a) = (analogValue - 25) * .19;

    dbg(analogDBG, "Value: ");
    dbg(analogDBG, analogValue);
    dbg(analogDBG, "    Pressure: ");
    dbg(analogDBG, (*a));
    dbg(analogDBG, " PSI\n");
  }

  return;
