This blueprint allows you to upload weather data from Home Assistant to a Weather Station in PWS Weather. This can be useful if you have solutions that rely on PWS Weather data, such as irrigation systems.
That is a great blueprint. The upload of the measurement data to pwsweather.com dashboard works. However, I have noticed a deviation in the calculation of the dew point temperature (calculate_dewpt=true). Could it be that a log() is missing in the formula, i.e. when calculating alpha ?
dewptf: >
{% if calculate_dewpt and tempf != 'none' and humidity != 'none' %}
{% set T = tempf | float %}
{% set RH = humidity | float %}
{# Convert F to C for dew point calculation #}
{% set T_C = (T - 32) / 1.8 %}
{% set A = 17.27 %}
{% set B = 237.7 %}
{% set alpha = (A * T_C / (B + T_C)) + (RH/100) %}
{% set dewpt_C = (B * alpha) / (A - alpha) %}
{% set dewpt_F = (dewpt_C * 1.8) + 32 %}
{{ dewpt_F }}
{% else %}
none
{% endif %}
i.e. computing alpha by something like this:
{% set alpha = (A * T_C / (B + T_C)) + log(RH/100) %}