Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/umer0586/droidpad-python-examples
Python examples for DroidPad Android Application
https://github.com/umer0586/droidpad-python-examples
connection controller internet-of-things iot python python-android python-controller python-iot
Last synced: 25 days ago
JSON representation
Python examples for DroidPad Android Application
- Host: GitHub
- URL: https://github.com/umer0586/droidpad-python-examples
- Owner: umer0586
- License: gpl-3.0
- Created: 2025-01-03T09:33:04.000Z (30 days ago)
- Default Branch: main
- Last Pushed: 2025-01-03T10:40:51.000Z (30 days ago)
- Last Synced: 2025-01-03T11:21:56.453Z (30 days ago)
- Topics: connection, controller, internet-of-things, iot, python, python-android, python-controller, python-iot
- Language: Python
- Homepage: https://github.com/umer0586/DroidPad
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## This Repository contains Python examples for [DroidPad](https://github.com/umer0586/DroidPad) Android app
1. ### Clone this Repo
```bash
git clone https://github.com/umer0586/droidpad-python-examples
```
2. ### Install requirements
```bash
pip install -r requirements.txt
```3. ### Move to servers directory
```bash
cd droidpad-python-examples/servers
```
- #### To Start a websocket server
```bash
python websocket-server.py 8080
```
- #### To Start a TCP server
```bash
python tcp-server.py 8081
```
- #### To Start a UDP server
```bash
python udp-server.py 8082
```
### To find your machines's IP address:
- On Windows, use the `ipconfig` command.
- On Linux, use the `ifconfig` command.For BLE navigate to `BLEClient` directory and run `python subscribe.py`
Create a new controller in [DroidPad](https://github.com/umer0586/DroidPad). Then, navigate to the connection settings and specify the IP address and port number. Once connected, and you should see JSON messages being printed in the console.