Closed brianhanifin closed 4 years ago
I believe I already have code for this. I started to with the ESPHome code I wrote for #29, but wrote my first ESPHome code to pull the humidity directly from Home Assistant. :)
Now I need to get around to installing it behind the switch.
Yesterday I installed a Shelly1 with this code: https://github.com/brianhanifin/esphome-config/commit/091204017c00b20ca64d6292272aad9eda51cabd#diff-162921f94cf6cd697cc348c26af71034
Adding the smarts that the faulty automatic humidity fan sensor. Plus a 15 minute timeout when the fan is manually turned on when humidity is normal... for other reasons. ;)
Replace switch with Sonoff Basic or a shelly (in ceiling?)... or convert switch into a virtual 3-way