Skip to content

A RESTful API that can return the DHT11 sensor's data, and an android app.

License

Notifications You must be signed in to change notification settings

MrNegativeTW/DHT11_Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A RESTful API that can return the DHT11 sensor's data, and an android app.

Topics

Resources

License

Stars

Watchers

Forks