> For the complete documentation index, see [llms.txt](https://homey.solweb.no/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://homey.solweb.no/aggregated-state/ventilation/humidity-bathrooms.md).

# Humidity bathrooms

I use a [Xiaomi Aqara temperature and humidity sensor](https://www.gearbest.com/access-control/pp_626702.html) in each bathroom, and I also have a Netatmo indoor station that I use to correlate.

I keep an humdiff variable updated for each bathroom, which should be the humidity in the bathroom minus the humidity in the living room.

![](/files/-Ltp9lWIeVMfy72P4tVl)

Then for each bathroom, I update a vent-hum-bad1 boolean variable to indicate whether the humidity level is sufficiently higher than the reference in order to trigger ventilation:

![](/files/-LtpA5X6grIYivvLsyOY)

Here is an example of insight of the humdiff variable after a shower. It triggered ventilation to run on high for about an hour.

![Humidity in bathroom1 compared to a reference, after a shower](/files/-LtpATvf9ala5ebcHf7K)
