Open IoE
Project description
Open IoE
Open IoE is a simple IoT platform to operate IoT devices.
There are two options available,
- API creation and Consumption (REST APIs)
- Python Library (Client)
1. API Creation for IoT Device and Its Consumption
Users are expected to take these steps,
- Add device using Link <Add Device>
- (Optional) Verify device data or API using Link <Verify Device>
- Embed the API in your application using Client Code/API
Visit the OpenIoE 1.0 web portal at https://v3.openioe.in
API List:
No | API | Description | Type | Example |
1 | showvalue | To get hardware value from web service. | http get | <endpoint>/showvalue/2/433
|
2 | updatevalue | Update the hardware value passed as a parameter | http get | <endpoint>/updatevalue/2/433/2
|
3 | showjson | To get hardware JSON from web service. | http get | <endpoint>/showjson/2/433
|
4 | updatejson | Update the hardware JSON passed as parameter | http post | <endpoint>/updatejson/2/433 <Data>
|
5 | showxml | To get hardware XML file from web service. | http get | <endpoint>/showxml/2/433
|
6 | updatexml | Update the hardware XML passed as parameter | http post | <endpoint>/updatexml/2/433 <Data>
|
2. Python Library
Users are expected to take these steps,
- Install Python Library
pip install openioe
- Write the client code using the following methods
Method List:
No | Method | Description | Example |
1 | ReadAPI | To read the sensor data from multiple nodes | from openioe.openioe_apis import *
oi=openioe_apis()
oi.UserIDPinAPIKeys=[[2, 433], [3, 986]]
SensorData,ResposeCode=oi.ReadAPI()
print(SensorData)
print(ResposeCode)
|
2 | WriteAPI | To modify the control signal at multiple nodes | from openioe.openioe_apis import *
oi=openioe_apis()
oi.UserIDPinAPIKeys=[[2, 433], [3, 986]]
<p>oi.Data=[1,2]
Confirmation,ResposeCode=oi.ReadAPI()
print(Confirmation)
print(ResposeCode)
|
3 | Developer | To display the developer information | from openioe.openioe_apis import *
oi=openioe_apis()
oi.Developer()
|
Developer Information
Dr. Venkataswamy R https://venkataswamy.in |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openioe-0.1.1.tar.gz
(3.1 kB
view hashes)