Open my gate and garage using an ESP8266 connected to an old IR remote controller. The web server is exposed on the internet using YDNS, the IP is kept up to date by the ESP8266 itself.
To put the HTML source in the C code as string itβs convenient to strip the \n
characters.
cat index.html | tr -d '\n'
The file src/Secrets.h is needed.
#define WIFI_ESSID ""
#define WIFI_PASSWORD ""
#define HTTP_USER ""
#define HTTP_PASSWORD ""
#define YDNS_USER ""
#define YDNS_PASSWORD ""
#define YDNS_HOST ""