M5Core2 no MQTT on download



  • This has been published before, but it is really both obvious and a major bug. Simple to describe: MQTT never connects or works after you burned your software to the M5Core2



  • Hello @simmoe

    not sure why you are writing that. Anyways, if your UIFlow code requires a WiFi connection and you want it to work after burning/downloading the UIFlow code, you'll need to make sure WiFi gets connected first. Try to add something like the first two statements I described in this post.

    Thanks
    Felix



  • Not sure what you are trying to say.
    I have literally wrote a book on the subject and MQTT works fine.
    We need more information on your issue.



  • @felmue

    You're right. Tnx. But why does my other products work WITHOUT the wifi-connection block? Have burned a variety of M5sticks/Atoms without having to use the block. If it's mandatory, why not use it in the UIFLOW examples?



  • Hello @simmoe

    I don't know why it does work with your other products, sorry. I think the UiFlow examples are made for quick testing functionality, e.g. via using Run option, which uses the already existing WiFi connection. But yes, I agree, it probably would make sense to include them in the examples.

    Thanks
    Felix