subscribe to our Youtube
14154 questions
16808 answers
27635 comments
54058 members
Hello,
The wiki example below shows how to use mosquitto to publish and subscribe to topics.
https://wiki.teltonika-networks.com/view/Monitoring_via_MQTT#Subscribing_and_Publishing.
In your case, instead of LAN IP address next to -h option, which denotes host, try using thingsboard.cloud.
Best regards,
Žygimantas