Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By georges
#64213 IOT is MQTT.
It is the only missing things for ESP BASIC in my point of view.

Best regards
Georges
User avatar
By scratchrobot
#65267 MQTT is working but not documented yet?
This is working for me:

Code: Select allmyMSG = "ESPTest"
mqtt.setup("broker.mqttdashboard.com")
'mqtt.setup("broker.192.168.1.240")
mqttbranch [newmsg]
mqtt.subscribe("mmiscool")

[reset.window]
cls
textbox myMSG
button "Send", [send]
button "Clear the screen",[reset.window]
wait

[send]
mqtt.publish("mmiscool",myMSG)
wait


[newmsg]
print mqtt.msg()
wait


But when i use my local MQTT server it doesn't work?

Code: Select allmqtt.setup("192.168.1.240")
User avatar
By Mmiscool
#65271 I put that out for testing a while ago. It would have been under general or the announcements. It is not in the docs as I am not too familiar with mqtt and did not have the ability to do proper testing.