diff --git a/PrawnBot-ESP.ino b/PrawnBot-ESP.ino index a2924a5..a1ca2c6 100644 --- a/PrawnBot-ESP.ino +++ b/PrawnBot-ESP.ino @@ -1,3 +1,9 @@ +// In your secrets.h file, define the following: +// const char *ssid = ""; +// const char *password = ""; +// const int port = 1883; +// IPAddress server(192, 168, 1, 2); + #include #include #include @@ -11,6 +17,8 @@ const unsigned int jamTimeout = 2000; const unsigned int networkTimeout = 5000; const unsigned int debounce = 50; const char myName[] = "PrawnBot-ESP"; +const char *controlTopic = "devices/prawnbot"; +char statusTopic[] = "devices/prawnbot/status"; long modeStartTime = 0; long lastWifiConnectAttempt = 0; long lastMQTTConnectAttempt = 0;