ws read problems using 1-wire hub

tfrohling

New Member
I'm having a strange problem when I use the hobby boards 1-wire hub and
talking to a 1-wire weather station. If I connect up the WS directly to the
USB adapter and use owwnogui, I get very few errors from the station and
things work just fine. But when I hook up the WS through the hub and
have it relearn all the devices and start owwnogui, I am getting...

18, 03:19:15 [devclaim (learn)] owAcquireEx OK
18, 03:19:15 [unknown state (devclaim)] state_zombie -> state_ready
18, 03:20:29 [startup (startup)] setup_oww_un_name: /tmp/oww_trx_un
18, 03:20:30 [startup (startup)] applctn_startup_finished. Debug to "/opt/etc/oww/debugfile"
18, 03:20:30 [startup (startup)] Interactive? No
18, 03:20:30 [wsdead (startup)] bound Unix socket
18, 03:20:30 [wsdead (startup)] bound Unix socket
18, 03:20:30 [wsdead (startup)] owAcquireEx: com = USB
18, 03:20:30 [wsdead (startup)] devices_portnum_var = 0x600
18, 03:20:30 [wsdead (startup)] owAcquireEx OK
18, 03:20:35 [wsdead (startup)] FindWeatherStation returned 1
18, 03:20:39 [read_ws_done (readanemend)] WriteAtoD failed
18, 03:20:39 [read_ws_done (readanemend)] ReadWindDirection_ADC failed (1st go)
18, 03:20:39 [read_ws_done (readanemend)] WriteAtoD failed
18, 03:20:39 [read_ws_done (readanemend)] ReadWindDirection_ADC failed (tried twice)
18, 03:20:43 [waiting (idle)] Crazy anem speed
18, 03:20:46 [waiting (idle)] Crazy anem speed
18, 03:21:37 [read_ws_done (readanemend)] DoAtoDConversion failed
18, 03:21:37 [read_ws_done (readanemend)] ReadWindDirection_ADC failed (1st go)
18, 03:21:37 [read_ws_done (readanemend)] WriteAtoD failed
18, 03:21:37 [read_ws_done (readanemend)] ReadWindDirection_ADC failed (tried twice)
18, 03:21:37 [idle (read_ws_done)] 1-wire Error: CRC Failed
18, 03:22:36 [endtempconv (waiting_tempconv)] CRC error reading Thermometer 1
18, 03:22:38 [read_ws_done (readanemend)] WriteAtoD failed
18, 03:22:38 [read_ws_done (readanemend)] ReadWindDirection_ADC failed (1st go)
18, 03:22:38 [read_ws_done (readanemend)] WriteAtoD failed
18, 03:22:38 [read_ws_done (readanemend)] ReadWindDirection_ADC failed (tried twice)

Sometimes it does read it ok, but it's not at all reliable. I'm using owwnogui version
from the OWW 0.82.1-1 package on an Nslug running unslung.

Anyone got any ideas?

thanks,

ted
 
Oh, here is my devices file:

offset 0
reverse 0
T1 C90008001B557110 1.000000 0.000000
BRA D500000003E8001F
BRB E600000003DB8E1F
BRC A000000003DF8D1F
vaneadc 4900000000E84120
anem EC000000019FAF1D 1.000000
driver USB
port 0

# Data sample offset: 3-10us
ds2480samp 10

# Write 1 low time: 5-15us
ds2480write 12

# Parameters for DS2490.
# Use -1 for defaults, or 0-7 according to data sheet tables 9-11
ds2490slew -1
ds2490write -1
ds2490samp -1

# Test setup
recharge 1
autoalloc 1

Wondering if any of the various 1-wire parameters should be changed when
working through a hub.

ted
 
Back
Top