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

    pybytes.activate(activationstring)

    Scheduled Pinned Locked Moved Pybytes IoT platform
    5 Posts 4 Posters 42 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.
    • PB123P Offline
      PB123
      last edited by

      I'm trying to use the pybytes.activate(activationstring) method.
      I have tried it with the activation token that you are supposed to use in the offline firmware updater tool but that doesn't work:

      >>> pybytes.activate('a4b3f5f3-28aa-4b58-aacd-0872b718987c')
      Disconnecting current connection!
      Error decoding activation string!
      syntax error in JSON
      Activation failed! Please try again...
      

      I noticed in another post that people use a much longer activation string than what I'm using above. So I guess I'm not using the correct activation string.

      Where can I get a working activation string?

      thanks

      P 1 Reply Last reply Reply Quote 0
      • A Offline
        Alexander Pilhar
        last edited by

        Did you use the activation string from 'with pymakr plugin' section?

        20211011-pybytes-device-provisioning.png

        N 1 Reply Last reply Reply Quote 1
        • P Offline
          peterp @PB123
          last edited by

          @PB123 said in pybytes.activate(activationstring):

          I'm trying to use the pybytes.activate(activationstring) method.
          I have tried it with the activation token that you are supposed to use in the offline firmware updater tool but that doesn't work:

          as @Alexander-Pilhar said, you should use the activation string for Pymakr when using the pybytes.activate() method, not the token for the offline updater

          1 Reply Last reply Reply Quote 1
          • N Offline
            Nils Erlands @Alexander Pilhar
            last edited by

            @Alexander-Pilhar It's a bit hard for me when there is no such thing a43dddb4-56fb-4a83-85dd-c1285bb510f5-image.png

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Alexander Pilhar @Nils Erlands
              last edited by

              @Nils-Erlands this might be browser related... What browser are you using and what version? I'm using current Microsoft Edge (Version 95.0.1020.44) withouth any issues.

              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