Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

How adding new ajax images for last update?

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
WX_Frank
Posts: 82
Joined: Sun 24 Jul 2011 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Win7
Location: Torrevieja/Spain
Contact:

How adding new ajax images for last update?

Post by WX_Frank »

I see several pages got 'live_trend_updates' as for humidity, dew point, etc.
How do I add this to my page...like it shows the trend of my barometer and temperature as it is now?
http://www.torrevieja-weather.net/index.php

Thanks,
Frank.
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: How adding new ajax images for last update?

Post by nitrx »

WX_Frank wrote:I see several pages got 'live_trend_updates' as for humidity, dew point, etc.
How do I add this to my page...like it shows the trend of my barometer and temperature as it is now?
http://www.torrevieja-weather.net/index.php

Thanks,
Frank.
Can you give an example ??
WX_Frank
Posts: 82
Joined: Sun 24 Jul 2011 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Win7
Location: Torrevieja/Spain
Contact:

Re: How adding new ajax images for last update?

Post by WX_Frank »

nitrx wrote:
WX_Frank wrote:I see several pages got 'live_trend_updates' as for humidity, dew point, etc.
How do I add this to my page...like it shows the trend of my barometer and temperature as it is now?
http://www.torrevieja-weather.net/index.php

Thanks,
Frank.
Can you give an example ??
Like this site...you se the red & blue arrows indicate the trend variation..and the cloud base.
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: How adding new ajax images for last update?

Post by nitrx »

WX_Frank wrote:
nitrx wrote:
WX_Frank wrote:I see several pages got 'live_trend_updates' as for humidity, dew point, etc.
How do I add this to my page...like it shows the trend of my barometer and temperature as it is now?
http://www.torrevieja-weather.net/index.php

Thanks,
Frank.
Can you give an example ??
Like this site...you se the red & blue arrows indicate the trend variation..and the cloud base.
This is output from weatherdisplay not all data are availble in Cumulus, I think some can be implemented but I don't know how, but you can begin to ad some history templates downloadable over here https://cumulus.hosiene.co.uk/viewtopic.p ... &start=120 , I hope Ken can extend the ajax dashboard but you ask him better is the thread I mentioned.
WX_Frank
Posts: 82
Joined: Sun 24 Jul 2011 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Win7
Location: Torrevieja/Spain
Contact:

Re: How adding new ajax images for last update?

Post by WX_Frank »

Like this site...you se the red & blue arrows indicate the trend variation..and the cloud base.[/quote]

This is output from weatherdisplay not all data are availble in Cumulus, I think some can be implemented but I don't know how, but you can begin to ad some history templates downloadable over here https://cumulus.hosiene.co.uk/viewtopic.p ... &start=120 , I hope Ken can extend the ajax dashboard but you ask him better is the thread I mentioned.[/quote]
---------
OK..thanks again for replying, Ron :)
I will send Ken an pm and will see (I'll let u know in this thread).
Btw: Are there some ham radio operators here?

NB: Seems like this guy is using Cumulus after all!

Regards,
Frank
(EA/LA4GPA)
elmdcw
Posts: 21
Joined: Wed 12 Jan 2011 9:45 am
Weather Station: VP2
Operating System: W7
Location: Ruislip

Re: How adding new ajax images for last update?

Post by elmdcw »

Hi Frank,
I have updated Ken's scripts to do something like you suggest. The arrow indicates the direction of the last change so is more dynamic in terms of trend updates (note: arrows only appear on first change - I may implement a steady arrow to start with but haven't got around to doing that yet).
http://www.weather.btinternet.co.uk/testing/ajax.htm
Check out the code update to do that. I am not a programmer so it may not be the most elegant way of doing it, but it works.
Dave
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: How adding new ajax images for last update?

Post by beteljuice »

I believe Franks enquiry was about realtime (ajax) pages rather than trends ?
The arrow indicates the direction of the last change so is more dynamic in terms of trend updates (note: arrows only appear on first change - I may implement a steady arrow to start with but haven't got around to doing that yet).
The beteljuice (and others) have experimented with this. Be careful how you present it !
A change is NOT a trend.
You appear to highlight 'new' until next check (or perhaps you have a long 'flash' rate ?) This may be confusing to the viewer.

When used the beteljuice had a 'flash timed' arrow for change next to the value, and steady arrow for trend.

As you will have discovered, an intitial change condition is impossible with js becuse it has nothing to compare it with, so don't 'lie' with putting an initial 'steady' condition, just creates more confusion.

BTW - I'm getting incredibly long download times with your site, problems ?
Also try to upload your cam pic to a smaller size (native 640 x 480) or use php to resize and reduce your bandwidth.
Image
......................Imagine, what you will KNOW tomorrow !
elmdcw
Posts: 21
Joined: Wed 12 Jan 2011 9:45 am
Weather Station: VP2
Operating System: W7
Location: Ruislip

Re: How adding new ajax images for last update?

Post by elmdcw »

Yeah, I had been wondering about how to present this information (trend v change). I know what it is, but the reader may not. This is still in thinking/development phase.
Thanks for tip re image size - I never noticed that (being local :) )
Dave
Post Reply