An open API service indexing awesome lists of open source software.

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.

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.