diff --git a/platformio.ini b/platformio.ini index a043c76..1d698aa 100755 --- a/platformio.ini +++ b/platformio.ini @@ -9,7 +9,7 @@ ; https://docs.platformio.org/page/projectconf.html [env:nodemcuv2] -platform = espressif8266 +platform = espressif8266@4.2.1 board = nodemcuv2 framework = arduino upload_speed = 115200 diff --git a/src/main.cpp b/src/main.cpp index d2b208f..508478c 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,6 +16,8 @@ bool isModeChanged = false; // Zustand, ob eine Nachricht angezeigt wird int lastButtonState = HIGH; // Letzter Zustand des Buttons int currentButtonState; + + // Array für die Werte der Tasmota Geräte String tasmota_smr_ip_values[6] = {"?", "?", "?", "?", "?", "?"}; String tasmota_plug_ip_values[6] = {"?", "?", "?", "?", "?", "?"};