Thanks for the tip @neonturbo. Like I think you noticed, I've gone with the Smarter Humidity Fan App at this stage. The only part of my requirements it didn't cater for was turning off the dehumidifier based on doors being open, but the developer said he will consider it.