NodeMCU ESP8266 ESP12E + OLED 128x64 0.96" I2C + OpenWeatherMap API | NodeMCU Weather Station

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

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

  • @matasturbut
    @matasturbut 2 года назад +6

    please fix the openweathermap code cause i tried everything to fix it and it still says 401

  • @rarenu
    @rarenu 3 года назад +1

    A best ever project on OLED Weather station. This is very versatile and displays a whole lot of weather data. Thanks for posting it and expect some more unique projects from you. With Great Regards.

  • @pinakoza
    @pinakoza 9 месяцев назад +4

    Hi, I was able to solve the error 401 issue, and now my weather station is working great as described in the video. To get it work, you need to:
    First - Subscribe to One Call API 3.0 using your credit card info. It won't charge you anything until you use more than 1000 calls per day.
    Second - Scroll down to section "Get current weather data and weather forecast data for the following days", and in the line that says - "String current_forecast_serverpath =", change "...data/2.5/oncall..." to "...data/3.0/oncall...". So just change the number 2.5 to 3.0.
    That's it. Everything will start working as intended. Have fun
    😄👍

  • @alexandernye9184
    @alexandernye9184 2 года назад

    Awesome tutorial! I absolutely loved doing this project. Right now I'm working on rewiring my 3d printer but when its finished I am excited to model up and print a case for this to keep on my desk in my home office.

  • @rinskuruvila8674
    @rinskuruvila8674 7 месяцев назад +2

    Can you make a updated video because we get 401 error

  • @PMCsoluciones
    @PMCsoluciones 2 года назад +1

    Hi im getting all time error when compile
    In function 'void Set_Time_and_Date()':
    error: 'gmtime' was not declared in this scope
    struct tm *ptm = gmtime ((time_t *)&epochTime);
    error: invalid use of incomplete type 'struct tm'
    monthDay = ptm->tm_mday;
    exit status 1
    'gmtime' was not declared in this scope
    Any help thanks a lot

  • @zaftranaverno
    @zaftranaverno 2 года назад

    I did it!!! Everything worked for me!!!Thank you dear friend to you!!!

    • @utehstr
      @utehstr  2 года назад

      Good work 👍
      You're welcome 🙂

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

    could you update the project to include esp8266 with built on OLED???

  • @abrakadabra9574
    @abrakadabra9574 3 года назад +2

    Hi.
    I'm trying to repeat your project.
    When compiling the second part of the sketch in Arduino IDE 1.8.13 I get an error:
    http.begin(serverName);
    | ~~~~~~~~~~^~~~~~~~~~~~
    exit status 1
    call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
    Please tell me how to fix it?

    • @utehstr
      @utehstr  3 года назад +1

      Quite a number of viewers have experienced this error message, but I've never experienced it. I'm still looking for the cause of the error message appearing. The only solution I can suggest is to install or use the esp8266 version on the Arduino IDE the same as the version I'm using, which is version 2.7.4 (esp8266 version on the board manager). If you followed my advice, try giving feedback on whether it worked.

    • @abrakadabra9574
      @abrakadabra9574 3 года назад +2

      @@utehstr Thanks for the quick response.
      It really worked, I replaced in my second Arduino IDE 1.8.5 in the ESP8266 board manager version 3.0.0. with 2.7.4. as you advised and the sketch compilation went without errors. Everything worked just like your video.
      I saw a solution for a similar error here:
      stackoverflow.com/questions/67702822/error-call-to-httpclientbegin-declared-with-attribute-error-obsolete-api
      But I don't understand how to use it in my case.
      Maybe you have more programming experience and will be able to figure it out.
      Thank you very much again.

    • @utehstr
      @utehstr  3 года назад +1

      @Abra Kadabra Thank you for the feedback you provided. That's very helpful. For the link you provided, I'll try it later. Thanks again 👍.
      I ask permission to share your feedback for other viewers who get the error message like you are experiencing.

    • @劉濬宇-n5n
      @劉濬宇-n5n 2 года назад

      @@utehstr thanks i fixed with version2.7.4 and i didn't downgrade my arduino IDE.

  • @geoduino1233
    @geoduino1233 3 года назад +1

    hello sir, it says error 400 in serial monitor and everything is showing "0", what to do? please help

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

    Пишет: Failed to get weather data. HTTP responce 401.
    Где ошибка ?
    Is writing:Failed to get weather data. HTTP responce 401.
    Where is the error ?

  • @ErdianRahmanaPutra
    @ErdianRahmanaPutra 3 года назад

    Terima kasih pak🙏

    • @utehstr
      @utehstr  3 года назад

      sama-sama 🙂

  • @DD-jj2tc
    @DD-jj2tc 3 года назад

    Omg you have the code I need plus you used millis timing and your from Idaho too , go Vandals

  • @muskanvashistha4647
    @muskanvashistha4647 2 года назад

    my code is showing zero errors but it is still not giving any output. All the outputs are showing 0. what to do?

  • @劉濬宇-n5n
    @劉濬宇-n5n 2 года назад

    Hi, it uploaded successfully but the port display were all zero , only the date normal

  • @iputudikaprastyawan6764
    @iputudikaprastyawan6764 2 года назад

    Sangat membantu bang semangat selalu

  • @soumyadeepraysamanta836
    @soumyadeepraysamanta836 2 года назад

    I'm getting error for date and time and in final code screen stucked in Get weather data from open weather

  • @ufukcemilasik9203
    @ufukcemilasik9203 3 года назад +1

    I am getting this error when compile the code? Anyone help me please?
    call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)

  • @nartomujiatmiko3443
    @nartomujiatmiko3443 2 года назад

    Bang saya juga error disini, kira2 kenapa bang ? HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)

    • @utehstr
      @utehstr  2 года назад +1

      Coba gunakan esp8266 versi 2.7.4 di board manager Arduino IDE. Saya menggunakan versi itu dan gak ada masalah kayak gitu.

  • @imadeddinerabia9541
    @imadeddinerabia9541 Год назад

    Would this work using arduino and normal esp8266 e12 ( not nodemcu) ?

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

      I don't know for sure, I haven't tried it on "normal esp8266 e12".

  • @cathelenaa
    @cathelenaa 2 года назад +1

    Can you do one with esp32?

  • @sebastiancojuharii5958
    @sebastiancojuharii5958 2 года назад

    Everything works for me, but I get error 401 and the current weather wont dispaly. I tried to generate a new API, but the problem is still there.
    Can you help me?

    • @utehstr
      @utehstr  2 года назад +1

      This project is an old project, about 2 years ago, maybe some "OpenWeatherMap API" rules have changed, I will check later. In the meantime maybe you can read the guide document "OpenWeatherMap API" to solve your problem.

    • @sebastiancojuharii5958
      @sebastiancojuharii5958 2 года назад

      @@utehstr I checked it out but there is nothing that helps, any ideas?

    • @EndyArfianf
      @EndyArfianf 2 года назад

      @@sebastiancojuharii5958 from openwethaer faq said : You can get the error 401 in the following cases: You did not specify your API key in API request. Your API key is not activated yet. Within the next couple of hours, it will be activated and ready to use.

  • @OkYugaa
    @OkYugaa Год назад

    Ada yang tahu cara atasi error: redefinition of 'void setup()'? Please help me

  • @muzammilzainuddin291
    @muzammilzainuddin291 Год назад

    I want to ask how to use this code for esp32 because i try it, it always shown error

  • @Vagubando
    @Vagubando Год назад

    Per line of code -
    struct timelib_tm tinfo; //--> Structure that holds human readable time information;
    writes -
    Code:135:19: error: aggregate 'timelib_tm tinfo' has incomplete type and cannot be defined
    Code:137:1: error: 'timelib_t' does not name a type; did you mean 'timelib_tm'?
    Code:220:6: error: redefinition of 'void setup()'
    What to do?

  • @DiegoMartinez-ud7hl
    @DiegoMartinez-ud7hl 2 года назад +1

    can it be used with an esp8266-01? and what changes in the code? thank you

    • @KevinGroninga3D
      @KevinGroninga3D 2 года назад +1

      I take it that you never received a reply? I too would like to use this with an ESP01.

  • @hasanetakiwa
    @hasanetakiwa 3 года назад

    kak saya kendala di error seperti ini:
    DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
    sudah sy ikuti tutorial downgrade ke 5.13.5 kemudian upgrade namun masih gagal

    • @utehstr
      @utehstr  3 года назад

      downgrade ke 5.13.5, jangan diupgrade .

    • @hasanetakiwa
      @hasanetakiwa 3 года назад

      @@utehstr siap sy coba kak

    • @utehstr
      @utehstr  3 года назад

      @@hasanetakiwa Ok
      Semoga berhasil.

    • @zaftranaverno
      @zaftranaverno 2 года назад

      @@utehstr да друг!!! мне это помогло!!!

  • @eddy4011
    @eddy4011 3 года назад

    A nice project !!!!1
    i am no expect but i want to try i got this error why?Please can you help me!!!!!
    no matching function for call to 'NTPClient::NTPClient(WiFiUDP&, const char [13])'
    thanks in advance Eddy

    • @eddy4011
      @eddy4011 3 года назад

      Thanks to alll my project is working after installing ntpClient.h library but now I need the time in am/pm format someone can help me????thanks in advance Eddy

    • @qsdrfghgujfddyffguff
      @qsdrfghgujfddyffguff 3 года назад

      link pls

  • @umutveral2223
    @umutveral2223 3 года назад

    Hello sir. Can i do this project with 128*64 6 pin oled ?

    • @utehstr
      @utehstr  3 года назад

      Hello
      Do you mean OLED using SPI interface ?

    • @umutveral2223
      @umutveral2223 3 года назад

      @@utehstr yeah i mean that :)

  • @teguhlaksana4188
    @teguhlaksana4188 5 месяцев назад

    Bg mungkin bisa dibuat pembaharuan dari program ini soalnya bagus konsepnya

    • @utehstr
      @utehstr  5 месяцев назад

      Mungkin nanti jika saya ada waktu luang, saya akan perbarui kode program atau tutorialnya 🙂

  • @5VoltChannel
    @5VoltChannel 3 года назад

    👍👍😍

    • @utehstr
      @utehstr  3 года назад

      Thank you 🙂

  • @soumyadeepraysamanta836
    @soumyadeepraysamanta836 2 года назад

    Can u please explain the code for date and time please

  • @indratjahjono8082
    @indratjahjono8082 3 года назад

    hi, apakah produk yg sdh jadi ini bisa di jual dan bisa di custom ?

    • @utehstr
      @utehstr  3 года назад

      Saya sudah balas di DM Instagram.

  • @yogeshitaliya473
    @yogeshitaliya473 3 года назад

    Nice one

    • @utehstr
      @utehstr  3 года назад +1

      Thank you :-)

    • @yogeshitaliya473
      @yogeshitaliya473 3 года назад

      @@utehstr please chek instagram inbox message

    • @utehstr
      @utehstr  3 года назад +1

      @@yogeshitaliya473 Ok

  • @mjonza4805
    @mjonza4805 Год назад

    please update the code

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff 3 года назад +1

    its working ...

  • @Evilslayer73
    @Evilslayer73 3 года назад

    the code is in text format only?

    • @utehstr
      @utehstr  3 года назад

      Yes, look at the video for the use of parts of the code.

  • @armantape
    @armantape 2 года назад

    Medan Indonesia

  • @minoriproject4552
    @minoriproject4552 2 года назад

    Itu yang hijau pake module apa mas?

    • @utehstr
      @utehstr  2 года назад

      Yang hijau mana ya ? bisa kasi tau di menit ke berapa ?

    • @minoriproject4552
      @minoriproject4552 2 года назад

      @@utehstr module board yang dipake sama esp 8266

    • @utehstr
      @utehstr  2 года назад

      @@minoriproject4552 itu bkn modul, itu "pcb prototype double sides 5x7".

  • @ZuNunchaku
    @ZuNunchaku 3 года назад

    Bang ini bisa pakai esp8285 ga?

    • @utehstr
      @utehstr  3 года назад

      Saya kurang tau, saya belum pernah coba proyek ini di esp8285.

  • @Vagubando
    @Vagubando Год назад

    Пишет: Failed to get weather data. HTTP responce 401.
    Где ошибка ?
    Is writing:Failed to get weather data. HTTP responce 401.
    Where is the error ?

    • @bebashambatan6903
      @bebashambatan6903 9 месяцев назад

      please bantu pak, saya mengalami hal yg sama...