PyCom to User Device over WiFi
-
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?
-
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.
-
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.
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