Connect ESP32-based boards with the Qubitro MQTT package.
This example uses Qubitro MQTT Client that offers a custom naming convention for easier development. It is possible to use any 3rd party MQTT Client with the following requirements.
For example, it is possible to use the WiFiClientSecure library to connect MQTT over TLS with 8883 port.
The helpful naming conventions for 3rd party MQTT libraries.
Value Name
Qubitro Equivalent
User Name
Device ID
User Password
Device Token
Client ID
Device ID
Production port
8883
Development/Test port
1883
The following code connects to your wireless network, generates simulated sensor values, and publishes them to the Qubitro.
Example output:
If you have further questions or suggestions, feel free to join -> Qubitro Community Discord via this invitation link.