SCADA-LTS / Scada-LTS

Scada-LTS is an Open Source, web-based, multi-platform solution for building your own SCADA (Supervisory Control and Data Acquisition) system.
GNU General Public License v2.0
722 stars 289 forks source link

Fixed not emit sounds #2588

Closed GabrielTec251 closed 1 year ago

GabrielTec251 commented 1 year ago

I have problems with the audio output of the alarms, the alarm does not sound.

when I configure the alarms, whether light or urgent or critical, when triggered they do not emit any sound, I tested it in other browsers and enabled the permission of sites, the error persisted.

this message was translated from portuguese to english by google translator.

SCADA - LTS - 2.7.5.2 SCADA - LTS - 2.7.5.3

Limraj commented 1 year ago

Hi @GabrielTec251, We haven't used this feature for a long time. Could you check if v2.6.18 has the same problem?

Regards, Kamil Jarmusik

GabrielTec251 commented 1 year ago

YES, have the same problem

GabrielTec251 commented 1 year ago

in SCADABR we configured the alarms and the beep sound came from the system itself.

I tested this LTS function on windows 10 and 11, on edge and chrome.

GabrielTec251 commented 1 year ago

arquivos de som

the files exist, it only plays the media.

GabrielTec251 commented 1 year ago

Capturar

here is how to be in scadaBR

Limraj commented 1 year ago

@GabrielTec251 We will fix this in version 2.7.5.4

fabiodurao commented 1 year ago

To help in an additional context, ScadaBR 1.2 has also updated soundmanager to the version of this site (https://www.schillmania.com/projects/soundmanager2/doc/download/), follow the version link (http://www. wcny.org/js/soundmanager/download/soundmanagerv297a-20120318.zip)

It looks like the old version of soundmanager depended on flash, which is blocked by current browsers, and the new version relies on html5.

Even with this upgrade, in ScadaBR 1.2 it was necessary to go to the browser and click on the "i" on the left side where the url is written, and in "site settings", choose the option "sound" and "allow". To help the user, on the first access, a "help balloon"/"popup" appeared under that letter "i" with instructions for the user to enable the "sound" in his browser.

Limraj commented 1 year ago

Hi @fabiodurao, this information was not necessary, I already did it yesterday. This was the main problem with this feature. It also had to be adapted to the websocket that we use for the highest alarm level notification function.

Whereas a test would be helpful: https://github.com/SCADA-LTS/Scada-LTS/pull/2589

Regards, Kamil Jarmusik

GabrielTec251 commented 1 year ago

It is emitting sounds, however The alarm function must act in a way to "disturb" the operator, that is, there are cases in which the operator is not a few meters away from the supervisor, or even talking to a co-worker, for example. That's why the alarm must keep beeping until the operator acknowledges the alarm.