Page 1 of 1

Firebase getstring Delay

Posted: Fri Jul 19, 2019 7:53 am
by Ashish123
Hello,

i am using ESP32 for my home automation project.
in this project i am using the google firebase to communicate with my mobile application.

there are total 4 switches/ relays in my system which i control through the mobile application.

in my arduino code , i continously read the data from firebase using the firebase.getstring command but i am getting the delay while after sending the command.
controller stops working for 2 seconds and then it prints the data to serial.

why there is a delay in the firebase.getstring command?????

this is causing me total delay of 8 seconds .

i have attached code for reference.