added PR #356, prometheus endpoint thanks to @avendretter

changed default wifi IP to 192.168.4.1 (to avoid conflicts with local router configurations)
added default pinout for ESP32
This commit is contained in:
lumapu 2022-11-11 23:34:15 +01:00
parent d0e7ee393c
commit 1d7b02571d
7 changed files with 132 additions and 25 deletions

View file

@ -110,7 +110,7 @@ bool ahoywifi::loop(void) {
//-----------------------------------------------------------------------------
void ahoywifi::setupAp(const char *ssid, const char *pwd) {
DPRINTLN(DBG_VERBOSE, F("app::setupAp"));
IPAddress apIp(192, 168, 1, 1);
IPAddress apIp(192, 168, 4, 1);
DPRINTLN(DBG_INFO, F("\n---------\nAP MODE\nSSID: ")
+ String(ssid) + F("\nPWD: ")