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

    PyCom to User Device over WiFi

    Scheduled Pinned Locked Moved LoPy
    3 Posts 2 Posters 31 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.
    • A Offline
      Akhil Simha Neela
      last edited by

      I am trying to send sensor data from my Pycom Device (Pycom MicroPython 1.20.2.r6 [v1.11-c5a0a97] on 2021-10-28; LoPy4 with ESP32 Pybytes Version: 1.7.1) to a user PC over WiFi.

      I am new to Pycom and wanted to know if this is possible where the user is running a Python Program to send or receive data from a pycom device?

      I want to establish this connection over a home network where both my devices are connected to the same local network over UDP or TCP.

      Can someone help me out with this?

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

        How about using MQTT? I run a mosquitto server on my Linux desktop, and chuck sensor data and status info from my Lopy4s at it. I can use GUI or CLI MQTT clients on the desktop and also MQTTInspector on my iPhone/iPad to look at the data or send stuff back to the Lopy4s. It all hangs together really well.

        1 Reply Last reply Reply Quote 1
        • A Offline
          Akhil Simha Neela
          last edited by

          Yes, I was able to get it to work over MQTT. But my task is mainly to use UDP or TCP. So I am looking for some solution with respect to that.

          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