diff --git a/operame.ino b/operame.ino index f9128b9..c3ec65c 100644 --- a/operame.ino +++ b/operame.ino @@ -9,6 +9,8 @@ #include #include +#define LANGUAGE "nl" + enum Driver { AQC, MHZ }; Driver driver; MQTTClient mqtt; @@ -298,6 +300,7 @@ void setup() { delay(2000); WiFiSettings.hostname = "operame-"; + WiFiSettings.language = LANGUAGE; wifi_enabled = WiFiSettings.checkbox("operame_wifi", false, "WiFi-verbinding gebruiken"); ota_enabled = WiFiSettings.checkbox("operame_ota", false, "Draadloos herprogrammeren inschakelen. (Gebruikt portaalwachtwoord!)") && wifi_enabled; diff --git a/platformio.ini b/platformio.ini index 473bce0..927db8a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -21,7 +21,7 @@ framework = arduino targets = upload monitor_speed = 115200 lib_deps = - ESP-WiFiSettings@^3.6 + ESP-WiFiSettings@^3.7 MH-Z19 TFT_eSPI MQTT