I’ve deleted my code because I’ve since removed my fan on account of my wife’s demands that we get AC, but I think that I used the first formula in this thread. It looks like it has been improved in this post, and much easier to copy due to using variables!
Do note (you can look at a table) that these values only differ from the plain temperature once it gets quite hot and humid.