Community
OpenEnergyMonitor

OpenEnergyMonitor Community

Feed API No data

Hello

I am trying to get data from feed API. I am checking my feed chart and I see data. But If I use api I do not get data

My url has the same start end date that the chart

/emoncms/feed/data.json?id=2&start=1473908400&end=1474514100&interval=900

What am I doing wrong?

Thanks

Are you including an apikey?

/emoncms/feed/data.json?id=2&start=1473908400&end=1474514100&interval=900&apikey=abc123etcetcetc

Also check your timestamps as I think (some of?) the feed api’s use milliseconds so you might need

start=1473908400000&end=1474514100000

Hello Paul

Thank you. Let me try changing my timestamp. I tried just converting a date in this format YYYY-MM-DD I will tell you later.