1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/io/emoncms
2017-11-18 23:34:39 +00:00
..
icons Tweak emoncms logo to closer match other styles 2014-02-14 20:45:59 +00:00
88-emoncms.html changed nodegroup field validation (#376) 2017-11-18 23:33:05 +00:00
88-emoncms.js small bump to emoncms pack to align with nom 2017-10-07 22:28:24 +01:00
LICENSE Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
package.json bump emoncms version for nom 2017-11-18 23:34:39 +00:00
README.md update io nodes info style 2016-03-02 13:27:52 +00:00

node-red-node-emoncms

A Node-RED node to send fetch/post data to/from emoncms.org or any other emoncms server.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

    npm install node-red-node-emoncms

Usage

Emoncms post.

The msg.payload can contain either a comma separated list of name value pairs, e.g.

    name:value,...

or a comma separated list of values, e.g.

    1,2,..

or a simple javascript object e.g.

    msg.payload = {temp:12, humidity:56};

If Nodegroup is left blank msg.nodegroup will used (if set). This should be a numeric value.

Insertion time can be manipulated by setting msg.time. This must be in epoch format - i.e. seconds since 1970.

Emoncms In:

Fetches last emoncms feed value, returns a numerical value.