[Weather] Having Trouble

Corey Touchet coreytouchet+oww at gmail.com
Mon May 7 13:01:03 EDT 2007


I'm trying to get my setup working in the garage before mounting it on the
roof and I'm running into problems.


I have 3 devices in series all hobby boards  Therm/Humid > Anemoeter > Rain
Bucket


However, I'm not getting any data back.

Here's my devices file


offset 0
reverse 0
T1 E10008001B46B610 1.000000 0.000000
T2 F40008014CECB410 1.000000 0.000000
H1 02000000A9422726 1.000000 0.000000 1.000000 0.000000
BRA D700000004C36A1F
BRB 6200000004C9261F
BRC E700000004C6A61F
vaneadc 9F0000000085B220
anem 47000000017AB41D 1.000000
driver /dev/ttyS0
port 0

# Data sample offset: 3-10us
ds2480samp 10

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

# Test setup
recharge 1
autoalloc 1





And below is some debug output..

07, 11:54:42 [zombie (wsdead)] owAcquireEx: com 07, 11:54:42 [zombie (wsdead)] devices_portnum_var 07, 11:54:42 [zombie (wsdead)] owAcquireEx OK
07, 11:54:42 [restart (zombie)] state_zombie -> state_ready
07, 11:54:43 [starttempconv (readanemstart)] dtime 07, 11:54:43 [starttempconv (readanemstart)] weather_read_ws_end_tempconv:
T0 07, 11:54:43 [port_ok (starttempconv)] Error reading from weather station:
weather_read_ws failed
07, 11:54:43 [wsdead (port_ok)] Problem with link or weather station
07, 11:54:43 [zombie (wsdead)] RETRY:Will restart in 5 seconds




more detailed debug info


