Please, advice on method of getting data from EmonCMS. Purpose is basestation request data and send it to Emon node.
»
Archived Forum |
|
basestation getting data secuirly from EmonCMSSubmitted by batulzii on Wed, 05/02/2014 - 03:12Please, advice on method of getting data from EmonCMS. Purpose is basestation request data and send it to Emon node. » |
Re: basestation getting data secuirly from EmonCMS
Create dedicated private feed and read it from base via emoncms API ?
Re: basestation getting data secuirly from EmonCMS
Thanks for advice. Do you have detail information on how to do that..
Re: basestation getting data secuirly from EmonCMS
Re: basestation getting data secuirly from EmonCMS
Thanks, Ukmoose
Re: basestation getting data secuirly from EmonCMS
http://emoncms.org/feed/data.json?id=30907&start=1end=2dp= it returns. how to control start,end,dp?
Re: basestation getting data secuirly from EmonCMS
start and end are the unixtime for the start and end
dp stands for the number of datapoints,
but as you said you wanted to end up sending it to a node I'm guessing you only want the last value, in which case use:
http://emoncms.org/feed/value.json?id=XXX
don't forget to also add your apikey "&apikey=APIKEY"