Changed calibration logic - choose mid-value between noise and min-beep instead of min beep (following real-life of missed detections).
Added debug-beep-recording (to debug the missed beeps).
Added pre-send-A/C-command delay to make sure the recording really starts in the listener thread before looking for a beep.
Added the relevant settings to the settings file.
Merge branch 'master' of https://github.com/itamaro/home-control