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

Alarm Lights

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

Moderator: daj

Post Reply
g0hdi
Posts: 46
Joined: Mon 30 Aug 2010 8:29 am
Weather Station: 'Maplin' USB WH1081
Operating System: XP SP2
Location: New Forest, Hampshire England
Contact:

Alarm Lights

Post by g0hdi »

Hi guys!, I wonder if anyone can tell me where I'm going wrong with my alarm lights?.

Ok what I've done is opened my system page, which happens to be my home page as seen here, with my WebEditor (Namo) as usual.

http://freespace.virgin.net/brian.walker3/wx/system.htm

I then chose a position on the page as you see and switched to html view and entered the following codes <img src="images/record_<#newrecord>.gif" I had a gif in my images folder on the web called record_1.gif (flashing red)

The light was flashing when viewing with new record in alarm state, (However, this may have been caused by my forced upload) but then I realized I could not turn it off. I then began to suspect the image path that was requested on double clicking it my page, was wrong. Or maybe not even needed. I'm new to this programming lark, so wonder if you guys can tell me what, if anything, I call the image icon that appears on my page when the above code is used.

I have since placed another gif in the web images folder called alarm_0.gif (green) and changed the original gif to alarm_1.gif (flashing red)

I then tried the codes below (not interfering with the image path this time, and set the alarms on Cumulus accordingly.

<img src="images/alarm_<#LowTempAlarm>.gif"

<img src="images/alarm_<#HighWindGustAlarm>.gif"

The result is the broken image you see on the page, even though the alarms are working/sounding. (Presumably it doesn't effect the outcome on the web page, having the audible alarms activated/

Probably doing something completely stupid here, but damned if I can see what :oops:

I can't afford to lose any more hair ;)
Regards, Brian

<
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Alarm Lights

Post by steve »

It's hard to tell without seeing more of the html before it was processed, but from what I can see, you may have closed the img tag in the wrong place.

<img src="images/alarm_<#LowTempAlarm>.gif"

needs to be

<img src="images/alarm_<#LowTempAlarm>.gif">
Steve
g0hdi
Posts: 46
Joined: Mon 30 Aug 2010 8:29 am
Weather Station: 'Maplin' USB WH1081
Operating System: XP SP2
Location: New Forest, Hampshire England
Contact:

Re: Alarm Lights

Post by g0hdi »

Ok Steve, you managed to crack it again. Can't see the woods for the trees here sometimes :oops: . Thanks for you help :clap: . Now I know the alarms work I'll pack it in for today (21:50 here and I've been up since 05:00 *yawn*.

I'll tart the whole thing up tomorrow with nice tidy rows etc. Maybe find another red gif too. This one doesn't match the green.

Bye for now, Brian.
Post Reply