diff --git a/src/main.cpp b/src/main.cpp index b831ea8..3a0f502 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,7 +17,7 @@ const char* mqtt_server = "mqtt.ddns.kawomi.com"; const int buttonPin = 4; // Reed switch - don't forget the pull down resistor. const int ledPin = 2; // Internal LED -boolean bForceResend=false; +boolean bForceResend=true; // send initial state to mqtt on startup. int previousState; WebServer server(80); WiFiClient espClient;