Page 1 of 1

play sound on vibration sensor change

Posted: Friday 17 February 2023 16:42
by Basssment
Hi guys,

I use the latest version of dashticz and would like to have my doorbell ringing on my tablet as the virbation sensor since this is connected to my doorbell.
Now i am using the following:

blocks[scene_deurbel_aan]['playsound"] = 'sounds/door_bell.mp3';

Wich works on change of the sensor (it has options of/vibration/tilt/Drop)
but when my page reloads i also hear the doorbell as it looks like the status of the sensor changes.i only want the doorbell sound on the change to vibration. How can i create this so i do not have to much false positive doorbel sounds :)

Tried the following but this does not work.
blocks[scene_deurbel_aan]['playsoundVibration'] = 'sounds/door_bell.mp3';

Thank you for thinking with me :)