Ok, so you want to play the sound on the Webbrowser/the app(Android/iOS).
If your test playing on the server itself was OK, maybe you should check if your remote devices can play sound in general?
Comment Obviously, the browser needs to be opened and have a compatible openHAB UI running. Currently, this feature is supported by Paper UI and HABPanel.
You’re right, when I used the classic web interface and on Windows PC Firefox browser I had a sound. But in Firefox or Safary on the iPad or Android tablet, there is no sound (of course, the sound volume on the tablets is enabled), but in this case, the sound appears in parallel on the on the Win PC.
just a suggestion regarding your upper post: do not put root as User and Group in your service file. It’s not necessary to run OpenHAB as root, and you actually do not want to.
Try to limit processes to a minimum, that run as root. A bug or harmful code could have much impact to your system otherwise.
I’ve a problem with playSound and webaudio. My Openhab is running on a Raspi 3. Only when I use Chrome on a Win10 PC I can hear the sound, with all other browsers ( Edge, Firefox and Safari on Ipad) I can’t hear it.
Anyone any idea?
Thanks