On Friday, October 26, 2018 at 11:24:57 PM UTC-4, Dj Merrill wrote: > > Hi all, > I am attempting to setup an Argent Data Systems WS1 weather station > attached to a Raspberry Pi running Weewx. I have the basics working, but > am seeing a couple of oddities that I would like to request help with. > > The first is that I'm seeing errors on the logs saying: > > LOOP value 'pressure' 19.7555616375 outside limits (24.0, 34.5) > > I suspect this is due to the Weewx software expecting to see values in Hg > but the weather station is sending in Pa. How do I correct this? >
what is your altitude? according to the code, bytes 16:20 are the station pressure, measured in mbar. that is immediately converted to inHg in the driver. try setting debug=1 in your weewx.conf, and set debug_read=2 in the [WS1] section of your weewx.conf, then restart weewx. this will show you the raw values that weewx is reading from the hardware. post that log output along with the pressure and temperature values that you expect to see. > The second is that Weewx is reporting the temperature sent from the WS1 as > "internal temperature". While technically this is the temperature inside > the WS1 control box, the box is supposed to be mounted outside so it is > really an outside temperature reading. How do I get Weewx to read this as > an outside temperature value? > as i understand it, the ws1 uses the same data format as the peet bros ultimeter. that format is a single string of bytes that contains both the inside and outside temperatures. outside temperature is bytes 8:12, inside temperature is bytes 20:24. take a look at the parse_readings function around line 156 in the file ws1.py the ws1 driver does not have a configuration-defined sensor_map, so if the temperature coming into weewx as 'inTemp' is actually some other temperature, then you would have to modify ws1.py - replace 'inTemp' with the name of the temperature database field that you want, e.g., extraTemp1 or extraTemp2. m -- 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.
