ESP32. MQTT. Broker. Publish. Subscribe. ThingSpeak

6.- App Inventor Subscribe to juan/aleatorio and Publish juan/boton.

p117B_mqtt_Extension.aia (74.0 KB)

  • Code for ESP32 is the same as example: 4.- Now the two codes united.

Broker: broker.hivemq.com
Port: 1883

ESP32 Publish: juan/aleatorio
ESP32 Subscribe: juan/boton

App Inventor Publish: juan/boton
App Inventor Subscribe: juan/aleatorio

App Inventor.

1 Like