Skip to content
A set of EVRYTHNG modules for node-red
HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nodes
.gitignore
LICENSE
README.md
package.json

README.md

EVRYTHNG Node-RED

A simple Node-RED node that performs read or write requests on a Property of a Thng with the EVRYTHNG IoT Platform (free developers accounts!).

Install

To install the module, you can either install it locally within your node-RED user data directory (by default, $HOME/.node-red):

cd $HOME/.node-red
npm install npm install node-red-contrib-evrythng

or globally alongside Node-RED:

sudo npm install -g node-red-contrib-evrythng

Usage

You can send a payload to the node including Thng, key and value to update the Property of an existing Thng:

{
  "key" : "temperature",
  "value" : 10
  "thng" : "76a267a7e4c3a4cfcca9b9ac"
}

Alternatively, you can set the Thng, key and value in the node configuration The node sends a message to: https://api.evrythng.com/thngs/<msg.payload.thng>/properties And the payload that is sent ends up in the format:

[{
  "key" : <code>msg.payload.key</code>,
  "value" : <code>msg.payload.value</code>
}]
You can’t perform that action at this time.