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

    UiFlow 2.0 discuss(how-to, bug, feature request or sometings)

    UiFlow 2.0
    69
    178
    173.1k
    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.
    • felmueF
      felmue
      last edited by

      Hello @m5stack

      thank you for fixing the first part.

      However the second part is still wrong. Below code created by the When keyboard was pressed block:

      def kb_pressed_event(kb):
        global kb
        pass
      

      still returns a SyntaxError: identifier redefined as global.

      Please fix this too.

      Thanks
      Felix

      GPIO translation table M5Stack / M5Core2
      Information about various M5Stack products.
      Code examples

      1 Reply Last reply Reply Quote 0
      • W
        Waittherack
        last edited by

        It seems like I can't download my programs anymore, neither in Wifi nor with the USB-C cable. I have a M5Stack Core2. This is what i get both ways : 0_1707839419278_644aa359-ea71-4ef4-a3e3-4ea80718fc6f-image.png 0_1707839440797_7063265d-eb2f-4c59-9f4d-f0b3d6ef1009-image.png

        W 1 Reply Last reply Reply Quote 0
        • Q
          Quakernate
          last edited by

          Hi All.

          New here and quite confused. Got the stickCplus2. Love the device, but writing/blocking some code is a pain in the a.. atm.

          Can't seem to recreate the experiment in the docs (https://docs.m5stack.com/en/quick_start/m5stickc_plus2/uiflow); turning on (one of) the LED(s)? In the docs it's blocked with the PIN blocks. Why are those not in the 'built-in hardware' section? The LED's are built-in, right? But also the exact same compilation as in the example does not turn on a LED when run.

          Then in the built-in section you can choose RGB, which definetely is not built-in?

          Some schematic overview of what button/led is which in the code language would be nice. (Just a picture of the device having the code-name next to where it would be placed in the device. Understand what I'm trying to say?

          Is UIflow1 still more stable? Must say, UI2 looks very good. But that's about it for now it seems.

          Sorry for such a long comment already. Got a lot more questions, but I will come back with those later. Still a noob in the esp32 anyway, so I'll keep trying to find out stuff by myself as well.

          Cheers!

          1 Reply Last reply Reply Quote 0
          • Q
            Quakernate
            last edited by

            Hi, Quakernate again.

            Seems like there just isn't a LED available in UIFlow2.0. (thought it would maybe be named different) Was toying around in the UIFlow1 and there I was able to turn on the LED nd stuff way easier. (especially since there is a LED block at all)

            Will code some in UIF1.13 until UIF2.0 is suitable (enough) for play.

            If usefull I'm willing to keep fooling around in 2.0 as well just to list more bugs.

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

              There is an RGB LED available in UIFLow but you need to use the Micropython code to call it.

              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!

              teastainT 1 Reply Last reply Reply Quote 0
              • B
                BritOnTour
                last edited by

                Is there any option to import or convert a UiFlow 1 Blockly project to UiFlow 2?

                1 Reply Last reply Reply Quote 4
                • teastainT
                  teastain @ajb2k3
                  last edited by

                  @ajb2k3 I wonder what the difference is between UIFlow ver 1 and ver 2?
                  Can sketches be ported over from ver to ver 2, but not vice/versa?

                  Cheers, Terry!

                  100% M5Stack addict with several drawers full of product!

                  ajb2k3A 1 Reply Last reply Reply Quote 1
                  • dissyD
                    dissy
                    last edited by

                    Bug fix request
                    UIFlow2 "http" block is completely non-functional, failing to load the 'requests' library. There is a typo with an errant 'u' that should not be there.

                    ImportError: no module named 'urequests'

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

                      @teastain I'm not sure exactly but what I have found, there is some minor alteration to the backend and it would appear that UIFlow2 dropped the original graphic back end and moved to a unified LVGL graphics library.
                      Its possible that everything had to be rewritten because of the ESP32S3 devices and updates to ESP-IDF in Micropython.

                      I do know part of the rewrite was because older devices were running out of memory to run Micropython due to the amount of duplication.

                      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
                      • ajb2k3A
                        ajb2k3 @dissy
                        last edited by

                        @dissy This is already known as there is a discussion on trying to work around this typo

                        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!

                        dissyD 1 Reply Last reply Reply Quote 0
                        • dissyD
                          dissy @ajb2k3
                          last edited by

                          @ajb2k3 My intent was making it known to the devs, in the hopes the problem could be fixed.

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

                            @dissy Oh Ok , Just a tip but the forum uses a form of tags so add @m5stack to get the attention.

                            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
                            • L
                              lothy
                              last edited by

                              @m5stack In UIFlow v2.0.1 I can't find the CO2L unit in the list (SKU:U104). Am I missing something? I'm trying to use it with the M5dial via the I2C port.

                              1 Reply Last reply Reply Quote 0
                              • W
                                wifi-guy223
                                last edited by

                                how can i add apps multiple apps to my stickc plus 2?
                                I want to have more than on app ruing on it and idk how to set that up

                                ajb2k3A 1 Reply Last reply Reply Quote 0
                                • ajb2k3A
                                  ajb2k3 @wifi-guy223
                                  last edited by

                                  @wifi-guy223 Its not a computer, it is a microcontroller, it doesn't have an OS.

                                  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!

                                  C 1 Reply Last reply Reply Quote 0
                                  • E
                                    ecobeast @m5stack
                                    last edited by

                                    @m5stack Feature request to add CANBus unit (U085) to available units for the M5Dial. I've successfully tested the unit with the dial via the arduino IDE and a library but ideally I'd like to develop my project using UiFlow.

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      Waittherack @Waittherack
                                      last edited by

                                      @waittherack said in UiFlow 2.0 discuss(how-to, bug, feature request or sometings):

                                      It seems like I can't download my programs anymore, neither in Wifi nor with the USB-C cable. I have a M5Stack Core2. This is what i get both ways : 0_1707839419278_644aa359-ea71-4ef4-a3e3-4ea80718fc6f-image.png 0_1707839440797_7063265d-eb2f-4c59-9f4d-f0b3d6ef1009-image.png

                                      Can someone explain that to me ? It blocks everything, maybe the answer is within the yellow lines but I don't really know what to do :/

                                      robskiR 1 Reply Last reply Reply Quote 0
                                      • robskiR
                                        robski @Waittherack
                                        last edited by

                                        @waittherack said in UiFlow 2.0 discuss(how-to, bug, feature request or sometings):

                                        @waittherack said in UiFlow 2.0 discuss(how-to, bug, feature request or sometings):

                                        It seems like I can't download my programs anymore, neither in Wifi nor with the USB-C cable. I have a M5Stack Core2. This is what i get both ways : 0_1707839419278_644aa359-ea71-4ef4-a3e3-4ea80718fc6f-image.png 0_1707839440797_7063265d-eb2f-4c59-9f4d-f0b3d6ef1009-image.png

                                        Can someone explain that to me ? It blocks everything, maybe the answer is within the yellow lines but I don't really know what to do :/

                                        is your device firmware(2.0.0 alpha) matches web UIFlow2 version (current 2.0.1)? if not then update via M5Burner

                                        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

                                        W 1 Reply Last reply Reply Quote 0
                                        • C
                                          crami25 @ajb2k3
                                          last edited by

                                          @ajb2k3 ??? Using UIFlow or Python you can have multiple Apps or Programs on your M5Stack device !!
                                          https://www.hackster.io/AJB2K3/multipage-programs-on-the-m5stack-core2-bc302c

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            BritOnTour
                                            last edited by

                                            I have an S3 with UIFLOW2 installed. I cannot get it to connect on the WEB interface of UIFLOW2.0_1709933512731_2024-03-08 15_30_09-.png
                                            When I click on the device I get the S3 showing with a red dot. Help!
                                            0_1709933538827_2024-03-08 15_31_12-UIFlow 2.0.png

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