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
Noise Trigger/condition
Moderator: Martin
Re: Noise Trigger/condition
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.
Re: Noise Trigger/condition
Somebody already made an app for that:
https://play.google.com/store/apps/deta ... gnetringer
So it is possible...
https://play.google.com/store/apps/deta ... gnetringer
So it is possible...
Re: Noise Trigger/condition
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.
Perhaps I will include it as an experimental feature in a future version when the trigger still works on newer devices.
Re: Noise Trigger/condition
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.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.
Re: Noise Trigger/condition
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.
Re: Noise Trigger/condition
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.
A condition should be fairly easy to add and should not cause battery drain. I certainly add this to the todo-list.