Then import it and initialize it with the required packages. Of course, you’ll want to replace DEVICE_ID and DEVICE_TOKENwith your actual device credentials which you can find under your device settings on Qubitro Portal.
import paho.mqtt.client as mqtt
We strongly recommend using the 8883 port for MQTT over TLS connectivity.
An example of publishing data.
Qubitro MQTT Publish Example
An example of subscribing to a topic and receiving the message.
Qubitro MQTT Subscribe Example
Qubitro MQTT Log Example
Qubitro MQTT Disconnect Example
Support and Feedback
If you have further questions or suggestions, feel free to join