diff --git a/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino b/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino index 21f09d7..3d2c417 100644 --- a/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino +++ b/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino @@ -27,7 +27,6 @@ Adafruit_MCP23017 mcp; long tslr=0; WiFiClient espClient; -String nodename="devkit"; PubSubClient client("siwatsystem.com", 1883, espClient); PubSubClientTools mqtt(client); ThreadController threadControl = ThreadController(); diff --git a/WaterishOS-minimal2.0/config.h b/WaterishOS-minimal2.0/config.h index 21fe2d3..270f23e 100644 --- a/WaterishOS-minimal2.0/config.h +++ b/WaterishOS-minimal2.0/config.h @@ -3,3 +3,4 @@ const String password = ""; const byte InteruptPinA=1; const byte InteruptPinB=3; const byte arduinoInterrupt=1; +const String nodename="devkit";