Noise Trigger/condition

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
TML
Posts: 8
Joined: 09 Jan 2014 12:54

Noise Trigger/condition

Post by TML » 12 Feb 2014 09:37

Is it possible to ad a Trigger/condition for noise?

Example:

Trigger:
Phone is ringing
Condition:
Noise > 100db
Action:
Set Ringtone Volume to max

Trigger:
Noise > 100db
Action:
Set volume to max

Thank you and best regards,
Tim

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Noise Trigger/condition

Post by MURTUMA » 12 Feb 2014 13:08

I think phone's microphone is way too unpredictable when measuring decibels. Not only because of mostly poor quality of the mic but also the way it's located physically. When there's anything covering the mic, the volume of the sound it receives, decreases drastically.

TML
Posts: 8
Joined: 09 Jan 2014 12:54

Re: Noise Trigger/condition

Post by TML » 12 Feb 2014 13:14

Somebody already made an app for that:
https://play.google.com/store/apps/deta ... gnetringer

So it is possible...

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Noise Trigger/condition

Post by Martin » 12 Feb 2014 17:55

The last time I tested this trigger it caused a huge battery drain because it has to keep the device awake and record the audio all the time in the background.
Perhaps I will include it as an experimental feature in a future version when the trigger still works on newer devices.

User avatar
kintrupf
Posts: 257
Joined: 10 Sep 2013 08:59

Re: Noise Trigger/condition

Post by kintrupf » 12 Feb 2014 18:26

Martin wrote:The last time I tested this trigger it caused a huge battery drain because it has to keep the device awake and record the audio all the time in the background.
Why should it record all the time? I guess a simple condition "noise level now", which could be used within a flow triggered by "phone ringing", would work in this case.

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Noise Trigger/condition

Post by MURTUMA » 12 Feb 2014 19:22

You could add some periodic timing option to the trigger to counter the battery drain. Condition couldn be better, though, as it could be used with already present periodic timer trigger.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Noise Trigger/condition

Post by Martin » 12 Feb 2014 20:17

Argh, somehow I was reading 'trigger' only, probably because this one already exists internally ;-)
A condition should be fairly easy to add and should not cause battery drain. I certainly add this to the todo-list.

Locked