Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WiFi communication
#1
Hi , Im new to python . i want to send a data throw WiFi from my PC to RPi but i dont know how. can i use Socket library ? for example i want to update variable e in my python code on Raspberry , choose 25 om my phone and then e1 = 25 in RPi code , how can i do that? thanks a lot
Reply
#2
There is a package that appears to be used quite a bit python wifi
pypi: https://pypi.org/project/python-wifi/
ReadTheDocs: https://wifi.readthedocs.io/en/latest/
python example: https://gist.github.com/taylor224/516de7dd0b707bc0b1b3
Reply
#3
Is it necessary to do it with such low level tools (i.e. directly using sockets)? Why not just write a little Python web app and then you can use the browser on your phone to interact with it?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  arduino and colaboratory with wifi rithikreddypalla 0 1,697 May-22-2021, 06:21 AM
Last Post: rithikreddypalla
  Wifi Camera Connection MeenAg 2 3,122 Oct-02-2020, 06:35 PM
Last Post: MeenAg
  packet radio communication EmpireAndrew 1 2,200 Nov-01-2019, 06:35 PM
Last Post: micseydel
  Serial communication with raspberry pi 3B and Xbee kj7 0 2,183 Mar-25-2019, 03:39 AM
Last Post: kj7
  Serial Communication Error AlphyOuseph 1 3,551 Feb-07-2019, 07:16 AM
Last Post: DeaD_EyE
  pi3 serial communication tony1812 0 2,171 Sep-23-2018, 10:29 PM
Last Post: tony1812
  python-osc communication fauveboy 10 10,244 Jul-23-2018, 07:49 PM
Last Post: buran
  Wifi.Scan thenewguy 0 2,364 Mar-24-2018, 05:59 PM
Last Post: thenewguy
  Serial communication with a board Bokka 2 5,368 Dec-07-2017, 07:34 AM
Last Post: Bokka
  code pattern for process communication Skaperen 12 8,535 Oct-08-2017, 03:14 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020