Skip to content

espFaceYour ESP32 describes its UI. The apps draw it.

An Arduino library, a native Android/iOS app and a web renderer that share one small JSON protocol. No web code, no app code, no cloud.

In 20 lines ​

cpp
#include <espFace.h>
EspFace face;
void setup() {
  face.begin("Boiler");
  face.setPin("1234");
  face.wifi().autoConnect();
  face.ui().gauge("temp", "Temperature", 0, 120, "°C");
  face.ui().sw("pump", "Pump").onChange([](bool on) { digitalWrite(PUMP, on); });
}
void loop() { face.loop(); face.set("temp", readTemp()); }

Flash it, open the espFace app or http://<device-ip>/ in a browser, enter the PIN once, and the gauge and the switch are there. Continue with Getting started or read how the pieces fit together in Concepts.

MIT licensed. Firmware, web renderer and apps.