traccar / traccar-client-android

Traccar Client for Android
https://www.traccar.org/client
Apache License 2.0
660 stars 732 forks source link

G-sensor readings and sound level detection #255

Open Materie62 opened 7 years ago

Materie62 commented 7 years ago

Hi, would be possible and/or an idea to include the G-sensor reading and sound level as an extra parameter when using the Android client app? Including these two parameters one could trip an alarm when a shock (bump against the car) or noise (alarm) is detected.

Regards,

Roland

tananaev commented 7 years ago

I kind of see that we can use accelerometer in future, but using microphone is definitely out of scope of this application.

Materie62 commented 7 years ago

Great! And I see your reservations concerning the microphone. However I have to stress that I do not mean recording sounds with the microphone and being able to listen back. What I mean is to use the microphone as a level detector. The level dimension could be arbitrary i.e. 0 no sound and 10 a ship horn next to the mic. That's it. Hopefully you could use this feature as a car alarm detector.

tananaev commented 7 years ago

Detecting something from microphone is even more complicated than recording sound.