Skip to content

vicinityh2020/vicinity-adapter-CERTH-IoTivity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Infrastructure overview

This is a Vicinity Adapter for adapting IoTivity Platform to Vicinity. A smartplug was used in order to demonstrate this adapter.

2. Configuration and deployment

Build using Maven

In the root folder of the project:

mvn clean install

Deploy on Tomcat 8.5

Copy the IoTivity-0.0.1-SNAPSHOT.war file from ./target directory of the project to /webapps directory located on Tomcat server and start Tomcat server or use Manager web application http://host-IP:port/manager/html for deployment (you need manager-gui role to be allowed to access it).

3. Functionality and API

Endpoints

  • GET /objects: Retrieve all devices Thing Descriptions(TDs) for registration to VICINITY.
  • GET /objects/{oid}/properties/{pid} : Get the latest value of a property of a device e.g. get status of smartplug
  • POST / objects/{oid}/actions/{aid}: Make an action e.g. open or close the smartplug.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages