See if this app does it (long read)
If not you could just connect a humidity sensor with the switch, independently of the Ecobee.