Problem while integrating Wokwi esp32 simulator with firebase realtime database

Hello every one, My Wokwi ESP 32 DHT program with Firebase database run successfully earlier but now it raising build exceptions. Libraries included are
Firebase ESP32 Client
DHT sensor library

sketch.ino: In function 'void setup()':
sketch.ino:44:46: error: no matching function for call to 'FirebaseESP32::begin(const char [45], const char [41])'
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
^
In file included from /libraries/Firebase_ESP32_Client/src/FirebaseESP32.h:42,
from sketch.ino:6:
/libraries/Firebase_ESP32_Client/src/Firebase.h:133:8: note: candidate: 'void FirebaseESP32::begin(FirebaseConfig*, FirebaseAuth*)'
void begin(FirebaseConfig config, FirebaseAuth auth);
^~~~~
/libraries/Firebase_ESP32_Client/src/Firebase.h:133:8: note: no known conversion for argument 1 from 'const char [45]' to 'FirebaseConfig
' {aka 'firebase_cfg_t
'}

Error during build: exit status 1

Kindly some one help me in fixing the problem so that i can teach more effectively in class room

@gmrao Welcome to the foum.

The category you posted in was not about simulators, it was about:-
"The global cellular connectivity service for Arduino IoT Cloud"

Clearly not what you need, so I moved it here as there is not a place I know of that is dedicated to simulators on this forum.

You might want to look at this How to get the best out of this forum before you proceed any further.

You need to provide a firebase config reference as your first parameter, not the host name. Look at the documentation

Thanks a lot for your reply

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.