[mh] WX200

Rick Steeves <[email protected]> Sat, 6 Feb 2021 00:37:56 -0500
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <[email protected]>
Is anyone out there running the WX200 or one of the variants?

I'm not, but am trying to do something with weather code. It's be 
helpful if I could know what the values being returned by the WX200 look 
like. From Weather_wx200.pm:

     $$wptr{RainRate} = sprintf('%x%02x', 0x0f & $data[2], $data[1]) 
unless $skip{RainRate};
     $$wptr{RainYest} = sprintf('%x%02x',        $data[4], $data[3]) 
unless $skip{RainYest};
     $$wptr{RainTotal}= sprintf('%x%02x',        $data[6], $data[5]) 
unless $skip{RainTotal};
     $$wptr{RainRate} = sprintf('%3.1f', $$wptr{RainRate} / 25.4) 
unless $skip{RainRate};
     $$wptr{RainYest} = sprintf('%3.1f', $$wptr{RainYest} / 25.4) 
unless $skip{RainYest};
     $$wptr{RainTotal}= sprintf('%3.1f', $$wptr{RainTotal}/ 25.4) 
unless $skip{RainTotal};


     print "rain = $$wptr{RainRate}, $$wptr{RainYest}, 
$$wptr{RainTotal}\n"  if $debug;

     $$wptr{SummaryRain} = sprintf("Rain Recent/Total: %3.1f / %4.1f 
Barom: %4d",
                                   $$wptr{RainYest}, $$wptr{RainTotal}, 
$$wptr{Barom});



Can anyone send me the output of that print statement(s) when it's raining?

Thx!

rick

-- 
Rick Steeves
http://www.irelandbybicycle.com

And then I have to think more carefully, "What would Bugs Bunny do in a 
situation like this?"


________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users