My theory is illustrated
here.
It worked thusly: There is a candle which burns at a rate of one band per hour. Merry carefully sleeps with his hair resting against this candle. When it reaches four 'o' clock, the specified time, his hair should burst into flame, thus awakening him.
Simple.