This is a Vicinity Adapter for MPH Pilot infrastructure.It is used to describe bloodpressure monitors and weight scales, which are deployed in municipality houses, and is based on NodeRed Platform.
JDK 1.8 Apache Maven 3.3.9 or higher
In the root folder of the project:
mvn clean install
In the target folder of the project:
java -jar adapter-0.0.1-SNAPSHOT.jar
- GET /objects (optional): Retrieve all devices Thing Descriptions(TDs) for registration to VICINITY. This functionality is optional since auto-registration of devices will be performed.
- Send device TDs to the vicinity agent at start up
- Publish every new measurement to a specific Vicinity event topic