Page 1 of 1
Gadget - Wrong Graphic ?
Posted: Sun 10 Jan 2010 2:48 am
by Mark007
Hi all,
I've installed the vista/W7 gadget, and it found the data 1st time etc,
However, it's displays the wrong set of images...
I get night images in the day, and vice versa...
any clues please ?
????
MarkA
Re: Gadget - Wrong Graphic ?
Posted: Sun 10 Jan 2010 9:42 am
by dane
Hi MarkA, and welcome to the forum!
Please say a little more:
- which version of the gagdet? claydon_dan's or dane's modified ?
- which version of Cumulus ?
Claydon_dan's version uses its own cumulus.xml file and does its own calculation of day or night.
Dane's version uses the realtime.txt file which has a day/night flag - but requires a fairly recent beta version of Cumulus to work correctly.
Re: Gadget - Wrong Graphic ?
Posted: Tue 12 Jan 2010 1:08 am
by Mark007
GodDag,
I've now had a closer look at what's happening and not happening.
It would seem that the day/night switch isn't working, and hence it insists that it's daytime all hours of the day ...contrary to my previous post. (ahem...)
I renamed the image folders etc, as some basic tests, and it always points at the day folder.
Info.
I'm using Cumulus 1.8.8-881
The Gadget is dane's modified looking at realtime.txt on my www
Current desktop O/S is Vista Business with SP2
www is Apache2 on Centos5.2/64
Regards
Mark
Re: Gadget - Wrong Graphic ?
Posted: Tue 12 Jan 2010 1:47 am
by beteljuice
Do you get any forecast images, or is it just default (day) blue sky ?
A url for your site would be handy so we can check your realtime.txt
The forecast and isdaylight info were added in build 872, so you should be OK

Re: Gadget - Wrong Graphic ?
Posted: Wed 13 Jan 2010 9:27 pm
by Mark007
Hi,
Yes I get the forecast Images, it's just i see daytime images all the time.
My station is new, so still testing/finding it's quirks, plus the windvane/anometer is not in it's final location (on the roof) yet.
Today I wired the console to the sensor so that I get better readings of wind (well, that's what I hope...)
attached is a realtime.txt - and it's currently showing day at 21.27z
Mark
Re: Gadget - Wrong Graphic ?
Posted: Wed 13 Jan 2010 9:55 pm
by dane
Please tell us your website URL - and put it in your profile - so we can help you.
Your realtime.txt indicates nÃght-time, so gives no clue to the error.
Re: Gadget - Wrong Graphic ?
Posted: Wed 13 Jan 2010 10:02 pm
by beteljuice
... My station is new, so still testing/finding it's quirks..
Have you correctly entered your Lat / Long in Cumulus ?
Are your Sunrise / set times correct toward the top of the main Cumulus screen ?
Re: Gadget - Wrong Graphic ?
Posted: Thu 14 Jan 2010 2:00 am
by Mark007
Hi All,
I've checked my co-ordinates are correctly entered, and show on the main console day/nigh correctly.
After some investigation, the real-time.txt shows the day/night bit doing what it should do as dane has already noted.
I'm now using 1.8.9-896, which appears to be a lot more stable. I was getting crashes when trying to parse the default html files, I've since stopped that.
I have an internal apache server on centos for stuff, but it's not public,
The Wx data is published on Wx-Underground for friends/fam etc.
Many thanks for everyone's help
Mark.
Re: Gadget - Wrong Graphic ?
Posted: Thu 14 Jan 2010 2:29 am
by beteljuice
Silly question -
You did change the gadgets settings.ini to your realtime.txt location ?
... else you are going to get ibs Danish data

Re: Gadget - Wrong Graphic ?
Posted: Thu 14 Jan 2010 8:19 pm
by Mark007
Hi All,
yes, It displays my data ok.
watch this space.. we're just testing something.
and we'll know tomorrow day time for sure!
Mark
Re: Gadget - Wrong Graphic ? - RESOLVED
Posted: Fri 15 Jan 2010 8:52 am
by Mark007
Hi all,
With a bit of head scratching, we where curious about one line of code in the Javascript.
I'm no software engineer (I do comms/hardware) and was having trouble getting my head around a statement, however friend of mine whose a bit more savi with coding, he eventually sussed it.
Many thanks to Steve at whereinsussex.org.uk
I now note there's a new build which also has the problem resolved.
Mark
Foggy Sussex.l