7, 11:56:03 [port_ok (startup)] No suitable allocation for search entry 3,
family 0x09
07, 11:56:03 [port_ok (startup)] Alloc check 4
07, 11:56:03 [port_ok (startup)] Alloced to Vane ADC
07, 11:56:03 [port_ok (startup)] devices_allocate(1, 4)
07, 11:56:03 [port_ok (startup)] devices_set_trunk_or_branch("Vane ADC") ->
Branch C [main]
07, 11:56:03 [port_ok (startup)] Change to Branch C [main]
07, 11:56:04 [port_ok (startup)] Allocating ADC device 4
07, 11:56:04 [port_ok (startup)] Alloc check 5
07, 11:56:04 [port_ok (startup)] Alloced to Thermometer 2
07, 11:56:04 [port_ok (startup)] Alloc check 6
07, 11:56:04 [port_ok (startup)] Alloced to Thermometer 1
07, 11:56:04 [port_ok (startup)] Alloc check 7
07, 11:56:04 [port_ok (startup)] Alloced to Humidity 1
07, 11:56:04 [port_ok (startup)] Alloc check 8
07, 11:56:04 [port_ok (startup)] Alloced to Anemometer
07, 11:56:04 [port_ok (startup)] Alloc check 9
07, 11:56:04 [port_ok (startup)] devices_auto_allocate(9)
07, 11:56:04 [port_ok (startup)] devices_allocate(11, 9)
07, 11:56:04 [port_ok (startup)] Allocating search entry 9 to "Rain gauge1"
07, 11:56:04 [port_ok (startup)] FindWeatherStation returned 1
07, 11:56:04 [ready (port_ok)] prog_state port_ok -> ready
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] 1-wire Error: Search ROM Error: Couldn't
locate next device on 1-Wire
07, 11:56:04 [ready (port_ok)] state_machine: ready
07, 11:56:04 [readanemstart (ready)] prog_state ready -> readanemstart
07, 11:56:04 [readanemstart (ready)] state_machine: readanemstart
07, 11:56:04 [readanemstart (ready)]
devices_set_trunk_or_branch("Anemometer") -> Branch C [main]
07, 11:56:04 [starttempconv (readanemstart)] prog_state readanemstart ->
starttempconv
07, 11:56:04 [starttempconv (readanemstart)] state_machine: starttempconv
07, 11:56:04 [starttempconv (readanemstart)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:04 [starttempconv (readanemstart)] Thermometer 1 power status 255
07, 11:56:04 [starttempconv (readanemstart)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:04 [starttempconv (readanemstart)] dtime 07, 11:56:04 [starttempconv (readanemstart)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:04 [starttempconv (readanemstart)] weather_read_ws_end_tempconv:
T0 07, 11:56:04 [starttempconv (starttempconv)] prog_state starttempconv ->
starttempconv
07, 11:56:04 [starttempconv (starttempconv)] state_machine: starttempconv
07, 11:56:04 [starttempconv (starttempconv)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:04 [starttempconv (starttempconv)] Thermometer 1 power status 255
07, 11:56:04 [starttempconv (starttempconv)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:04 [starttempconv (starttempconv)] dtime 07, 11:56:04 [starttempconv (starttempconv)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:05 [starttempconv (starttempconv)] weather_read_ws_end_tempconv:
T0 07, 11:56:05 [starttempconv (starttempconv)] prog_state starttempconv ->
starttempconv
07, 11:56:05 [starttempconv (starttempconv)] state_machine: starttempconv
07, 11:56:05 [starttempconv (starttempconv)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:05 [starttempconv (starttempconv)] Thermometer 1 power status 255
07, 11:56:05 [starttempconv (starttempconv)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:05 [starttempconv (starttempconv)] dtime 07, 11:56:05 [starttempconv (starttempconv)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:05 [starttempconv (starttempconv)] weather_read_ws_end_tempconv:
T0 07, 11:56:05 [port_ok (starttempconv)] prog_state starttempconv -> port_ok
07, 11:56:05 [port_ok (starttempconv)] Error reading from weather station:
weather_read_ws failed
07, 11:56:05 [wsdead (port_ok)] prog_state port_ok -> wsdead
07, 11:56:05 [wsdead (port_ok)] state_machine: wsdead
07, 11:56:05 [wsdead (port_ok)] Problem with link or weather station
07, 11:56:05 [zombie (wsdead)] prog_state wsdead -> zombie
07, 11:56:05 [zombie (wsdead)] RETRY:Will restart in 5 seconds
07, 11:56:05 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:05 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:06 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:07 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:08 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:09 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event not time to call smtest
07, 11:56:10 [zombie (wsdead)] null_event: zombie
07, 11:56:10 [zombie (wsdead)] next_smtest 1
07, 11:56:10 [zombie (wsdead)] now 1386
07, 11:56:10 [zombie (wsdead)] state_machine: zombie
07, 11:56:10 [zombie (wsdead)] owAcquireEx: com 07, 11:56:11 [zombie (wsdead)] devices_portnum_var 07, 11:56:11 [zombie (wsdead)] owAcquireEx OK
07, 11:56:11 [restart (zombie)] prog_state zombie -> restart
07, 11:56:11 [restart (zombie)] state_zombie -> state_ready
07, 11:56:11 [restart (zombie)] state_machine: restart
07, 11:56:11 [readanemstart (restart)] prog_state restart -> readanemstart
07, 11:56:11 [readanemstart (restart)] state_machine: readanemstart
07, 11:56:11 [readanemstart (restart)]
devices_set_trunk_or_branch("Anemometer") -> Branch C [main]
07, 11:56:11 [readanemstart (restart)] Change to Branch C [main]
07, 11:56:11 [readanemstart (restart)]
devices_set_trunk_or_branch("Anemometer") -> Branch C [main]
07, 11:56:11 [starttempconv (readanemstart)] prog_state readanemstart ->
starttempconv
07, 11:56:11 [starttempconv (readanemstart)] state_machine: starttempconv
07, 11:56:11 [starttempconv (readanemstart)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:11 [starttempconv (readanemstart)] Thermometer 1 power status 255
07, 11:56:11 [starttempconv (readanemstart)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:11 [starttempconv (readanemstart)] dtime 07, 11:56:11 [starttempconv (readanemstart)]
devices_set_trunk_or_branch("Thermometer 1") -> Branch C [main]
07, 11:56:11 [starttempconv (readanemstart)] weather_read_ws_end_tempconv:
T0 07, 11:56:11 [port_ok (starttempconv)] prog_state starttempconv -> port_ok
07, 11:56:11 [port_ok (starttempconv)] Error reading from weather station:
weather_read_ws failed
07, 11:56:11 [wsdead (port_ok)] prog_state port_ok -> wsdead
07, 11:56:11 [wsdead (port_ok)] state_machine: wsdead



There's one device it's unable to allocate.  I'm not sure if that's the
problem or not.  Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www2.buoy.com/pipermail/weather/attachments/20070507/2d49b115/attachment.htm 


More information about the Weather mailing list