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.
Re: get back feed for given node ID
The feed api is documented here: http://emoncms.org/feed/api
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
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
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.