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 + MQTT

    Scheduled Pinned Locked Moved Support & Troubleshooting
    4 Posts 3 Posters 93 Views 3 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
      cromagnon
      last edited by

      Hello,

      I would like to use Pybytes to allow remote programming of FiPy nodes while simultaneously using a separate MQTT server to upload data online and receive automation control commands. When I try to import MQTTClient while pybytes is installed I get an error saying there are multiple users, which I assume is because Pybytes also uses MQTT. Is it possible to connect to multiple MQTTclients, and does anyone have a workaround for this issue?

      Thanks

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

        Hi,

        Ive looked into this but cannot reproduce the issue. I know that Pybytes uses MQTT as well. Did you perhaps try to use a different mqtt instance? Or the external library provided here: https://github.com/pycom/pycom-libraries/tree/master/examples/mqtt
        Gijs

        1 Reply Last reply Reply Quote 0
        • C Offline
          Clyde Bess @cromagnon
          last edited by

          @cromagnon I have the same problem did you found a
          Solution?

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

            Somebody posted this some time ago: https://forum.pycom.io/topic/6801/mqtt-library-conflict-with-pybytes/2?_=1613294236230, It should be in the documentation very soon. I feel like that would be a solution to your problem as well!

            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