RA Client listener/logger on SheevaPlug?

Requests for new functions or software apps
Post Reply
billybob
Posts: 21
Joined: Tue Apr 17, 2012 2:47 pm
Location: Colorado

RA Client listener/logger on SheevaPlug?

Post by billybob »

Hi All--

Has there been any motion to port the RA Client listener/logger to another architecture? Linux, in particular?

I have a network appliance called a SheevaPlug, which is essentially a low-consumption linux box stuffed into a 'wall wart' configuration a few inches in size (I'd post a link, but since is my first post to this forum I don't have those permissions yet. you can google to find out what I'm talking about). The plug comes with a 1.2 GHz cpu, 1Gb mem, usb port, ethernet, and Ubuntu pre-installed. I currently have my plug in an 'always on' state, and use it to serve media files across the rest of my network via Samba.

My Windows machine, by contrast, is big, hot, and consumes a lot of power... not something I necessarily want to leave powered on 24/7. Also, it dual boots, and so can't be left on to monitor my reef angel if I need to work on the Linux side of the installation for a while.

Ideally, I'd like to run the Client listener/logger on the low-power SheevaPlug for continuous data collection, and serve the plots and data to the client on my windows machine when I have occasion to fire up my power-hog desktop computer. Dave has something labeled 'source' on his github, but all I see in the tarball is a windows installer package. Is the actual source code for the listener/logger publicly available? Has anyone experimented with moving the code to a non-windows environment?

--many thanks...
Last edited by billybob on Sat May 05, 2012 7:34 pm, edited 1 time in total.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA Client listener/logger on SheevaPlug?

Post by rimai »

lukeluke had something on linux once to collect data.
He even had a php server to display data and stuff.
You may want to contact him too :)
Roberto.
billybob
Posts: 21
Joined: Tue Apr 17, 2012 2:47 pm
Location: Colorado

Re: RA Client listener/logger on SheevaPlug?

Post by billybob »

Awesome, thanks roberto.

Luca, got any suggestions? Where did you find the source? are there particular libraries needed?

(PM'd)
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA Client listener/logger on SheevaPlug?

Post by rimai »

Also, I think it would be really hard to port the RA Client. It's built in C# and based on Windows services.
One other idea I had was to just use your linux box to forward data to the reefangel.com server. That way you could you the Portal.
Roberto.
billybob
Posts: 21
Joined: Tue Apr 17, 2012 2:47 pm
Location: Colorado

Re: RA Client listener/logger on SheevaPlug?

Post by billybob »

Yeah, I thought a port to the client itself would be difficult. I'd be happy to keep the graphical part of the client only on my windows machines, and use the portal for other architectures. but I would be stoked to be able to run at least the listener/logger daemons under linux on the plug.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA Client listener/logger on SheevaPlug?

Post by rimai »

I'm sure you can get something put together with what lukeluke had done in the past.
Roberto.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: RA Client listener/logger on SheevaPlug?

Post by binder »

It's really quite simple. Like Roberto said, it's written in C#. I had been bugging Dave to compile it for linux but he hasn't. What I would really like him to do is to allow the front end to use any datasource (database connection) to view the data.

I personally have the database schema that the Client Suite uses. All that the Client does is query the controller every X minutes and stores those values in a database (SQLExpress I think). So if one had a shell script (or other script...perl, php, python, etc) to dump the data to a mysql database the data would be there. Then you would just need the client to interface with your database.
billybob
Posts: 21
Joined: Tue Apr 17, 2012 2:47 pm
Location: Colorado

Re: RA Client listener/logger on SheevaPlug?

Post by billybob »

erf, when you guys say simple....

I'm happy with a challenge, but no idea where to start here.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: RA Client listener/logger on SheevaPlug?

Post by binder »

billybob wrote:erf, when you guys say simple....

I'm happy with a challenge, but no idea where to start here.
Hahaha. Yeah, I have to watch my wordings at times. :)

The original source code is located here: https://github.com/davemolton
It's in the repository called Client-Suite. I'm not sure if dave's updated the source or not (it doesn't look like he has). It would at least be a start for you.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: RA Client listener/logger on SheevaPlug?

Post by binder »

Just found out more info. The source I mentioned is really old and most likely not complete. Will most likely need to wait to get the latest source and such.
It's also probably only the listener service. So it could be a start for you to look at at least.
Post Reply