🤖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
    172.6k
    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.
    • B
      BigAl2301
      last edited by

      I'm trying to build a multi-character string from keystrokes but the only way I see is with ByteArray. However ByteArrary doesn't hold strings so I used ENCODE and DECODE as shown in this test code. Maybe this is not how encode and decode work?![alt text](0_1710453182467_Screenshot 2024-03-14 at 5.43.07 PM.png image url)0_1710453189687_Screenshot 2024-03-14 at 5.43.56 PM.png

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

        @iamliubo Feature request for UIFlow 2.0.2 on Cardputer

        On the main menu, can the characters on the arrow key buttons also be assigned to perform navigation?
        IE so pressing right (Function + arrow) or pressing forward-slash (the same button without holding Function) both navigate right, and the same for left / comma?
        It would also be nice to have that functionality in the App.list menu with the up/down arrows (semi-colon and period respectively)

        This way screens that only respond to arrow keys can be navigated without having to hold the Function key.

        (Note: The new behavior makes perfect sense for screens using both cursor navigation as well as text-input, eg the wifi settings, where holding Function for navigation should remain required)

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

          @bigal2301 Use a list instead of bytearray to hold the characters, then use "make text from list" to assign the list of characters to your string variable

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

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

            @britontour You may wish to completely start over with the pairing process.

            1. Put your device in programming mode and use m5burner to do an 'erase'
            2. In uiflow2, click the button to select a device to connect to, and hover the mouse over your device icon. In the top right of that icon (when hovered over) should be a square you can click to edit the device info. In there should be an 'unregister device' button to fully delete it.
            3. Back in m5burner, reflash uiflow2 to the device and configure for your wifi.

            I'm stuck at step 3. I connect to the device in WebBurner (you say m5Burner, but that doesn't support S3), then click on "Configure" and enter the wifi credentials. When I click Confirm, I get an error message:
            Error
            Request failed. Check the network and try again!

            Looking in the developer tab of Chrome, there is a 404 error attempting to download from https://uiflow2.m5stack.com/m5stack/api/v2/device/downloadBin

            Is this a server issue, or a problem with my connection?

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

              @britontour I found the m5burner that supports S3. I had an older version for my original Core, and didn't realize there was a new version.
              It took a couple of tries, but I managed to bind and reflash the S3. I confirmed that the PUBLIC switch was active before flashing. Once complete, my screen still shows is at a PRIVATE device, and uiflow2 still shows a red dot next to it in the public list. The device info also shows it as PUBLIC. uiflow2 will not connect to it.

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

                @britontour If m5burner registered the device into uiflow, and it shows having a MAC and Token value (partially masked out), then it should be re-paired properly.
                I'm unsure why your device can not connect to the server to report itself online.
                I've just verified the process still works (I don't have a core s3 but used a cardputer which is stamp s3 based)

                I did just discover a bug in the 2.0.2 "develop" screen. It may be cardputer specific, but it incorrectly displays "private" in both modes. It's just a display bug though, it isn't effecting my connection

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

                  @dissy I see "PRIVATE" on the Develop screen of the S3, even though I configured it as Public. This is what I see in uiflow2 GUI when I click on the device button.

                  0_1710956225054_2024-03-20 12_36_23-.png

                  0_1710955774479_2024-03-20 12_28_31-UIFlow 2.0.png

                  What server connection does it need? I may need to get IP or ports whitelisted at my office.

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

                    My only way to connect to my S3 is USB cable. I click on the run button, and a web terminal window appears. I select the COM port and press connect. Press the play button at the top and I see my python code downloading. at the end , I get an error message (see below). If the line number is referring to my python code, I don't see what the problem is.

                    Line 68: rectOrigin = None
                    Line 102: if lengthTargetCycles >= 3:
                    Line 103: txtTargetCycles3.setText(str(listTargetCycles[2]))

                    ===
                    Traceback (most recent call last):
                    File "<stdin>", line 68
                    SyntaxError: invalid syntax

                    Occasionally, the line number changes.

                    ===
                    Traceback (most recent call last):
                    File "<stdin>", line 102
                    SyntaxError: invalid syntax

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

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

                      I see "PRIVATE" on the Develop screen of the S3, even though I configured it as Public.

                      Before it connects it will read "private" in yellow, and show "user account" as "none"
                      After it successfully connects this will change and should show "public" in green and your email address in "user account"

                      What server connection does it need? I may need to get IP or ports whitelisted at my office.

                      https (port 443) to host uiflow2.m5stack.com

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

                        My IT guy helped me work out the issue with the connection to the server. Access to ntp.aliyun.com was blocked. I changed it to our local gateway ntp server and I can connect to the S3 successfully over wifi!! Onto the next bug!!

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

                          A new Bug!

                          What does this mean? It doesn't change from 0%

                          0_1710968635008_20240320_160126.jpg

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

                            My issue with Sync is also fixed. It was another issue with aliyun.com access restriction by my company's IT dept

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

                              OK, so I am finally making progress with my design, and I see so many features missing that really should be available for a modern development environment. There is no option for design reuse, code sharing, custom functions, etc. If I want to use some example code, I have to recreate each step in my project.

                              Moving from uiflow1 to uiflow2, I had to rebuild every block of my design. If I find something useful in an example project, I can't just copy/paste from one window to the other, again, I have to manually rebuild what I want in my project.

                              Is there a roadmap for planned features to be added to uiflow2?

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

                                @britontour Maybe it is time for you to expand into Arduino IDE where all your complaints are answered.
                                -Cheers

                                Cheers, Terry!

                                100% M5Stack addict with several drawers full of product!

                                1 Reply Last reply Reply Quote 1
                                • K
                                  Kris @IAMLIUBO
                                  last edited by

                                  @iamliubo Why only DAC hat is available with m5staick? No more hats?

                                  ajb2k3A 1 Reply Last reply Reply Quote -1
                                  • ajb2k3A
                                    ajb2k3 @Kris
                                    last edited by ajb2k3

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

                                    @iamliubo Why only DAC hat is available with m5staick? No more hats?

                                    Because it take time to write and develop the code so that it doesn’t cause breakers in other code

                                    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
                                    • Z
                                      zendes
                                      last edited by

                                      Hi. I'm missing the 4-Relay Unit in the list of possible devices. Can you please add that back, as it exists in uiflow 1?

                                      1 Reply Last reply Reply Quote 0
                                      • felmueF
                                        felmue
                                        last edited by felmue

                                        Hello @zendes

                                        maybe my example (PlayZone: M5Dial_4RelayUnit_UIFlow2.0.1) can help out until the native 4-relay unit gets added in UIFlow2.

                                        Note: you might need to modify the I2C pins for SCL and SCK dependent on the core you are using.

                                        Thanks
                                        Felix

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

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sorphin
                                          last edited by

                                          Just got my Dials in, demo was neat. Used the burner to flash UIFlow 2.0.3 (only option it gives is that or alpha29) (Note, i'm not new to M5Stack or UIFlow)... built a quick for testing the RFID reader which was reported to work... using blocks (and verifying the python)... it does not.. (not in 2.0.3 apparently):

                                          1_1712280273337_Screen Shot 2024-04-04 at 6.22.56 PM.png 0_1712280273336_Screen Shot 2024-04-04 at 6.24.02 PM.png

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

                                            @dlhawley

                                            I have a problem with the NCIR-2 temp sensor not being available in the Unit selection window of UIFlow2. I decided to switch to the NCIR hat and forego the high temp alert capability of the NCIR-2 and low and behold, the hat was missing from the add hat section too.
                                            These are current products for sale in the M5 store. Wasn't the NCIR-2 introduced over two years ago? I think there would have been ample time to integrate them into the latest UIFlow.

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