diff --git a/examples/Other Examples/RemoteSensors/RemoteDevice/RemoteDevice.ino b/examples/Other Examples/RemoteSensors/RemoteDevice/RemoteDevice.ino index 9859362..7dba05b 100644 --- a/examples/Other Examples/RemoteSensors/RemoteDevice/RemoteDevice.ino +++ b/examples/Other Examples/RemoteSensors/RemoteDevice/RemoteDevice.ino @@ -57,7 +57,8 @@ void setup() { Serial.begin(115200); delay(1000); - Serial.printf("Starting\n\n"); + Serial.printf("\n\nThis is a REMOTE Device with MAC Address = %s\n",WiFi.macAddress().c_str()); + Serial.printf("NOTE: This MAC Address must be entered into the corresponding SpanPoint() call of the MAIN Device.\n\n"); // In the line below, replace the MAC Address with that of your MAIN HOMESPAN DEVICE diff --git a/src/src.ino b/src/src.ino index 457ccf3..2b30fe6 100644 --- a/src/src.ino +++ b/src/src.ino @@ -63,7 +63,7 @@ void setup() { // homeSpan.setControlPin(21); - homeSpan.setLogLevel(2).enableWebLog(20).setWebLogCallback(extraData); + homeSpan.setLogLevel(2).enableWebLog(500).setWebLogCallback(extraData); // homeSpan.reserveSocketConnections(10); // homeSpan.setApSSID("HS_Setup"); @@ -86,16 +86,19 @@ void setup() { new Characteristic::Identify(); new LED_Service(13); - homeSpan.autoPoll(); +// homeSpan.autoPoll(); + + for(int i=0;i<300;i++) + WEBLOG("Here is some text of a log file %d",i); } ////////////////////////////////////// void loop(){ -// homeSpan.poll(); -delay(10000); -Serial.println(millis()); + homeSpan.poll(); +//delay(10000); +//Serial.println(millis()); }