Cloud updates

This commit is contained in:
Gunnar Skjold
2024-04-06 12:53:36 +02:00
parent 05b340738e
commit ee6c249370
2 changed files with 3 additions and 1 deletions

View File

@@ -184,7 +184,7 @@ void CloudConnector::update(AmsData& data, EnergyAccounting& ea) {
IPAddress dns2;
if(ch == NULL) {
localIp = WiFi.softAPIP();
localIp = WiFi.localIP();
subnet = IPAddress(255,255,255,0);
gateway = WiFi.subnetMask();
dns1 = WiFi.dnsIP(0);