What is this device on my wall?
This is a Flush‑mount Glassbreak Detector. Here is a picture of another one that looks very similar made by Bosch.

EDIT: Just realized @BMitch deserves credit for this as he posted the correct answer in a comment before I posted this answer.