🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    MQTT UIFlow problems

    UIFlow
    5
    19
    33.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      heybin
      last edited by

      Very sorry, we will fix it today,

      D world101W 2 Replies Last reply Reply Quote 0
      • D
        dvd78 @heybin
        last edited by

        @heybin thank you, this evening i will try...
        also, if i can, i think then the image used to insert text, label etc...in the m5 is too little

        ajb2k3A 1 Reply Last reply Reply Quote 0
        • world101W
          world101 @heybin
          last edited by

          @heybin said in MQTT UIFlow problems:

          Very sorry, we will fix it today,

          Has it been fixed yet? I'm trying the example, but after downloading the MQTT example flow to my m5stack Fire, it just freezes. It is not responsive until I reset it.

          https://m5stack.github.io/UIFlow_doc/cn/zh_CN/MQTT/Example.html

          My flow:
          0_1548184600465_Screen Shot 2019-01-22 at 2.13.38 PM.png

          cloudmqtt settings:
          0_1548184844061_Screen Shot 2019-01-22 at 2.19.25 PM.png

          Here are the logs from cloudmqtt.com. Not sure how to resolve the socket error.

          2019-01-22 19:07:18: mosquitto version 1.5.5 starting
          2019-01-22 19:07:18: Config loaded from /var/lib/mosquitto/19639/mosquitto.conf.
          2019-01-22 19:07:18: Opening ipv4 listen socket on port 29639.
          2019-01-22 19:07:18: Opening websockets listen socket on port 39639.
          2019-01-22 19:07:18: Opening ipv4 listen socket on port 19639.
          2019-01-22 19:09:09: New client connected from 64.100.78.39 as cloudmqtt-st-ui-0.9613626986254669 (c1, k60, u'oklhhzzb').
          2019-01-22 19:09:10: Socket error on client cloudmqtt-st-ui-0.9613626986254669, disconnecting.
          2019-01-22 19:09:11: New client connected from 64.100.78.39 as cloudmqtt-ws-ui-0.6445892594600325 (c1, k60, u'oklhhzzb').
          2019-01-22 19:10:05: Client cloudmqtt-ws-ui-0.6445892594600325 disconnected.

          1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3
            last edited by

            What Operating system do you use?
            What M5 are you using?

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            world101W 1 Reply Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3 @dvd78
              last edited by

              @dvd78 said in MQTT UIFlow problems:

              @heybin thank you, this evening i will try...
              also, if i can, i think then the image used to insert text, label etc...in the m5 is too little

              Use the internet browsers zoom function.

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 0
              • world101W
                world101 @ajb2k3
                last edited by

                @ajb2k3 said in MQTT UIFlow problems:

                What Operating system do you use?
                What M5 are you using?

                I'm on a Mac with OS 10.13.6 (High Sierra).
                I have the m5stack Fire (red) hardware running v1.1.1.

                Is MQTT working for you?

                ajb2k3A 1 Reply Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3 @world101
                  last edited by

                  @world101

                  Yes, but I'm worried about the restarting.
                  I only have an M5Core

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  world101W 1 Reply Last reply Reply Quote 0
                  • world101W
                    world101 @ajb2k3
                    last edited by

                    @ajb2k3

                    I have a m5stack grey as well that I will try tonight.

                    1 Reply Last reply Reply Quote 0
                    • D
                      dvd78
                      last edited by

                      i have an M5core too but mqtt is not working yet

                      ajb2k3A 1 Reply Last reply Reply Quote 0
                      • ajb2k3A
                        ajb2k3 @dvd78
                        last edited by

                        @dvd78 Update firmware to 1.1.1 to get MQTT working.

                        UIFlow, so easy an adult can learn it!
                        If I don't know it, be patient!
                        I've ether not learned it or am too drunk to remember it!
                        Author of the WIP UIFlow Handbook!
                        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          dvd78 @ajb2k3
                          last edited by

                          @ajb2k3 said in MQTT UIFlow problems:

                          @dvd78 Update firmware to 1.1.1 to get MQTT working.

                          i did it yesterday, do i need to download a new version?

                          1 Reply Last reply Reply Quote 0
                          • H
                            heybin
                            last edited by

                            @dvd78 Sorry, yesterday our engineers forgot to update....
                            now, already fixed, refresh web page it will be ok

                            world101W D 2 Replies Last reply Reply Quote 0
                            • world101W
                              world101 @heybin
                              last edited by

                              @heybin

                              MQTT working good for me now with both of my grey and fire m5stack cores. I have tested cloudmqtt and io.adafruit. Thanks for fixing it!

                              1 Reply Last reply Reply Quote 0
                              • D
                                dvd78 @heybin
                                last edited by

                                @heybin thank you, problem is solved.

                                bye

                                1 Reply Last reply Reply Quote 0
                                • T
                                  The_Stacker
                                  last edited by

                                  I tried the same blocky today. It uploaded but on the display I only see: error ImportError('mqtt need download...'.)

                                  I am using an M5Stack Fire, firmware 1.1.2.
                                  I have a local MQTT broker running on an Onio Omega and the upload is done with a Windows 10 computer.

                                  Any help would be appreciated.

                                  world101W 1 Reply Last reply Reply Quote 0
                                  • world101W
                                    world101 @The_Stacker
                                    last edited by

                                    @the_stacker

                                    Instead of running the program directly from uiFlow (which is the triangle button at the top-right), just click the Download option from the hamburger menu.

                                    0_1549687400247_752A78B6-EAC3-46A0-8D74-DFB2FF3889DE.jpeg

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      The_Stacker
                                      last edited by

                                      Thanks! That worked.
                                      Just out of curiosity: What's the difference between the two?

                                      world101W 1 Reply Last reply Reply Quote 0
                                      • world101W
                                        world101 @The_Stacker
                                        last edited by

                                        @the_stacker said in MQTT UIFlow problems:

                                        Thanks! That worked.
                                        Just out of curiosity: What's the difference between the two?

                                        Run is just for quick testing of your program. It is erased on a reboot. Download will add the program to the flash storage on the device so you can access it from the APP.LIST menu (middle button when the M5stack is booting up - inbeteeen upload and setup).

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post