I’m trying to use the standard tutorial for connecting an ESP32 to App Inventor via MQTT.
The ESP32 and HiveMQ are working correctly, and I can read all messages sent by the ESP32 using MQTT Dashboard.
I’ve read and tried many things, but I’m still not able to connect the app in App Inventor.
Can someone have a look on my parameters to check what i'm doing wrong ?!
ABG
December 16, 2025, 12:24pm
2
I don't know MQTT well.
I suggest adding logging to the event blocks, capturing all orange input values before applying any tests.
One of your events completely ignores its input.
Once you see the event and data flow history, you will be better able to debug.
I like list pickers for holding and showing logs.
Thanks a lot for your answer. It is the first time I have heard about logs in App Inventor. I have looked into it, but I’m not sure what to do next. Do you have a simple example or a topic I can follow to get started with logging?
ABG
December 16, 2025, 4:42pm
4
A sample logger from a text box ...
logger_to_list.aia (2.6 KB)
I like YAML formatting for multi-variable log entries.
YAML is easy to code using the text JOIN block and \n markers.