• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Firebase on ESP8266 error

Q&A Forum › Category: ESP8266 › Firebase on ESP8266 error
0 Vote Up Vote Down
Nigel Tolley asked 3 months ago

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
#include <CertStoreBearSSL.h>
^
compilation terminated.
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?

Question Tags: Googe Firebase 8266 error bearssl
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 months ago

Hi.
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.
Regards,
Sara

0 Vote Up Vote Down
Nigel Tolley answered 3 months ago

Hi Sara,
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
/*
Rui Santos
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
https://github.com/mobizt/Firebase-ESP-Client/blob/main/examples/RTDB/Basic/Basic.ino
*/
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.

0 Vote Up Vote Down
Sara Santos Staff answered 3 months ago

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.
Regards,
Sara

0 Vote Up Vote Down
Nigel Tolley answered 3 months ago

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!
Thanks!
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 3 months ago

Ok.
Great.
Let me know if you need further assistance.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.