https://github.com/mrnegativetw/dht11_api
A RESTful API that can return the DHT11 sensor's data, and an android app.
https://github.com/mrnegativetw/dht11_api
android dht11 raspberry-pi raspberrypi
Last synced: about 2 months ago
JSON representation
A RESTful API that can return the DHT11 sensor's data, and an android app.
- Host: GitHub
- URL: https://github.com/mrnegativetw/dht11_api
- Owner: MrNegativeTW
- License: apache-2.0
- Created: 2020-08-01T16:37:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T21:49:02.000Z (about 3 years ago)
- Last Synced: 2025-01-12T07:11:03.221Z (over 1 year ago)
- Topics: android, dht11, raspberry-pi, raspberrypi
- Language: Kotlin
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DHT11_Api
A RESTful api that can return the DHT11 sensor's data, and an android app can work with it.
## Server Side (RPi)
File: server.py
Run this python script on Raspberry Pi.
Remember to change the GPIO / IP / Port.
**Example Url**
```
http://192.168.1.138:5001/api/v1/temp+hum
```
**Return Sample**
```
{"humidity":83,"temperature":30}
```
## Client Side
### Android Client
An android app that can work with the **server.py**.
Visit the folder for more information.
### iOS Client
Not yet.