NAV
Python Matlab

Application Details

This is an image

APPLICATION: https://openioe.in

ENDPOINT: https://us-central1-smartapp-iot.cloudfunctions.net/api/

This is an image

Open IoE is Open source Internet of Things platform. The application is hosted at https://openioe.in

Getting Started

Quick Start

This is an image

To communicate with Open IoE, use this code:

url = 'https://us-central1-smartapp-iot.cloudfunctions.net/api/';
options = weboptions('ContentType','text');
api=strcat(url,'read/<APIKey>/<DeviceID>/<DevicePIN>')
value = webread(url,options)
#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
  1. 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

  2. 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

package main

import "github.com/bep/kittn/auth"

func main() {
	api := auth.Authorize("meowmeowmeow")

	_ = api.GetKittens()
}
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

ParameterRequiredDescription
<APIKey>trueAPI Key generated by the user.
<DeviceID>trueDevice ID generated by application.
<DevicePIN>trueDevice PIN generated by application.

Write to Device

Downloads

NoSoftwarePurposeLink
1PostmanTo work on REST APIs – RecommendedPostman
2PythonTo validate IoT platform – OptionalPython
3MatlabTo validate IoT platform – OptionalMatlab

Contributors

The following people contributed to this project:

NoContributorContactContribution
1Venkataswamy Rvenkataswamy.inDevelopement of Open IoE application
Driver programs
Applications