Browse Source

0.8.123

* fix ESP32 static IP as well
pull/1663/head
lumapu 8 months ago
parent
commit
1d7940aaf3
  1. 2
      src/CHANGES.md
  2. 2
      src/network/AhoyWifiEsp32.h

2
src/CHANGES.md

@ -1,7 +1,7 @@
# Development Changes
## 0.8.123 - 2024-05-30
* fix ESP8266 static IP #1643 #1608
* fix ESP8266, ESP32 static IP #1643 #1608
* update MqTT library which enhances stability #1646
* merge PR: MQTT JSON Payload pro Kanal und total, auswählbar #1541
* add option to publish mqtt as json

2
src/network/AhoyWifiEsp32.h

@ -25,6 +25,7 @@ class AhoyWifi : public AhoyNetwork {
#if !defined(AP_ONLY)
WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN);
WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL);
setStaticIp();
WiFi.begin(mConfig->sys.stationSsid, mConfig->sys.stationPwd, WIFI_ALL_CHANNEL_SCAN);
mWifiConnecting = true;
@ -41,7 +42,6 @@ class AhoyWifi : public AhoyNetwork {
mStatus = NetworkState::CONNECTED;
mWifiConnecting = false;
DPRINTLN(DBG_INFO, F("Network connected"));
setStaticIp();
}
break;

Loading…
Cancel
Save