Firebase getstring Delay

Ashish123
Posts: 1
Joined: Fri Jul 19, 2019 7:47 am

Firebase getstring Delay

Postby Ashish123 » Fri Jul 19, 2019 7:53 am

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.
Attachments
code.txt
(2.35 KiB) Downloaded 468 times

Who is online

Users browsing this forum: Google [Bot] and 82 guests