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
Image may be NSFW. Clik here to view. ![]() |
Emoncms Node-RED node |
Install with:
$ cd ~/.node-red
$ npm install node-red-node-emoncms
Image may be NSFW. Clik here to view. ![]() |
Node Documentation |
Image may be NSFW. Clik here to view. ![]() |
Emoncms in Node Config |
Image may be NSFW. Clik here to view. ![]() |
Emoncms Server Config |