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

Play Sounds

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
Mapantz
Posts: 1815
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Play Sounds

Post by Mapantz »

Has anyone successfully managed to get sounds working in their web browser when an alarm is triggered?

All I get is a button, but even clicking it does nothing..

Tried on Edge/Chrome and Brave.
Screenshot 2021-12-07 123705.png
You do not have the required permissions to view the files attached to this post.
Image
User avatar
PaulMy
Posts: 3846
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Play Sounds

Post by PaulMy »

I just tried it by setting wind gust lower, and it scared the dickens out of me (have to remember to turn the speakers after running a YouTube)
And like you say, the checkmark does not stay after exiting from the Alarm setting window and then no more alarms.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
freddie
Posts: 2475
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Play Sounds

Post by freddie »

Yes, I just set one up for wind gusts greater than 25 knots and it triggered straight away and played the sound. Using Chrome on Windows. Opened up the interface on my phone (Chrome on Android) and had the same result.
Freddie
Image
Mapantz
Posts: 1815
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Play Sounds

Post by Mapantz »

Just won't play for me.. only a button shows that does nothing..

I also only get a browser notification if I refresh the dashboard.
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Play Sounds

Post by mcrossley »

Seems to still work for me using the latest Edge browser.

There is a bug in alarm settings JavaScript that does not display the sound enabled ticks - they do set and hold OK though.

Updated alarm settings script attached.

Notifications have now been deprecated in most browsers for insecure sites.

To get these working I enable the following configuration flag (about://flags) "Insecure origins treated as secure"
and add my local CMX URL - http://192.168.80.86:8998

It does mean you get a warning message every time you start the browser though.
You do not have the required permissions to view the files attached to this post.
Mapantz
Posts: 1815
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Play Sounds

Post by Mapantz »

Yeah, I have my URL in the flags settings.

I have no idea why sounds don't work, everything is set to play them and the browser is set to allow sounds. :?
Image
NeilThomas
Posts: 274
Joined: Thu 11 Oct 2012 9:51 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 4
Location: Gloucester
Contact:

Re: Play Sounds

Post by NeilThomas »

mcrossley wrote: Tue 07 Dec 2021 4:26 pm Seems to still work for me using the latest Edge browser.

There is a bug in alarm settings JavaScript that does not display the sound enabled ticks - they do set and hold OK though.

Updated alarm settings script attached.

Notifications have now been deprecated in most browsers for insecure sites.

To get these working I enable the following configuration flag (about://flags) "Insecure origins treated as secure"
and add my local CMX URL - http://192.168.80.86:8998

It does mean you get a warning message every time you start the browser though.
Thanks Mark.
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 | MX V4 build 4019
Post Reply