MQTT Unit



  • I tried the example for MQTT Unit and it works on Public Broker of Hivemq.com. But, I can see messages with a distance of one minute. In the serial output of the M5Atom I used, I can see the following in the meantime.
    ...
    MQTT disconnected
    MQTT disconnected
    +MQUNCONNECT
    +MQCONNECT
    MQTT disconnected
    MQTT disconnected
    MQTT disconnected
    MQTT disconnected
    MQTT disconnected
    +MQCONNECT
    +MQUNCONNECT
    MQTT disconnected
    MQTT disconnected
    MQTT disconnected
    ...
    What is responsible for the disconnection?
    How can I sent MQTT messages in a ten seconds cycle, for example?



  • try to change the ethernet or another mqtt broker and test it again



  • @m5stack It works now as expected.