From 0f335403dcbc04aa02fbb872098f0bfd0d73df2d Mon Sep 17 00:00:00 2001 From: SAMMYBOOOOM <145195624+SAMMYBOOOOM@users.noreply.github.com> Date: Sat, 4 May 2024 21:11:57 +0800 Subject: [PATCH] Update irrigation.ino --- irrigation.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/irrigation.ino b/irrigation.ino index c481fb9..f1ce09e 100644 --- a/irrigation.ino +++ b/irrigation.ino @@ -40,17 +40,17 @@ String lineToken = ""; const int lineDelay = 100; int lineWait = 99; int status = WL_IDLE_STATUS; -const char* mqttServer = "broker.MQTTGO.io"; -const char* clientID = "b11013112"; +const char* mqttServer = "LinkToMQTTServer"; +const char* clientID = "ID"; const char* mqttUserName = ""; const char* mqttPwd = ""; -const char* topic = "b11013112"; +const char* topic = "TopicForPosting"; +const char* calltopic = "TopicForReceiving"; const char* SI_topic[] = {"visible", "ir", "uv"}; const char* DHT_topic[] = {"humidity", "celsius", "fahrenheit"}; const int HISTORY_SIZE = 5; const char* DHT_symbol[] = {"%", "°C", "°F"}; const char* M_topic = "moisture"; -const char* calltopic = "callb11013112"; unsigned long prevMillis = 0; const long interval = 1; String msgStr = ""; @@ -610,4 +610,4 @@ void loop() { mqttStr(msgStr); Serial.println(); -} \ No newline at end of file +}