I am trying to design an IoT project where,
an ESP32 is connected to a GSM module, will be assigned to do few logic job when it receives any command remotely through firebase RTD.
I am confused with how to trigger the ESP32 to read data from firebase RTD to do the jobs, as continuous polling a node from firebase RTD through GSM data will increase data usage.
I am not willing to use the sms trigger due to some restrictions.
Please guide me on how to proceed.