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

    LoRaWan_868 not working under UIFlow 2.01 on CoreS3 or SticC Plus

    UiFlow 2.0
    4
    10
    3.5k
    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.
    • F
      flex
      last edited by

      Hi,

      at initialisation, getting message:
      File "unit/lorawan.py" line 7 in __init __ NameError name 'LoRaWan' isn't defined

      does someone has a workaround?

      Thanks

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

        Hello @flex

        it looks like a typo in UIFlow2 firmware. I proposed a PR which solves the error. However I cannot fully test the fix as I do not have the necessary hardware.

        Thanks
        Felix

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

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

          Just a point of interest but the unit is about to be replaced with an updated version soon

          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!

          F 1 Reply Last reply Reply Quote 0
          • F
            flex @felmue
            last edited by

            @felmue I'll check and let know, thanks

            1 Reply Last reply Reply Quote 0
            • F
              flex @ajb2k3
              last edited by

              @ajb2k3 Great to know, but I hope anyway support of current version, not good to run about new versions when current version not stabilised and working. Thanks for info

              1 Reply Last reply Reply Quote 0
              • MadeFLM
                MadeFL
                last edited by

                Is there a way we can update the firware (I am using the EU version 868), or do we wait until the next drop of UiFlow?

                Tim

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

                  @madefl Wait and see what is going to happen

                  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
                  • felmueF
                    felmue
                    last edited by

                    Hello @MadeFL

                    if you feel like it you can build the UIFlow firmware yourself. You can find the source code here.

                    Thanks
                    Felix

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

                    1 Reply Last reply Reply Quote 0
                    • MadeFLM
                      MadeFL
                      last edited by

                      @felmue said in LoRaWan_868 not working under UIFlow 2.01 on CoreS3 or SticC Plus:

                      here

                      Hi,

                      I have followed the instructions and after changing the lorawan module as describe above (and managing to get the CoreS3 into bootloader mode, it is now loading the 'program' onto the device, with no errors.

                      Now just to get the LoRa connection working :-)

                      Many thanks.

                      Tim

                      1 Reply Last reply Reply Quote 0
                      • MadeFLM
                        MadeFL
                        last edited by

                        Just looping back on this... (sort of).

                        I found the example of using a Core device as a LoraWan gateway, and it seems the code is only availe to load into the M5Core.
                        Being as the code was for an older version than the CoreS3 I have, I have looked around for the UIflow version of that example, but am unable to find it.

                        Does anyone know if it existed and where it might be, so that I can compare it to what is available in UIFlow2 and update it?

                        Many thanks,

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