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

    Start Pymesh with Pymesh vs Pybytes?

    Scheduled Pinned Locked Moved Discussion
    2 Posts 1 Posters 48 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.
    • J Offline
      jmprotos
      last edited by

      Is there some reason that with the latest firmware from the Pymesh tab on Pybytes I can only start a Pymesh with;
      pymesh = pybytes.__pymesh.__pymesh

      and not

      pymesh = Pymesh(pymesh_config, new_message_cb)
      ?

      I'd like to have one/two border routers running pybytes and reporting mesh status while another set of nodes in the mesh runs a WIFI AP and webserver. Right now I can't seem to turn off Pybytes on boot (or disable after the fact) and start the wifiap and webserver without core panics. Though if I turn off Pybytes at boot, I can start the webserver, but "pymesh = Pymesh..." fails with "No attribute found 'mesh'" like I'm trying to run firmware without pymesh.

      All this minus the pybytes part has been working under older firmware, so I can revert back, it would just be great to have web monitoring and whatever other tweaks are in the new firmware!

      Thanks!

      1 Reply Last reply Reply Quote 0
      • J Offline
        jmprotos
        last edited by

        Missed the edit window, but to correct myself, I can't start the node with pybytes on wifi, start the pymesh, run pybytes.disconnect(), deinit wifi, and then reinit as a wifiAP with webserver without core panics.

        Though the bigger thing is I can't use pymesh = Pymesh() at all with current firmware? I guess?
        Need more coffee.

        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