Im looking to get the most recent value of a feed with its update/time stamp.
This shows the most recent value:
http://greencliff-farm.dyndns.org/emoncms/feed/value.json?apikey=1d3c7f0...
whereas this shows all the data:
http://greencliff-farm.dyndns.org/emoncms/feed/data.json?apikey=1d3c7f09...
any chance someone can show me what to use to display just the most recent value with its timestamp.
Cheers!
Re: Pulling values from Emoncms
Have a look at
http://openenergymonitor.org/emon/node/1275
You cant do exactly what you want to do without some scripting
Re: Pulling values from Emoncms
You could use feed/list.json to get all feed values and timestamps or:
feed/get?id=1&field=time
and
feed/get?id=1&field=value
It would probably be good to have another api entry to return the value and timestamp in unix time.