If there's not enough vibration for the other suggestion, you could use an ESP with a sound threshold board like these https://www.amazon.com/Anmbest-Microphone-Sensitivity-Differential-Comparators/dp/B07CQZ93N4/
I imagine mounting the sensor right outside the buzzer and adjusting the limit could work without too many false positives.
Anmbest 5PCS RED Microphone Sensor AVR PIC High Sensitivity Sound Detection Module LM393 Dual Differential Comparators Output for Arduino https://www.amazon.com/dp/B07CQZ93N4/ref=cm_sw_r_cp_apa_i_Tlc-Db42KJZVA is the one I used. Unfortunately it comes in a 5 pack. You could probably find them cheap on AliExpress if you don't mind waiting for the shipping.
I just started using esp32s as well. Much more convenient size!