It turns out that I did need that cough medicine last night. When I lay down, my acid reflux triggered the cough. This does verify that the cough is triggered by the acid, as the cough is gone at all other times! I slept well after taking the medicine.
I was hoping to get away from the codeine, as I don't enjoy the carry-over drowsiness that it gives me. Soon perhaps!