* Added Sao Paulo timezone
* Check for target change before movement so the shades to run to my position.
This commit is contained in:
Robert Strouse 2023-05-22 19:09:57 -07:00
parent a5868618c7
commit 5f67b99f88
5 changed files with 21 additions and 17 deletions

View file

@ -254,6 +254,7 @@ bool Network::connectWiFi() {
Serial.print("Set hostname to:");
Serial.println(WiFi.getHostname());
WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE, INADDR_NONE);
WiFi.setSleep(false);
WiFi.mode(WIFI_STA);
delay(100);
WiFi.begin(settings.WIFI.ssid, settings.WIFI.passphrase);