Android: Ambient noise volume level sensor

Created on 10 Mar 2020  路  3Comments  路  Source: home-assistant/android

Is your feature request related to a problem? Please describe.
Nope. Just an enhancement

Describe the solution you'd like
Periodically poll the microphone and calculate the ambient noise dB.

Describe alternatives you've considered, if any
None

Additional context
It could be interesting to monitor noise pollution. The Apple Watch 4 does that and notifies you when you're in unhealthy environments for too long. I think HA could do even more with that information.

Challenges

  • Not all phones are created equal. They all behave slightly different when it comes to sound sensitivity
  • We'd need to check the impact on battery life (if any)
enhancement sensor-tracking stale

Most helpful comment

Polling my microphone? I trust HA for a lot, but I wouldn't like the app to do this from a privacy point of view. IF this is implemented, please make it optional and with explicit permissions before doing anything.

All 3 comments

Polling my microphone? I trust HA for a lot, but I wouldn't like the app to do this from a privacy point of view. IF this is implemented, please make it optional and with explicit permissions before doing anything.

There's no reasonable way to access the microphone on android without explicit permission anyways. No need to be alarmed.
Generally speaking, you can (and are encouraged to) always look at the source to verify that there's nothing bad going on.

Anyways, I assume that this feature will probably require additional settings such as calibration offsets, intervals etc so I assumed that there would of course also be a switch to explicitly enable it.

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CedrickFlocon picture CedrickFlocon  路  4Comments

rradar picture rradar  路  4Comments

andriej picture andriej  路  4Comments

jokerigno picture jokerigno  路  4Comments

AndrewDaws picture AndrewDaws  路  4Comments