Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Sigfox library for LoPy4?

    Scheduled Pinned Locked Moved LoPy
    lopy4sigfox
    10 Posts 4 Posters 2.0k Views 4 Watching
    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.
    • R Offline
      Robin
      last edited by

      Out of interest i tried to register a LoPy4 on the sigfox backend. But the most recent firmware for LoPy does not seem to include the Sigfox library. In REPL:

      from network import Sigfox
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      ImportError: cannot import name Sigfox

      What now? Wait for a new firmware version for the LoPy4?

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @Robin
        last edited by

        @robin
        Yes, our factory was very quick to produce and ship the LoPy4 but I'm afraid the firmware isn't fully baked yet. Full support is coming. Thank you for your patience.

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          Robin @jmarcelino
          last edited by

          @jmarcelino i am having trouble getting LoRa code to work on the LoPy4, which worked fine on an old LoPy.
          Is this part of the same release / issue?

          If so, is there an estimated release date? Right now the LoPy4's i have are useless.

          1 Reply Last reply Reply Quote 0
          • T Offline
            Toppert
            last edited by

            I have the same issue, is this now fixed and there is something to upgrade to?

            I just received my Lopy4 and wanted to test Sigfox on it.

            J 1 Reply Last reply Reply Quote 1
            • J Offline
              jmarcelino @Toppert
              last edited by

              @toppert
              Yes everything is supported now, just update the firmware to the latest using the Pycom Firmware Updater and you'll be ready

              https://pycom.io/downloads/

              1 Reply Last reply Reply Quote 0
              • T Offline
                Toppert
                last edited by

                @jmarcelino

                Mhhhh, this seems weird, somehow I can't manage to get the ID and the PAC of my device for Sigfox.
                Update has been done on the Lopy, so importing the Library works fine now.

                0_1524062641716_Capture.PNG

                (If you wonder about the outcome of the console, I typed myself some parts again to check everything).
                Something wrong with the update I made or did I forget something?

                X 1 Reply Last reply Reply Quote 1
                • X Offline
                  Xykon administrators @Toppert
                  last edited by Xykon

                  @toppert Can you please run the following code?

                  import binascii, machine
                  print(binascii.hexlify(machine.unique_id()))
                  

                  Please send me the output from the command either via direct forum message or email: support@pycom.io

                  P.S. can you confirm you did a firmware update? https://docs.pycom.io/chapter/gettingstarted/installation/firmwaretool.html

                  This is mandatory in order to receive the Sigfox credentials from the online server.

                  Christian Ehlers

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    Toppert @Xykon
                    last edited by

                    @xykon Hi, like I mentionnend in my message to you, I will go on details, maybe there is some step missing.

                    I first went for the DFU upgrade on the Expansion board by installing the libusbK driver. Even if the upgrade was a success I could not see a COM port allocated, so I replaced it with a USB Serial Driver and from there on the port worked (that might be the critical point).

                    After that I just connected the LoPy4 on the Expansion board (de-plugging/re-plugging after each step) and launched the upgrade by choosing the LoRa country and SigFox region. The update did not work (Screenshot below).

                    0_1524065086302_Upgrade.PNG

                    So I went for downloading the last .tar.gz on github and upgraded via choosing the flash file (this worked btw). But therefore I guess I can't get an ID since it did not register the region?

                    PS: I have a few LoPy4 to upgrade.

                    Thanks a lot for your fast replies so far, much appreciated.

                    X 1 Reply Last reply Reply Quote 1
                    • X Offline
                      Xykon administrators @Toppert
                      last edited by

                      @toppert Please try again now. There was a server issue that has now been resolved.

                      Christian Ehlers

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        Toppert @Xykon
                        last edited by

                        @xykon Great it works fine now, thanks a lot for your help.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom