I am trying to get my station up and running and am wondering what the correct setting should be for weewx.conf since I see somewhat conflicting suggestions. I am using the Hobby Boards Anemometer board which has the DS2438 A/D to determine wind direction and the DS2423 counter for wind speed. On the counter, both input channels are connected together by a shorting resistor so that counter.A and counter.B should read the same (more on this later). The anemometer is a Inspeed OPTICAL unit with 8 pulses per revolution connected to the DS2423 counter inputs. This is different than their other models which have 1 or 4 pulses per revolution. The wind direction is an Inspeed E-VANE connected to the DS2438 A/D.
My current weewx.conf is:
##############################################################################
[OWFS]
interface = u
driver = user.owfs
[[sensor_type]]
windSpeed = inspeed_windspeed
winDir = inspeed_windvane
#rain = counter
[[sensor_map]]
outTemp = /uncached/28.D5A7C6000000/temperature
outHumidity = /uncached/26.ADD891000000/humidity
windSpeed = /uncached/1D.BCBF0D000000
windDir = /uncached/26.5C6EE7000000/VAD
#rain = /uncached/1D.496E0F000000/rain
##############################################################################
The main problem is that the windDirection is almost always right around North even though the vane moves around quite a bit and the windSpeed is generally close to 1 - 2 mph even though it is blowing much more.
Should the windSpeed entry have a "/counter.A" appended (even though the example does not have it)? Are the values computed using "inspeed_windspeed" and " inspeed_windvane" correct for the 8 pulse per rev and the Inspeed E-Vane or does something have to be changed in the code? If so, where? Other entries I have seen have "average" for the windSpeed sensor_type. Does "inspeed_windspeed" do an average?
Using .../owfs.py --sensors All of the 1-Wire devices are detected properly. Using .../owfs.py --readings returns the following for the A/D used for wind direction:
_usePath: /26.5C6EE7000000
_type: DS2438
_path: /26.5C6EE7000000
_useCache: True
/26.5C6EE7000000/B1-R1-A/: gain,offset,pressure
/26.5C6EE7000000/family: 26
/26.5C6EE7000000/offset: 1
/26.5C6EE7000000/locator: FFFFFFFFFFFFFFFF
/26.5C6EE7000000/VDD: 4.94
/26.5C6EE7000000/HIH3600/: humidity
/26.5C6EE7000000/r_locator: FFFFFFFFFFFFFFFF
/26.5C6EE7000000/id: 5C6EE7000000
/26.5C6EE7000000/HTM1735/: humidity
/26.5C6EE7000000/pages/: page.ALL,page.0,page.1,page.2,page.3,page.4,page.5,page.6,page.7
/26.5C6EE7000000/HIH4000/: humidity
/26.5C6EE7000000/temperature: -2.8125
/26.5C6EE7000000/disconnect/: date,udate
/26.5C6EE7000000/MultiSensor/: type
/26.5C6EE7000000/endcharge/: date,udate
/26.5C6EE7000000/type: DS2438
/26.5C6EE7000000/EE: 1
/26.5C6EE7000000/IAD: 1
/26.5C6EE7000000/CA: 1
/26.5C6EE7000000/VAD: 4.92Why are there listings for various Humidity sensors?
/26.5C6EE7000000/address: 265C6EE70000004E
/26.5C6EE7000000/date: Wed Dec 31 23:49:10 1969
/26.5C6EE7000000/r_address: 4E000000E76E5C26
/26.5C6EE7000000/S3-R1-A/: current,gain,illuminance
/26.5C6EE7000000/vis: 0.002441
/26.5C6EE7000000/crc8: 4E
/26.5C6EE7000000/udate: 17350
/26.5C6EE7000000/humidity: 126.822
/26.5C6EE7000000/r_id: 000000E76E5C
Why are there listings for various Humidity sensors?
For the wind speed the following is returned:
BCBF0D000000
_usePath: /1D.BCBF0D000000
_type: DS2423
_path: /1D.BCBF0D000000
_useCache: True
/1D.BCBF0D000000/pages/: count.ALL,count.0,count.1,count.2,count.3,count.4,count.5,count.6,count.7,count.8,count.9,count.10,count.11,count.12,count.13,count.14,count.15,page.ALL,page.0,page.1,page.2,page.3,page.4,page.5,page.6,page.7,page.8,page.9,page.10,page.11,page.12,page.13,page.14,page.15
/1D.BCBF0D000000/family: 1D
/1D.BCBF0D000000/counters.ALL: 4105, 33848
/1D.BCBF0D000000/counters.A: 4105
/1D.BCBF0D000000/counters.B: 33848
/1D.BCBF0D000000/locator: FF80FFFFFFFFFFFF
/1D.BCBF0D000000/type: DS2423
/1D.BCBF0D000000/crc8: 04
/1D.BCBF0D000000/memory:
/1D.BCBF0D000000/r_id: 0000000DBFBC
/1D.BCBF0D000000/address: 1DBCBF0D00000004
/1D.BCBF0D000000/mincount: 4105
/1D.BCBF0D000000/r_address: 040000000DBFBC1D
/1D.BCBF0D000000/r_locator: FFFFFFFFFFFF80FF
/1D.BCBF0D000000/id: BCBF0D000000
Does anyone have an idea on why counter.A and counter.B have different values? They have the same input on the Hobby Board. It is always the case that counter.B has a much higher value than counter.A. What has to be changed to use a 8 pulse per rev anemometer?
Thank you for any help or suggestions.
Mike