Shell
// Install MQTT client - for linux
sudo apt-get install mosquitto-clients

// Install MQTT client - for MacOS
brew install mosquitto-clients

// JOIN Our Discord channel to get DEMO access

// Publish messege & turn the toggle ON    
mosquitto_pub -d -q 1 -h "$THINGSBOARD_HOST_NAME" -p "1883" -t 
"v1/devices/me/telemetry" -u "$ACCESS_TOKEN" -m {"temperature":25}    

// Subscribe & Listen to the toggle position change
mosquitto_pub -d -q 1 -h "localhost" -p "1883" -t
 "v1/devices/me/telemetry" -u "ABC123" -m {"temperature":25}