Skip to content
  • 0 Votes
    2 Posts
    494 Views
    TheoLT
    @goddur I'm sorry my friend. I think this question is not related to MySensors. I've googled it for you. https://www.instructables.com/id/ESP8266-to-IFTTT-Using-Arduino-IDE/
  • 0 Votes
    2 Posts
    521 Views
    YveauxY
    @goddur Hi, and welcome to the forum! So what exactly is your question/problem? If it is the time until you get a stable reading after reset of the Arduino, you could just count the time until you get a stable reading. Then include this delay after startup before reporting the first value and you're done. Something like: static int startupCycles = 10; // 10 seconds initial startup delay void loop() { delay(1000); Irms = emon1.calcIrms(1480); // Calculate Irms only if (startupCycles) { --startupCycles; return; } if (Irms < .2) { // your original code... } }

11

Online

11.7k

Users

11.2k

Topics

113.1k

Posts