Application Details
APPLICATION: https://openioe.in
ENDPOINT: https://us-central1-smartapp-iot.cloudfunctions.net/api/
Open IoE is Open source Internet of Things platform. The application is hosted at https://openioe.in
Getting Started
Quick Start
To communicate with Open IoE, use this code:
#Pip install requests
import requests
url=https://us-central1-smartapp-iot.cloudfunctions.net/api/
api=url+"read/<APIKey>/<DeviceID>/<DevicePIN>"
response = requests.get(api)
print response.text
Application Level
a. Login to https://openioe.in/login
b. Create and select Project
c. Create and select Device: Note down device id and pin
d. Create and select API Key: Note down API Key
e. Create default data
Device Level
a. Connect to application
b. Send and recieve data
Detailed Procedure
Comming soon…
Applications
Ohms law in Electrical system
V=IR
Problem: Find R if I and V are sensed using Raspberry Pi SBC via sensors.
R=V/I;
Assumptions: DC circuit
API List
Read Device
import kittn
api = kittn.authorize('meowmeowmeow')
api.kittens.get()
The above command returns JSON structured like this:
[
{
"id": 1,
"name": "Fluffums",
"breed": "calico",
"fluffiness": 6,
"cuteness": 7
},
{
"id": 2,
"name": "Max",
"breed": "unknown",
"fluffiness": 5,
"cuteness": 10
}
]
To read or get the signal value available at the device terminal.
HTTP Request
GET https://us-central1-smartapp-iot.cloudfunctions.net/api/read/<APIKey>/<DeviceID>/<DevicePIN>
Query Parameters
Parameter | Required | Description |
---|---|---|
<APIKey> | true | API Key generated by the user. |
<DeviceID> | true | Device ID generated by application. |
<DevicePIN> | true | Device PIN generated by application. |
Write to Device
Downloads
No | Software | Purpose | Link |
---|---|---|---|
1 | Postman | To work on REST APIs – Recommended | Postman |
2 | Python | To validate IoT platform – Optional | Python |
3 | Matlab | To validate IoT platform – Optional | Matlab |
Contributors
The following people contributed to this project:
No | Contributor | Contact | Contribution |
---|---|---|---|
1 | Venkataswamy R | venkataswamy.in | Developement of Open IoE application |
Driver programs | |||
Applications |