Thanks TK and Gary..

I put /100 in after TK made it clear that the simplest answer is the best 
answer.. Now I don't have any errors in my logs.. I don't know what to do!

Moral of this story.. realize that the * is math and not "syntax" for the 
command.. Someday I will figure out how to read code and understand it too..

I thought all this time I had to have * weewx.units.INHG_PER_MBAR or weewx 
would not do anything.. had I know that /100 would work.. geesh.. That is 
the manual I need..

Thanks to all!

On Monday, April 10, 2017 at 9:02:21 AM UTC-5, gjr80 wrote:
>
> I agree with Tom, it should be as simple as replacing the line
>
> packet['pressure'] = self._sensor1.read_pressure() * weewx.units.
> INHG_PER_MBAR
>
> with
>
> packet['pressure'] = self._sensor1.read_pressure()/100.0
>
> in your driver. What do you see if you make this change (if you have not 
> already) and then run weeWX directly 
> <http://weewx.com/docs/usersguide.htm#Running_directly>. It would be 
> interesting to see what appears in the loop packets.
>
> Gary
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to