I’m trying to get the Firebase databse thing working on the ESP8266. I’ve set upp the databse, etc, but when I try and compile the code for connecting, I get the following error:
C:\Users\Nigel\Documents\Arduino\libraries\arduino_802724\src/FB_Network.h:31:30: fatal error: CertStoreBearSSL.h: No such file or directory
So I know that means the file “CertStoreBearSSL.h” is missing, so I dug around and found it and copied it over, and tried again, and it fails on the next missing file, and so on. I went through about 12 files in turn and it worked a little more each time, until I got to the include “config.h”, which, of course, is far too common a name, and I couldn’t find it.
But, this should be automatic? I’ve got version 4.3.0 of Firebase-ESP installed, but even digging around the github, I can’t find the .h files, aside from “inner.h”, in “BearSSL”.
Am I doing something stupid?
No. That’s not the usual behavior.
It should find all those libraries automatically.
Please check the version of your ESP8266 board installation.
Go to Tools > Board > Boards Manager.
Search for ESP8266 and check the version you are using.
I’m definitely using Firebase Arduino Client Library for ESP8266 and ESP32. I’m following https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/
The headers of the file are
Complete project details at our blog.
– ESP32: https://RandomNerdTutorials.com/firebase-control-esp32-gpios/
– ESP8266: https://RandomNerdTutorials.com/firebase-control-esp8266-nodemcu-gpios/
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Based in the RTDB Basic Example by Firebase-ESP-Client library by mobizt
And I can flash the 8266 with various other test programs (connect to Wifi, flash the LED)
I’m going to try another machine entirely, and will report back.
But what is the version of the ESP8266 boards you have installed?
You can check that in Tools > Boards > Boards Manager, then search for ESP8266 and check the version. Tell me what is the version you are running.
2.3.0! So yes, oops, out of date. I’ve updated to 3.0.2
I updated everything else
I could then update the Firebase software from 4.2.7 to 4.3.0, and well done, it works!
Now to just figure out why Google apparently changed the API key since yesterday!