I have recently been experimented using Node-RED for a number of tasks. Thanks to the work of others a Node-RED flow node already existed for Emoncms making it very easy to post data to Emoncms. For my Ambient Wind Energy Indicator I had the need to extract real-time feed data from Emoncms feeds using the Emoncms API. I have now contributed this functionality to the official Node-RED Emoncms node. Using the updated Emoncms node it's now super easy to post data to extract latest real-time feed values from any Emoncms server including Emoncms.org.
Get the latest version from: http://flows.nodered.org/node/node-red-node-emoncms. If you're interested in viewing and improving the functionality the open-source code behind the node is up on the Node-RED flows GitHub
|Emoncms Node-RED node|
$ cd ~/.node-red
$ npm install node-red-node-emoncms
|Emoncms in Node Config|
|Emoncms Server Config|
To engage in discussion regarding this post, please post on our Community Forum.