Wind dir, rain fields in new station

32 views
Skip to first unread message

michael

unread,
Apr 13, 2021, 3:52:10 PM4/13/21
to weewx-user
Hi,

New to weewx; I've added support in the SDR driver for my station (WeatherSense Wireless WeatherRack2 reporting as "Cotech-36795") - it mostly works great.

2 Questions:

1)
As I am in the southern hemisphere and this station has a solar panel on it, I have mounted the station facing north to make best use of it. This means my wind readings are off by 180 degrees. I have it working by just taking 180 off the value that I get from the station in the driver. This works, but isn't the correct way to handle this. How can I do this, in weewx.conf?

What I'm doing today (in the SDR driver):
pkt['wind_dir'] = Packet.get_int(obj, 'wind_dir_deg') - 180

2)
Another problem I have is with rain_total. I have it mapped in the driver like so:
pkt['rain_total'] = Packet.get_float(obj, 'rain_mm')

This does seem to only increment when rain happens, but the number is huge 
eg "rain_mm": 47.400, when it should be ~ 1mm. Any thoughts on what might be happening here? And how I might know what time period this total is for? Then how to set that up in the config..

Many thanks,
Michael






Reply all
Reply to author
Forward
0 new messages