Problem with sound

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
Renber
Posts: 41
Joined: Thursday 04 February 2021 8:10
Target OS: Linux
Domoticz version: Beta
Location: Belgium
Contact:

Problem with sound

Post by Renber »

Hello,

I have a strange behavior with sounds.

Considering the dashticz page was just refreshed and the block is using "playsound"

The state of a swtich is changed by dashticz -> The sound works and it will work even if the state is then changed by domoticz

But if the state of a switch is changed by domoticz first -> No sound (even if the state is changed after with dashticz)

I hope I'm clear enough because it's translation.
Last edited by Renber on Sunday 11 December 2022 11:45, edited 1 time in total.
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Problem with sound

Post by Lokonli »

Most browsers now only will play sound after user interaction like clicking a button.
You can try to save Dashticz on your home screen and start it from there.


Verstuurd vanaf mijn SM-A526B met Tapatalk

Renber
Posts: 41
Joined: Thursday 04 February 2021 8:10
Target OS: Linux
Domoticz version: Beta
Location: Belgium
Contact:

Re: Problem with sound

Post by Renber »

OK, I understand better. Your solution didn't work. I imagine there is no workaround possible.
thank you for your reply
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
Renber
Posts: 41
Joined: Thursday 04 February 2021 8:10
Target OS: Linux
Domoticz version: Beta
Location: Belgium
Contact:

Re: Problem with sound

Post by Renber »

Hello,
I found the solution which I put here for Chrome.
You must add the address of your dashticz server in: chrome://settings/content/sound
Works perfectly !
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Problem with sound

Post by Lokonli »

Thanks! I'll include that in the documentation.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest