NEWS Forum Wiki XDA TV

# [Q] Dewpoint

Tip us?
 robgross 9th May 2014, 03:02 AM Junior Member - OP Thanks Meter 0 Posts: 8 Join Date: May 2014 Location: New Mexico More Info > [Q] Dewpoint I am trying to figure out how to calculate dewpoint from temperature and humidity. The formula is ridiculously long, but there is a simple formula that gives an approximation, which is good enough for my purposes. Td = T - ((100 - RH)/5). Td = Dewpoint in degrees Celcius T = Temperature in degrees Celcius RH = Humidity Since my phone is in degrees F. I had to convert to degrees C. This is what I did, but it doesn't work, I think because of the % symbol attached to the humidity variable: \$int((#WCTEMP#-32)*5/9))-(100-#WCHUM#)/5)\$. The problem is, it just displays exactly what I typed, it doesn't do the math. Can anyone point a noob in the right direction? It is probably obvious, but I am still trying to figure out zooper. I have seen other requests for a dewpoint variable on the forums, so there is a demand out there. Any help would be appreciated, thanks! REPLY
 MrBiggzz 9th May 2014, 03:06 AM Member Thanks Meter 7 Posts: 51 Join Date: Jul 2013 Location: Indianapolis More Info >  DONATE TO ME Do you own Tasker? You could do an https get on yahoo weather api and get all the info from there. Its not to terribly difficult. Probably on the intermediate level. Sent from my Nexus 5 using Tapatalk REPLY
 The Following User Says Thank You to MrBiggzz For This Useful Post: [ Click to Expand ]

robgross
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: May 2014
Location: New Mexico
I was just considering purchasing that tonight. I will give that a shot! Thanks Mr Biggzz

Quote:
 Originally Posted by MrBiggzz Do you own Tasker? You could do an https get on yahoo weather api and get all the info from there. Its not to terribly difficult. Probably on the intermediate level. Sent from my Nexus 5 using Tapatalk
 MrBiggzz 9th May 2014, 04:03 AM Member Thanks Meter 7 Posts: 51 Join Date: Jul 2013 Location: Indianapolis More Info >  DONATE TO ME Its a great app! Sent from my Nexus 5 using Tapatalk REPLY
 The Following User Says Thank You to MrBiggzz For This Useful Post: [ Click to Expand ]
 MrBiggzz 14th May 2014, 05:54 PM Member Thanks Meter 7 Posts: 51 Join Date: Jul 2013 Location: Indianapolis More Info >  DONATE TO ME @robgross how are you making out? REPLY

robgross
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: May 2014
Location: New Mexico
Quote:
 Originally Posted by MrBiggzz @robgross how are you making out?
I downloaded Tasker but haven't had time to learn it yet...but I will! I do know that ZW sees #WCHUM# as text, so it will not formulate it. I tried using #WCHUMN# to see if it would dispay the value as a number, as #WCTEMPN# does...but that didnt work. Thanks for following up!
 The Following User Says Thank You to MrBiggzz For This Useful Post: [ Click to Expand ]
 robgross 23rd May 2014, 05:13 AM Junior Member - OP Thanks Meter 0 Posts: 8 Join Date: May 2014 Location: New Mexico More Info > Mr. Biggs, thanks for this, but I can't seem to open this link, it says it's not valid both in Tasker and a browser. REPLY

robgross
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: May 2014
Location: New Mexico
Quote:
 Originally Posted by MrBiggzz @robgross how are you making out?
MrBiggzz, I figured out how to use Tasker! It's a lot easier to use than I thought, and the possibilities are endless. Thanks for the tip!