API Overload?

Help for Z-Command related issues only
Post Reply
kmeurer
Posts: 18
Joined: Fri Sep 11, 2015 12:28 am
Location: Oregon
Contact:

API Overload?

Post by kmeurer » Thu Oct 22, 2015 10:32 pm

Hi,

I am trying to log power draw from several Aeon Power monitoring switches, once a minute.

I finally got this up and running this morning, seems to be working okay, but then the ZCommand service crashed this afternoon and I had to reboot it..

Are there best practices when making a lot of calls regularly? Will it help if I log out every authorization token I've gotten?

admin
Site Admin
Posts: 51
Joined: Sun Dec 14, 2014 5:05 pm
Location: Georgia, USA
Contact:

Re: API Overload?

Post by admin » Thu Oct 22, 2015 11:19 pm

Try

Code: Select all

GET /api/geteventlog/{nodeId}/{since?}
once daily and see if it serves your purpose.

kmeurer
Posts: 18
Joined: Fri Sep 11, 2015 12:28 am
Location: Oregon
Contact:

Re: API Overload?

Post by kmeurer » Thu Oct 22, 2015 11:31 pm

Ah, that should definitely work. Thank you!

Post Reply