ESP8266 NodeMCU Tutorial | NTP Client & 0.96 OLED Display with Time Based Automation (Without RTC)

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 9

  • @MrBobWareham
    @MrBobWareham 11 месяцев назад

    Very nice project I am going to copy your project for my bedside table, very handy, so thank you very much for your time and effort and sharing your code, Bob in the UK

    • @maisonupstore
      @maisonupstore  11 месяцев назад

      Glad it was helpful!

    • @MrBobWareham
      @MrBobWareham 11 месяцев назад +1

      Thanks for your video I made it, and it worked very well it now sits by my bedside table,
      I just got to set up the alarm function, but do wish it was a bit larger the display is so small, thanks Bob @@maisonupstore

  • @kerrytobias8753
    @kerrytobias8753 8 месяцев назад +1

    Very nice project by chance can you assist me with changing the UTC to central standard time i believe it is -6 I did try but no joy. Respectfully Kerry

    • @czapatasv
      @czapatasv 8 месяцев назад +1

      I follow the recommendation, so my case is equal like you (using GMT-6), the line code change for this one: timeClient.setTimeOffset(-21600); //ofset -6 x 3600, and after 1 min is sync

    • @maisonupstore
      @maisonupstore  7 месяцев назад

      Glad we could help :)

  • @itzikamar7659
    @itzikamar7659 Год назад +1

    Hi thanks for the great tutorial
    i have delay of 2 hours ahead.
    can i change somthing to get the Exact time.
    thanks

    • @maisonupstore
      @maisonupstore  Год назад +1

      If you want to set a time zone that is 2 hours ahead of UTC, you'll need to adjust the UTC offset accordingly in the code. Since you're ahead of UTC, you subtract the offset. 2 hours would be equivalent to 7200 seconds (2 * 3600 seconds). Here's the line of code with the UTC offset adjusted for a time zone that is 2 hours ahead of UTC:
      Replace the existing line:
      timeClient.setTimeOffset(19800); // UTC offset in seconds (19800 seconds = UTC+5:30) with timeClient.setTimeOffset(-7200); // UTC offset in seconds (2 hours ahead of UTC)
      Feel free to reach out for further questions..

    • @czapatasv
      @czapatasv 8 месяцев назад

      Fantastic code, thaks a lot for sharing, maybe in the near future you can weather also, but at this moment is a great job from yours, mery christmas @@maisonupstore