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

    A trouble of Pymesh

    Scheduled Pinned Locked Moved Support & Troubleshooting
    5 Posts 2 Posters 106 Views 2 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.
    • C Offline
      comz
      last edited by

      I am using 2 FiPy with PyScan and LoPy4 with expansion board.
      I did update pybytes firmware using update tool.
      In the pybytes of web, I made project and group mesh.
      And, I did deploy pymesh.

      The devices show,
      Pycom MicroPython 1.20.2.rc11
      Pybytes Version: 1.5.2
      Pymesh Version: 1.0.1

      When I ran the example code, next error occurred.

      AttrubuteError: 'Loramesh' object has no attribute 'mesh'

      How can I solve this?

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gijs
        last edited by

        Hi,
        You are using Pygate firmware I believe, as we have no rc11 for the Pybytes firmware version. In the Pygate firmware, LoRa is deactivated as there is a conflict in pin usage. Please use the r0 Pybytes firmware version :)

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          comz
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • C Offline
            comz @Gijs
            last edited by

            @Gijs
            Hello,
            I did update r0 but after pymesh deploy, the firmware changed to 1.20.2rc11.
            It is strange.
            I checked several times.

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gijs
              last edited by

              Hi,
              Sorry for the confusion, you are indeed correct it updates to Pybytes rc11 (not exactly sure why though). It means you should have the Pymesh functionality on the device. Which example code are you then refering to? For me, this works fine:

              import time
              
              if pybytes is not None:
                  if pybytes.__pymesh and pybytes.__pymesh.__pymesh:
                      pymesh = pybytes.__pymesh.__pymesh
                      while True:
                          pkt = "Hello, from " + str(pymesh.mac())
                          pybytes.send_signal(1, pkt)
                          time.sleep(20)
              

              From this page: https://docs.pycom.io/pybytes/pymeshintegration/example/

              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