RA WebApp

Related to the Portal
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: RA WebApp

Post by lnevo »

I run my script every minute through cron.
Appleseed
Posts: 86
Joined: Sat Jun 30, 2012 9:21 am

Re: RA WebApp

Post by Appleseed »

Hi,

Once again this is awesome..!

I forgot about this and am trying it again.

I extracted the tar.gz file to a linux box and can get to the page but seem to be seeing your reef even though i changed the variables in the config.php file...

any ideas are appreciated.

Andy
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: RA WebApp

Post by lnevo »

I'll have to look at the php again to see what else may need to be changed. You may be seeing the webcam image defautl file...? Is the RA data the same as mine too?
Appleseed
Posts: 86
Joined: Sat Jun 30, 2012 9:21 am

Re: RA WebApp

Post by Appleseed »

Hi
it seems to be showing yours :/
Attachments
ra_image.JPG
ra_image.JPG (157.5 KiB) Viewed 6430 times
Image
Appleseed
Posts: 86
Joined: Sat Jun 30, 2012 9:21 am

Re: RA WebApp

Post by Appleseed »

there where also a whole lot of references to your username in the index.php under the Charts tab which i changed but it seems that the index.php file is still generated/referencing your setup :/

I know nothing about php etc so dont even know where to start.
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: RA WebApp

Post by lnevo »

Well the good news is that its not showing *my* relay data :)

A lot of the code is going to be hard coded to my INO and specific configs. Like the relay bars...i think the labels come from the portal but its in the cache files in the data directory. You need to update the cron job shell script that dumps that out, or have it get the labels live from the portal (but that slows everything down...)

The fact that you have it up and running is great!!

I would start with the shell script that gets the cache files created. A bit in there will need to be modified.

I will definitely help you get this going, it will help converting this to a more generic form and a good learning experience for others who follow.
Appleseed
Posts: 86
Joined: Sat Jun 30, 2012 9:21 am

Re: RA WebApp

Post by Appleseed »

I didn't realise that there is a shell script. I am out and about the next few days but will look at it again later in the week.
Image
Appleseed
Posts: 86
Joined: Sat Jun 30, 2012 9:21 am

Re: RA WebApp

Post by Appleseed »

hi

can you share your shell script as the tar.gz doesnt seem to contain one?
Image
Post Reply