   // read persistent config
   SPIFFS.begin();
   svrAddr = getSvrAddr();
+  analogSensor = getAnalogSensor();
 
   // start the sensors, the DNS and webserver, etc.
   startPeripherals();

  webServer.send(200, "text/html", toSend);
}

void handle_wifistatus() {
  dln(netDBG, "serving page at /wifistatus");

  String toSend = pageTop;
  toSend += ": Wifi Status";
  toSend += pageTop2;
  toSend += "\n<h2>Wifi Status</h2><p><ul>\n";

  toSend += "\n<li>SSID: ";
  toSend += WiFi.SSID();

  webServer.on("/ALL", handle_root);
  webServer.onNotFound(handleNotFound);
  webServer.on("/wifi", handle_wifi);
  webServer.on("/elfstatus", handle_elfstatus);
  webServer.on("/serverconf", handle_serverconf);
  webServer.on("/analogconf", handle_analogconf);
  webServer.on("/wfchz", handle_wfchz);
