mqtt.txt            2024-08-30

https://www.emqx.com/en/blog/esp32-connects-to-the-free-public-mqtt-broker
https://randomnerdtutorials.com/micropython-mqtt-esp32-esp8266/
https://mqttx.app/

MQTT cloud brooker
==================
1. https://www.hivemq.com
   Start Free | HiveMQ Cloud | Sign Up
2. https://console.hivemq.cloud
   Cluster Quick Start | See all plans |  Create Serverless Cluster
3. Overview
   Provider = AWS
   url      = b3b6d663d3c241c3892ab7d10336xxxx.s1.eu.hivemq.cloud
   port TLS = 8883
   port WS  = 8884
   Connection strings:
   TLS   : b3b6d663d3c241c3892ab7d10336xxxx.s1.eu.hivemq.cloud:8883
   TLS WS: b3b6d663d3c241c3892ab7d10336xxxx.s1.eu.hivemq.cloud:8884/mqtt
   TLS = Transport Layer Security
4. Access management:
   User name: pietje
   Password : Ab123456
   Permission: Publish and Subscribe
   Create Credential
5. Web client
   Username = pietje
   Password = Ab123456
   Connect
   Topic Name = Test | Subscribe
   Message    = Hello   | Topic = Test | Send message  -->  OK
   Message    = Hello   | topic = Test | Send message  -->
   Topic Name = #       | Subscribe


Android
=======
1. Play store
   Install MyMQTT from instant:solutions
2. Host: b3b6d663d3c241c3892ab7d10336xxxx.s1.eu.hivemq.cloud
   Port: 8883
   SSL : checked
   User name: pietje
   Password : Ab123456
   Connect
3. Publish
   Topic = Test
   Message = Connected?
   Publish  -->  arrives
4. Subscribe
   Topic = Test
   See incoming messages on dashboard


Python
======
1. Paho Python
   https://console.hivemq.cloud/clients/python-paho
