Mac data logger

Post Reply
User avatar
jsclownfish
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis

Mac data logger

Post by jsclownfish »

Does anyone know a simple tool I could use on a Mac to routinely ping the RA and keep a running storage of the data? I have graphing tools on the Mac to look at the data, but don't know how to keep it retrieving data and storing it in the background. I'm a bit of a data junkie and I really like the portal, but it would be nice to keep the data around for a longer time period or maybe ping it more often than every 5 minutes.

Thanks,
Jon
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Mac data logger

Post by binder »

There's no simple tool for it currently. You would have to query it yourself like all the apps do. If you know how to write scripts or code or something, you could pull down the XML data yourself and save it. I would look into wget and run it from the command line. Something like:

Code: Select all

wget http://YOURIP:PORT/r99 -O output.xml
That will save the status into the file output.xml. You could run that from a script every X minutes and just keep updating the output file. Or you could take the output and have it dumped into a database or something.

On the android app, I just query the controller and dump it into a database.
Post Reply