This integration calculates the dew point temperature based on data from a temperature sensor and a humidity sensor. The dew point is a key measure of thermal comfort and indicates the temperature at which air becomes saturated with moisture.
If you're interested in related integrations, check out my Feels Like (Apparent Temperature) integration.
Uses the Arden Buck equation for accurate dew point estimation
The integration uses Arden Buck's equation to calculate the dew point. Here's a simplified explanation of how the calculation works:
-
Saturation Vapor Pressure (
e_s
):
First, the saturation vapor pressure is calculated in kilopascals (kPa) using an exponential function based on the current temperature (°C). -
Actual Vapor Pressure (
e
):
The actual vapor pressure is determined by multiplying the saturation vapor pressure by the relative humidity (0–1). -
Dew Point Temperature (
T_dew
):
Using the actual vapor pressure, the dew point is solved by taking the natural logarithm of ( \frac{e}{0.61121} ) and applying a formula to isolate ( T_\text{dew} ).
The result is the temperature (in °C) at which water vapor condenses, providing an accurate measure of moisture in the air.
You can install this integration as a custom repository by following one of these guides:
To install the custom component using HACS:
- Click on the three dots in the top right corner of the HACS overview menu.
- Select Custom repositories.
- Add the repository URL:
https://github.com/Nicxe/home-assistant-dew-point
. - Select type: Integration.
- Click the ADD button.
Without HACS
- Download the latest release of the SMHI Alert integration from GitHub Releases.
- Extract the downloaded files and place the
dew_point
folder in your Home Assistantcustom_components
directory (usually located in theconfig/custom_components
directory). - Restart your Home Assistant instance to load the new integration.
To add the integration to your Home Assistant instance, use the button below:
Tip
You can easily set up multiple dew point sensors for different locations by clicking Add Entry on the Dew Point integration page in Home Assistant. No YAML configuration is required, and each sensor can have its own unique setup.
If the button above does not work, you can also perform the following steps manually:
- Browse to your Home Assistant instance.
- Go to Settings > Devices & Services.
- In the bottom right corner, select the Add Integration button.
- From the list, select Dew Point.
- Follow the on-screen instructions to complete the setup.