Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Gadget - Wrong Graphic ?

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
Mark007
Posts: 12
Joined: Sun 10 Jan 2010 1:05 am
Weather Station: IP Observer.
Operating System: Linux
Location: East Sussex, GB
Contact:

Gadget - Wrong Graphic ?

Post 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
User avatar
dane
Posts: 417
Joined: Wed 10 Sep 2008 2:15 pm
Weather Station: Rosenborg 68700
Operating System: Win10 Ult., 64-bit, RaspberryPi
Location: Gilleleje, Denmark

Re: Gadget - Wrong Graphic ?

Post 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.
Ib
Mark007
Posts: 12
Joined: Sun 10 Jan 2010 1:05 am
Weather Station: IP Observer.
Operating System: Linux
Location: East Sussex, GB
Contact:

Re: Gadget - Wrong Graphic ?

Post 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
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Gadget - Wrong Graphic ?

Post 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 :?
Image
......................Imagine, what you will KNOW tomorrow !
Mark007
Posts: 12
Joined: Sun 10 Jan 2010 1:05 am
Weather Station: IP Observer.
Operating System: Linux
Location: East Sussex, GB
Contact:

Re: Gadget - Wrong Graphic ?

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
dane
Posts: 417
Joined: Wed 10 Sep 2008 2:15 pm
Weather Station: Rosenborg 68700
Operating System: Win10 Ult., 64-bit, RaspberryPi
Location: Gilleleje, Denmark

Re: Gadget - Wrong Graphic ?

Post 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.
Ib
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Gadget - Wrong Graphic ?

Post 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 ?
Image
......................Imagine, what you will KNOW tomorrow !
Mark007
Posts: 12
Joined: Sun 10 Jan 2010 1:05 am
Weather Station: IP Observer.
Operating System: Linux
Location: East Sussex, GB
Contact:

Re: Gadget - Wrong Graphic ?

Post 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.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Gadget - Wrong Graphic ?

Post 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 :bash:
Image
......................Imagine, what you will KNOW tomorrow !
Mark007
Posts: 12
Joined: Sun 10 Jan 2010 1:05 am
Weather Station: IP Observer.
Operating System: Linux
Location: East Sussex, GB
Contact:

Re: Gadget - Wrong Graphic ?

Post 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
Mark007
Posts: 12
Joined: Sun 10 Jan 2010 1:05 am
Weather Station: IP Observer.
Operating System: Linux
Location: East Sussex, GB
Contact:

Re: Gadget - Wrong Graphic ? - RESOLVED

Post 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
Post Reply