I recently set up a banner using Anole’s wxgraphics and I’m thinking about all the other possibilities it has, along with Saratoga which I also recently installed.
Has anyone ever attempted to use either Anole’s or Saratoga to display data from 2 weather stations? My friend and I both have Davis VP 2’s using WD and I’d like to create something to show both of our stations side-by-side. I’d prefer to do it using Anole’s, only because Saratoga has so much to offer that I like using that independently for our separate stations.
I went onto the Anole’s config and PHP files, copied/pasted the code, and changed all the $data and so forth to $data2 $wind2 $temp2 etc… but it didn’t work. Has anyone ever tried this – or can it even be done?
Both the Saratoga template and the wxgraphic by Anole are designed for use with ONE weather station providing the data.
However, you can put a Saratoga template (and second Anole wxgraphic) in a subdirectory, and have the second weather station drive that website.
To show side-by-side (using the above method), you just need a page that has links to the respective wxgraphic scripts on the two sites.
I do this on my own site for various flavors of the template driven by different weather software (but one weather station drives the weather software):
Mixing data from two stations on ONE site is not easy to do and requires careful planning to work correctly – I disrecommend it for any who are not PHP and website experts.
Just wanted to take a minute to thank you. I tried multiple ways to incorporate 2 stations into the same banner, but I pulled my hair out trying. I took your advice and it worked great.
In case anyone else reading ever tries this… I made one page with three columns of graphics. I set the background of the page the same as the background of the graphics. It looks just like it was created that way from the template. Since I used
statements to create the columns (instead of iframes), it stacks them nicely on mobile devices.