====== MQTT ====== ===== test broker connection ===== docker run -it hivemq/mqtt-cli shell con -h mqtt.example.com -p 1884 mosquitto_pub -h mqtt.example.com -p 1884 -t test -m "test" sudo apt install node-mqtt mqtt publish -t 'test' -m 'test' -h 'mqtt.example.com' -p 1884
docker run -it hivemq/mqtt-cli shell con -h mqtt.example.com -p 1884
sudo apt install node-mqtt mqtt publish -t 'test' -m 'test' -h 'mqtt.example.com' -p 1884