I have been recently reading this forum, and I am amazed at how helpful this community is! Therefore, I am trying my luck with an issue we have right now.
We are developing an IoT solution that includes, among other components an ESP8266, Google Cloud Platform (GCP), and a Firebase real-time database. Our aim is to control components such as motors, LEDs, etc. through the cloud, specifically, through Boolean values set in the Firebase database for certain components. The cloud and the ESP8266 communicate through the MQTT protocol. We use Mongoose OS for development.
I have an issue that a certain component X sometimes does not show up in the Firebase database, whereas some others do. This component only receives data from the Firebase database, never sends any. We have already excluded the hardware and the C++ firmware code as the source of the issue leaving us with either Mongoose OS or the Google Cloud functions. The MQTT connection is made with the cloud, and some other components can send measurement data in the same system through telemetry. So the issue seems to be with component X that is to receive data from the Firebase database (e.g…: Boolean value toggled).
The result I see:
Component X connected to the ESP8266 cannot receive the data from Firebase via MQTT.
My expectation & question is:
I expect the component X to be able to receive data from Firebase via MQTT as other components can send data through telemetry, and also, the MQTT connection is successfully made between the ESP8266 and the cloud.
I would appreciate your help, as this issue has turned pressing. If you need any more information, please do not hesitate to ask!
All the best,