get back feed for given node ID

I describe shortly about what we do currently. Developed gateway based OpenWRT with wifi and HSPA WAN connection.

Gateway connected to several meters and send data to EmonCMS. We have designed other Windows application that can send some data to EmonCMS  (last balance payment). Everything works as describe above correctly now. Gateway needs to get back  last balance payment for defined meter (nodeID). how to implement this case?

And like to handle some data in stack manner Push and Pull. Is it possible? It is need for last balance payment and other commands on the queue.

ukmoose's picture

Re: get back feed for given node ID

The feed api is documented here:  http://emoncms.org/feed/api

batulzii's picture

Re: get back feed for given node ID

Have been there and tested methods, but it pointing to ID, not node and id. Gateway need get feed from given node and given feed. Thanks Ukmoose

ukmoose's picture

Re: get back feed for given node ID

So use:

http://emoncms.org/input/list.json 

and search for given node id and then use the id defined for the appropriate step in "processList"  in step 2.

http://emoncms.org/feed/value.json?id=XX

 

 

batulzii's picture

Re: get back feed for given node ID

YES, That is way, but needed to get list and search every time when need get feed for power value on node N. 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.