• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
M5Stack Community
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

MQTT UIFlow problems

UIFlow
5
19
32.8k
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.
  • D
    dvd78
    last edited by Jan 21, 2019, 11:54 PM

    yesterday i downloaded my first blocky with mqtt and it was running. Today i tryed to reload (download from M5Flow) the same blocky but it's no more running. Nothing has been changed in my code, but i saw a new UI of Flow, is it possible that the new "http://flow.m5stack.com/" has some problems?

    1 Reply Last reply Reply Quote 0
    • H
      heybin
      last edited by Jan 22, 2019, 1:45 AM

      Very sorry, we will fix it today,

      D W 2 Replies Last reply Jan 22, 2019, 11:45 AM Reply Quote 0
      • D
        dvd78 @heybin
        last edited by Jan 22, 2019, 11:45 AM

        @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

        A 1 Reply Last reply Jan 22, 2019, 7:38 PM Reply Quote 0
        • W
          world101 @heybin
          last edited by Jan 22, 2019, 7:21 PM

          @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
          • A
            ajb2k3
            last edited by Jan 22, 2019, 7:29 PM

            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!

            W 1 Reply Last reply Jan 22, 2019, 7:57 PM Reply Quote 0
            • A
              ajb2k3 @dvd78
              last edited by Jan 22, 2019, 7:38 PM

              @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
              • W
                world101 @ajb2k3
                last edited by Jan 22, 2019, 7:57 PM

                @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?

                A 1 Reply Last reply Jan 22, 2019, 7:59 PM Reply Quote 0
                • A
                  ajb2k3 @world101
                  last edited by Jan 22, 2019, 7:59 PM

                  @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!

                  W 1 Reply Last reply Jan 22, 2019, 8:59 PM Reply Quote 0
                  • W
                    world101 @ajb2k3
                    last edited by Jan 22, 2019, 8:59 PM

                    @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 Jan 22, 2019, 9:18 PM

                      i have an M5core too but mqtt is not working yet

                      A 1 Reply Last reply Jan 22, 2019, 9:34 PM Reply Quote 0
                      • A
                        ajb2k3 @dvd78
                        last edited by Jan 22, 2019, 9:34 PM

                        @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 Jan 22, 2019, 9:42 PM Reply Quote 0
                        • D
                          dvd78 @ajb2k3
                          last edited by Jan 22, 2019, 9:42 PM

                          @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 Jan 23, 2019, 2:05 AM

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

                            W D 2 Replies Last reply Jan 23, 2019, 3:09 PM Reply Quote 0
                            • W
                              world101 @heybin
                              last edited by Jan 23, 2019, 3:09 PM

                              @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 Jan 23, 2019, 8:22 PM

                                @heybin thank you, problem is solved.

                                bye

                                1 Reply Last reply Reply Quote 0
                                • T
                                  The_Stacker
                                  last edited by Feb 9, 2019, 2:09 AM

                                  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.

                                  W 1 Reply Last reply Feb 9, 2019, 4:43 AM Reply Quote 0
                                  • W
                                    world101 @The_Stacker
                                    last edited by Feb 9, 2019, 4:43 AM

                                    @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 Feb 11, 2019, 1:07 AM

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

                                      W 1 Reply Last reply Feb 11, 2019, 1:54 AM Reply Quote 0
                                      • W
                                        world101 @The_Stacker
                                        last edited by Feb 11, 2019, 1:54 AM

                                        @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