Mac data logger

User avatar
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis
PostPosted: Tue Jul 03, 2012 4:56 pm
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
User avatar
Posts: 2753
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Tue Jul 03, 2012 7:45 pm
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.

Return to Ask anything here

Who is online

Users browsing this forum: No registered users and 1 guest

cron