subscribe to our Youtube
13287 questions
15785 answers
25478 comments
50084 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