Thanks, it worked!
Sorry that I couldn't find the post you linked..
What about a vibration sensor? At least in my kitchen, the fans do produce a slight vibration to the metal roof thing.
They pretty cheap on Ebay, I must try it myself...