Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - add Wind Chill #10

Open
jpettitt opened this issue Dec 23, 2023 · 6 comments
Open

Feature request - add Wind Chill #10

jpettitt opened this issue Dec 23, 2023 · 6 comments
Assignees
Labels
question Further information is requested

Comments

@jpettitt
Copy link

Feature request - add a wind chill value

https://www.backpacker.com/skills/how-to-calculate-wind-chill/

@argaar argaar self-assigned this Dec 27, 2023
@argaar argaar added the question Further information is requested label Dec 27, 2023
@argaar
Copy link
Owner

argaar commented Dec 27, 2023

I don't know if could be useful; in the original idea the card is to be used inside your house.

So, since wind chilld should not be present in house and only affects the comfort if temperature is below 50F (or 10C), I think there are no events in which you could be in need of the calc.

Am I wrong with this?

@jpettitt
Copy link
Author

I'm using the card for outside as well as inside. In the summer hear outside temps can get to 113℉ (45C) and in the winter se can see 20℉ (-6.6C). with 25mph wind.

Doing some more research it looks like "wind chill" is only really useful in low humidity. There is a better formula called "Australian Apparent Temperature" (AAT) that includes both wind speed and humidity and produces useful results when it's hot or cold. The conditions here (California Sierra Nevada foothills) one morning last week was 40℉, 80%rh with 20 mph gusts - the AAT temp was 26℉

See
https://www.vcalc.com/wiki/rklarsen/Australian+Apparent+Temperature+%28AT%29 and https://en.wikipedia.org/wiki/Wind_chill#Australian_apparent_temperature

If I code it up will you accept a pull request?

@argaar
Copy link
Owner

argaar commented Dec 27, 2023

I'm using the card for outside as well as inside. In the summer hear outside temps can get to 113℉ (45C) and in the winter se can see 20℉ (-6.6C). with 25mph wind.

Glad to know it's useful!

If I code it up will you accept a pull request?

Of course I'll accept, feel free to submit the code, I'll reflect the new index in the editor if needed

@argaar
Copy link
Owner

argaar commented Jan 24, 2024

@jpettitt If you're still interested, I've just pushed pre-release 1.5.6-rc0 with the new algorithm for ATT
What you need to do is to add the new wind sensor and choose to show the AT instead of HI.
As you'll notice the icon near the text would change and the value of the temperature will be calculated considering the wind effects.
As a bonus, the wind speed will be displayed in the top right corner

I don't know if this is what you're looking for, but I came up with the idea to replace the HI value since the "subject" would be the same, it's just the fact that HI calcs are done without the wind, so, in my mind, HI and AT would represent the same condition

Let me know if this is what you intended

@igorsantos07
Copy link
Contributor

igorsantos07 commented May 14, 2024

I was wondering if I could guess a wind speed for when my ceiling fan is on... And then, (with a template entity based on on/off state of the fan) decide from the card whether the fan is enough to keep us comfortable, or if HA should turn on the AC during the night 😎

THIS is an awesome use case for an automation, isn't it??

So while I have not a freaking clue about the math behind it, if you say it is correct, I would use its values to make decisions. And then, one more vote to make this an integration (#44), so automations can be made from the results 🎉

@argaar
Copy link
Owner

argaar commented May 15, 2024

@igorsantos07 I think guessing is not a viable solution (I mean, I can't know if you have a small old fan, a big ceiling fan that spins hundeds of rpm etc.., and so I cannot guess the speed of the air moved) BUT I can integrate the calcs for wind speed in the math and let user adjust the result with a slider like an offset.
Letting user calcs it's own speed fan could be an idea (you could estimate it from blades number, diameter, rpm) and then you could put that number in the config (assuming you're operating the fan at the same speed everytime)

But for this, we need an integration rather than a card, so maybe it's worth wait until it's done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants