https://github.com/mohdrashid/raspberrypi
https://github.com/mohdrashid/raspberrypi
iot mysql php python raspberrypi
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohdrashid/raspberrypi
- Owner: mohdrashid
- License: gpl-2.0
- Created: 2015-10-07T14:00:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-08T08:02:43.000Z (over 10 years ago)
- Last Synced: 2024-12-31T10:24:06.258Z (over 1 year ago)
- Topics: iot, mysql, php, python, raspberrypi
- Language: Python
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Raspberry Server Communication
This project was started to create a module which can be used to help raspberry pi communicate with servers located in the internet, allowing it access data of other devices or pass collected data to server so that others can make use of it.
Use the sudo command below to move created header file [server_io.py] to python library folder in Raspberry Pi
sudo mv ~/place_where_its_located/server_io.py /usr/lib/pythonx.y
replace x.y with persion number of your python compiler
Once done the header can be imported by writing the following command in python:
import server_io as Server
To access function in the header use Server.FunctionName() after importing the header.
For example to get mac address, use Server.get_mac()