 );
 const char* pageTop = pageTopStr.c_str();
 const char* pageTop2 = "</title>\n"
+  "<meta charset=\"utf-8\">"
   "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">"
   "<style>body{background:#FFF;color: #000;font-family: sans-serif;}</style>"
   "</head><body>\n";

  "<h2>Control</h2>\n"
  "<p><ul>\n"
  "<li><a href='/wifi'>Join a wifi network</a></li>\n"
  "<li><a href='/wifistatus'>Wifi status</a></li>\n"
  "<li><a href='/serverconf'>Configure server location</a></li>\n"
  "<li>\n"
    "<form method='POST' action='actuate'>\n"
    "Operate actuator: "
    "on <input type='radio' name='state' value='on'>\n"
    "off <input type='radio' name='state' value='off' checked>\n"
    "<input type='submit' value='Submit'></form></p>\n"
  "</li>\n"
  "</ul></p>\n"
  "<h2>Monitor</h2>\n"
  "<p><ul>\n"
  "<li><a href='/data'>Sensor data</a></li>\n"
  "</ul></p>\n";
const char* pageFooter =

  envelope += jsonBuf;
  Serial.println(envelope);

  //IPAddress couchServer(10,0,0,24);
  WiFiClient couchClient;
  if(couchClient.connect(svrAddr.c_str(), 5984)) {
    Serial.print(svrAddr);
    Serial.println(" - connected as couch server");
    couchClient.print(envelope);
  } else {
    Serial.print(svrAddr);
    Serial.println(" - no couch server");
  }

  return;
}
