The NWS recently started observing and forecasting the Wet Bulb Globe temperature. It would be awesome if this could be added as one of the initially disabled sensors as part of the NWS integration.
Please see links below explaining Wet Bulb Globe Temp and why its important, and the NWS page showing the data. Thanks.
Unfortunately, the wet bulb temperature is not available on the API endpoint being used in home assistant, i.e. api.weather.gov. The one from the link is the ndfd api National Digital Forecast Database - MDL - Virtual Lab. This would likely require a completely new integration unfortunately, unless NWS adds it to the API data.
Good to know. Guess I have another reason to try and learn the rest integrations. I’m a pilot and I’ve been trying to get Raw Metar Pulled into HA, from https://account.avwx.rest/ but when I looked at the the REST integrations, I kinda got stuck on parsing it. Going to have to find a decent tutorial and try and do both.
I believe the nws api already uses the metar data to generate the current observations. At least I assume so, since the only observations are only available at metar stations. And the raw metar data is also available, for free.
You can use the dew point or relative humidity and the temperature to calculate the wet bulb temperature, but I think these are only available right now on the observation. These could be added to the forecasts with some effort.
I would use a template to convert the existing relative humidity and temperature to a wet bulb temperature. Here is one such equation. I’m not confident you can get this to work in a template, but there are bound to be simpler formulas.
To my future self, I tried adding the following via HACS, using my local Temp, Humidity and pressure sensor values, but the wet bulb came across as an attribute and was not reliable.
So I created the following template and added it to sensor.yaml. I had a bunch of issues with home assistant auto changing the temp units, which is why I made sure to do my own conversions. The same template could be modified by changing the temperature and humidity values to whatever sensor you’d like. Please note that the temperature value must be in C:
Very interesting. Thank you a lot.
I am trying to make it work for me.
As I am in Europe, all temps are in C, so I must double check the °F->°C->°F conversions.