MrNegativeTW / DHT11_Api

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Apache License 2.0


Languages

Language:Kotlin 86.9%Language:Python 13.1%