node-red-contrib-sofia2 0.2.0

A Node-RED node to interact with Indra's Sofia2 IoT platform.

npm install node-red-contrib-sofia2

PLEASE NOTE: This node is currently experimental.

This is a node designed to interact with Sofia2 ontologies. It allows to perform query, insert and subscribe commands. It has been developed starting from Sofia2 Node.js APIs available here: http://sofia2.org/apis/SOFIA2_API_NODEJS/SOFIA2_API_NODEJS.zip

##Install

Run the following commands in the root directory of your Node-RED install;

(sudo) npm install -g q
(sudo) npm install -g --save mqtt
(sudo) npm install -g node-red-contrib-sofia2

##Usage

  1. Set up a CONFIG node with connection data (SOFIA2 instance address, port, KP, KP instance, auth token)
  2. Assign a CONFIG node to a SERVER node and fill in parameters based on the selected operation (TBC)

NOTE: QUERY and INSERT nodes only have one optput; however, SUBSCRIBE node has two -the first one being the output from "subscribe" operation, the other one dedicated to indications getting notified from Sofia2.

##TO-DO

  • Add support for NATIVE statements (currently only SQLLIKE is supported)
  • Extend usability, create a complete testing suite
  • Create structures and nodes to easily manage JSON and ontologies
  • Documentation etc
  • ...and so much more...

Node Info

Version: 0.2.0
Updated 8 years, 8 months ago
License: Apache-2.0
Rating: not yet rated

Actions

Rate:

Downloads

10 in the last week

Nodes

  • sofia2
  • sofia2-server

Keywords

  • node-red
  • sofia2
  • indra

Maintainers