Send and read data to Firebase using esp8266 nodemcu wifi module (2021)

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

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

  • @sudeepthaperera
    @sudeepthaperera 3 года назад +11

    If anyone getting errors they should check their installed ESP8266 Core SDK version(esp8266 version). It should be 2.4.1 or 2.5

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

      Thanks a lot man. You saved me!

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

      İm getting error for compiling how can i solve it ?

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

      @@arifqurbanov2159 This library isn't working now. But there's an another library (can't remember the name) which is still working. Find and use it.

    • @baralr-jay7729
      @baralr-jay7729 2 года назад

      @@sudeepthaperera What library. Can you help please

    • @ಜ್ಞಾನಧಾರೆ-ಱ9ಳ
      @ಜ್ಞಾನಧಾರೆ-ಱ9ಳ 2 года назад

      @@sudeepthaperera pleass share the link of that library

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

    Thanks Bhai
    Thank you so much.....
    Http Client wale file k wajh se bhut zyada dikkat ho rahi thi.

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

    Thank you so much. Very clear & It works the right way. ❤

  • @amsa_ksu
    @amsa_ksu  3 года назад +4

    Updated fingerprint: "50:89:50:57:90:1F:37:E3:B8:F3:5B:02:ED:3A:65:6E:6A:34:DB:93"

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

    Your video is very helpful. But the firebaseExtended for arduino is not in active development. Secondly the connection sometimes seems sleeping(not responding sometimes) after some time or after some idle time. After some trial it works again. So my question is the firebase lib for arduino can be used for production and how can I fix the connection freeze/sleeping/not responding situation? Thanks

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

    I FUCKING LOVE YOU MAN. 6 HOURS I SPENT ON THIS SHIT FINALLY IT WORKS

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

    Do they need to connect to same wifi?

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

    Hi! First, thanks for the tutorial; I have two questions:
    1) Why are there projects on the internet (Firebase) that use two sketches, one to send and one to get the data? Do you really use only one!?
    2) How to show this data on a TFT Display ili9341? Thanks

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

    Hello. great video! how can i use this with an arduino wemos d1 mini? it's not compiling.

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

    hey man am almost done but my esp8266 can not access the firebase, its connecting to the wifi and all but its not adding info on the firebase

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

    It's working only some times.evertime getting trouble.i don't know what is wrong with the Firebase server.we can't trust on this.

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

    Hi, How to send json data to path on firebase with this library

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

    THANK'S BRO. IT'S WORKINGGGGGG

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

    Hi what library should i use for my esp8266?

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

    THANK YOU VERY MUCH, IT'S WORKING

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

      Could you help me please 😭
      Shmmoro@gmail.com

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

      Sir im getting error while compiling for NodeMcu do you have any idea why?

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

    Thank you very much, its working

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

    Hi Amsa
    I have watched several tutorials on this and yours is most clear for me. But, I am working on a MacBook and I am getting : [Errno 16] could not open port /dev/cu.SLAB_USBtoUART: [Errno 16] Resource busy: '/dev/cu.SLAB_USBtoUART' does not exist or your board is not connected.
    And so, I get: setting / number failed
    I have altered the fingerprint to 2021 update and using the firebase demo
    Any ideas ?
    Thanks

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

      You have to download and install driver software. the name of driver you will get behind the board

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

    What library i could use for esp8266

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

    Can you help me guys?. For some reason our project are not working anymore. But before it was okay and suddeny not working

  • @AtulYadav-ml4hk
    @AtulYadav-ml4hk 2 года назад

    Thanks You So much It Works....

  • @SONU-zr5lj
    @SONU-zr5lj 3 года назад

    Hi
    Plz solve my problem my node mcu is restart every 15 sec
    Why ???

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

    Im facing eucy file malware after going through this process , why?

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

    Thank you very much, you have helped a lot

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

      Sir im getting error while compiling for NodeMcu do you have any idea why?

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

    Thank you very much!

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

    Please help me. My error is: "Error compilling for board nodeMCU 1.0 (ESP-12E MODULE). "

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

      Any idea about this error?
      Arduino: 1.8.12 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'
      47 | http_.begin(url.c_str(), kFirebaseFingerprint);
      | ^
      In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
      166 | bool begin(String host, uint16_t port, String uri = "/") __attribute__ ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
      | ^~~~~
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
      47 | http_.begin(url.c_str(), kFirebaseFingerprint);
      | ^~~~~~~~~~~~~~~~~~~~
      | |
      | const char*
      In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
      167 | bool begin(String url, const uint8_t httpsFingerprint[20]) __attribute__ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
      | ^~~~~
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
      47 | http_.begin(url.c_str(), kFirebaseFingerprint);
      | ^~~~~~~~~~~~~~~~~~~~
      | |
      | const char*
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
      51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
      | ^~~~~~~~~~~~~~~~~~~~
      | |
      | const char*
      In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'
      168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) __attribute__ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
      | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
      exit status 1
      Error compiling for board NodeMCU 0.9 (ESP-12 Module).
      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.

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

      @@shrushtihegde9714 Go to Arduino IDE >> board manager >> Search ESP8266 >> Rollback to version 2.7.4

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

    I am doing an analysis , But am stuck in one issue, i'm not able to take a 4 digit value from 4x4 keypad and send it to google Firebase
    Can anyone please help me out? Please i need in urgent

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

      www.electronicshub.org/arduino-keypad-interfacing-tutorial/#:~:text=In%20the%20code%2C%20the%20keys,16%C3%972%20LCD%20Display.

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

    thanks you !!!

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

    Web site to on off button now please

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

    Fingerprint is now not wirking

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

    Hi Amsa, your video is great and very helpful. I followed your steps but I am getting "setting /message failed:" and empty Firebase.error(). Hope you could help me :(

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

      expired... check this video...
      ruclips.net/video/ZZ5JvSA-Ed8/видео.html

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

      yes same error

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

    Sir i got a error like
    Error compiling for board NodeMCU 0.9
    sir plzzz help me what can i do now

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

      Any idea about this error?
      Arduino: 1.8.12 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'
      47 | http_.begin(url.c_str(), kFirebaseFingerprint);
      | ^
      In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
      166 | bool begin(String host, uint16_t port, String uri = "/") __attribute__ ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
      | ^~~~~
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
      47 | http_.begin(url.c_str(), kFirebaseFingerprint);
      | ^~~~~~~~~~~~~~~~~~~~
      | |
      | const char*
      In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
      167 | bool begin(String url, const uint8_t httpsFingerprint[20]) __attribute__ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
      | ^~~~~
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
      47 | http_.begin(url.c_str(), kFirebaseFingerprint);
      | ^~~~~~~~~~~~~~~~~~~~
      | |
      | const char*
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
      C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
      51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
      | ^~~~~~~~~~~~~~~~~~~~
      | |
      | const char*
      In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
      C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'
      168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) __attribute__ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
      | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
      exit status 1
      Error compiling for board NodeMCU 0.9 (ESP-12 Module).
      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.

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

      @@shrushtihegde9714 Yes. This error annoyed the heck outta me for a while. I've fixed it by changing my esp8266 SDK version to 2.4.1 in the boards manager. It worked.

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

      @@raj_srikar thank you, that worked for me too!

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

      @@raj_srikar Thanks for this, it worked.

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

    Thank you

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

    Can i know the code of Arduino. ?

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

      drive.google.com/file/d/1Z8K_1JElAMqxaWl_D7oX0XsBwzOxGqWs/view?usp=sharing

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

    Good bro….

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

    Firebase to website on off replay database created

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

    dose not working why?
    little help

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

      you can knock me facebook.com/amsa.cse14

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

      @@amsa_ksu highly sus bro

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

    How to use it for esp32? Please help me 😭💔

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

      Give me an esp32 board I will do it for you

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

      @@amsa_ksu board can make problems ? because now i have nodemcu but i always have the problems can you help me please

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

    My connection breaks repeatedly please help

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

      you can contact to my facebook

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

      @@amsa_ksu where is the link your channel's about is empty. I can't find you

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

      @@aayushsahay7711 please go to about section you will find facebook link

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

    Hi everyone! Watching this video:
    ruclips.net/video/nLzC0-VaqDs/видео.html
    as well, will help you to solve any fingerprint issues. :)

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

    Hello Sir I need a help

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

      you can knock me facebook.com/amsa.cse14

  • @Malak-ed7nn
    @Malak-ed7nn 3 года назад +1

    it's not working ... why :((

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

      facebook.com/amsa.cse14

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

    its not working

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

      go through the whole tutorial again

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

    hi can u please send the source code

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

    Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    FirebaseDemo_ESP8266:26:28: error: missing terminating " character
    26 | #define WIFI_SSID ""OPPOA5s"
    | ^
    C:\Users\DELL\AppData\Local\Temp\arduino_modified_sketch_270477\FirebaseDemo_ESP8266.ino:33:14: note: in expansion of macro 'WIFI_SSID'
    33 | WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
    | ^~~~~~~~~
    C:\Users\DELL\AppData\Local\Temp\arduino_modified_sketch_270477\FirebaseDemo_ESP8266.ino: In function 'void setup()':
    FirebaseDemo_ESP8266:26:19: error: unable to find string literal operator 'operator""OPPOA5s' with 'const char [1]', 'unsigned int' arguments
    26 | #define WIFI_SSID ""OPPOA5s"
    | ^~~~~~~~~
    C:\Users\DELL\AppData\Local\Temp\arduino_modified_sketch_270477\FirebaseDemo_ESP8266.ino:33:14: note: in expansion of macro 'WIFI_SSID'
    33 | WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
    | ^~~~~~~~~
    exit status 1
    missing terminating " character
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

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

    All codes send me

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

    getting this error does anyone know how to solve
    Arduino: 1.8.12 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
    C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'
    47 | http_.begin(url.c_str(), kFirebaseFingerprint);
    | ^
    In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
    C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
    166 | bool begin(String host, uint16_t port, String uri = "/") __attribute__ ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
    | ^~~~~
    C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
    C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
    47 | http_.begin(url.c_str(), kFirebaseFingerprint);
    | ^~~~~~~~~~~~~~~~~~~~
    | |
    | const char*
    In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
    C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
    167 | bool begin(String url, const uint8_t httpsFingerprint[20]) __attribute__ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
    | ^~~~~
    C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
    C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
    47 | http_.begin(url.c_str(), kFirebaseFingerprint);
    | ^~~~~~~~~~~~~~~~~~~~
    | |
    | const char*
    C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
    C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
    51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
    | ^~~~~~~~~~~~~~~~~~~~
    | |
    | const char*
    In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
    C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'
    168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) __attribute__ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
    | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
    exit status 1
    Error compiling for board NodeMCU 0.9 (ESP-12 Module).
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

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

      hi I got this error too if anyone can help it would mean a lot :)

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

      Go to Arduino IDE >> board manager >> Search ESP8266 >> Rollback to version 2.7.4

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

      @@shrushtihegde9714 hey i have the same error, did you find a solution?

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

      @@smarbety9124 Yes. Just change your esp8266 SDK version back to 2.4.1 in the boards manager. It helped me fixing this error

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

      @@Xtraelektronik maann thanks that worked )

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

    Finally got it to work from this guide
    ruclips.net/video/7VXbVHssiQU/видео.html

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

    Hi? I message you on your FB account. I really need help huhu. thank youuuuuuu