Paul Alfille <paul.alfi...@gmail.com> writes:

> On 5/25/09, Steinar Midtskogen <stei...@latinitas.org> wrote:
>> digitemp fails to see quite a few sensors (but occationally it finds
>> them but incorrectly list them on the main bus), whereas Oww never has
>> had any problems after years of use.
>>
>
> Sounds like I should look at OWW implementation, then. We are closer
> to digitemp in general. Can you summarize the adapter/device
> combinations with consistently work or don't work?

I've tested two setups.

Owserver always detects all devices in all branches, but some devices
have no readable values (temperature, humitidy, etc).  Some files seem
to be unreadable all the time, others seem to be readable some of the
time, others seem to be readable all the time.

In some directory listings for the hubs, I notice that the hub
(1F.xxx) and others on hte main bus reappear.  Is that an error?

None of the 1F files should be there in this directory (I don't
cascade hubs):

# owget -s 3000 /1F.BCFD04000000/aux
/1F.BCFD04000000/aux/28.CE11EC010000
/1F.BCFD04000000/aux/81.9D9E20000000
/1F.BCFD04000000/aux/1D.43F80D000000
/1F.BCFD04000000/aux/1F.BCFD04000000
/1F.BCFD04000000/aux/1F.51FE04000000
/1F.BCFD04000000/aux/1F.270205000000


digitemp seems a bit unstable.  Sometimes it reports everything,
somtimes devices are missing, sometimes devices incorrectly appears on
the main bus.

Oww always works.

The other problem that owserver suddenly dies, *might* be related.  It
happens all the time in the setup where many files are unreadable.  It
happens just sometimes in the setup where only a few files are
unreadable.

Please let me know if you want me to get some traces, etc.


Setup 1: Little endian NSLU2 + DS9490R + 1 Hobby Boards hub
***********************************************************

Many values unreadable by owsensor.

# owwnogui -i

? devices

T1 310008001B523510 1.000000 0.000000
T2 A0000000A2C6F428 1.000000 0.000000
T3 8800000015849D28 1.000000 0.000000
T4 D3000001EC11CE28 1.000000 0.000000
T5 16000000A2D9DA28 1.000000 0.000000
H1 FB00000083FF1326 1.000000 0.000000 0.920000 0.000000
H2 B20000001537E926 1.000000 0.000000 0.900000 0.000000
BAR1 E100000053947012 1.003210 932.142883 1.000000 0.000000
tai8570w1 A00000005393E812
BRA 8700000004FDBC1F
BRB AA00000004FE511F
BRC 880000000502271F
vane A00000005393E812
vaneadc EA00000000C7D620
anem 840000000143871D 1.000000
rain EA0000000DF8431D 0.010000
lcd1 A000000004698729 1.000000

# digitemp -w
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Found DS2490 device #1 at 1/4
Turning off all DS2409 Couplers
......
Devices on the Main LAN
28F4C6A2000000A0 : DS18B20 Temperature Sensor
819D9E2000000034 : Unknown Family Code
1FBCFD0400000087 : DS2409 MicroLAN Coupler
1F51FE04000000AA : DS2409 MicroLAN Coupler
1F27020500000088 : DS2409 MicroLAN Coupler


Devices on Main Branch of Coupler : 1FBCFD0400000087
12709453000000E1 : DS2406/2407 Dual Addressable Switch + 1Kbit memory
12E89353000000A0 : DS2406/2407 Dual Addressable Switch + 1Kbit memory
29876904000000A0 : DS2408 8-Channel Addressable Switch

Devices on Aux Branch of Coupler : 1FBCFD0400000087
28CE11EC010000D3 : DS18B20 Temperature Sensor
1D43F80D000000EA : DS2423 4Kbit RAM + Counter

Devices on Main Branch of Coupler : 1F51FE04000000AA
289D841500000088 : DS18B20 Temperature Sensor

Devices on Aux Branch of Coupler : 1F51FE04000000AA
26E93715000000B2 : DS2438 Temperature, A/D Battery Monitor

Devices on Main Branch of Coupler : 1F27020500000088
20D6C700000000EA : DS2450 Quad A/D Converter
1035521B00080031 : DS1820/DS18S20/DS1920 Temperature Sensor
1D87430100000084 : DS2423 4Kbit RAM + Counter

Devices on Aux Branch of Coupler : 1F27020500000088
28DAD9A200000016 : DS18B20 Temperature Sensor
2613FF83000000FB : DS2438 Temperature, A/D Battery Monitor

# owserver -p 3000 -u
# owget -s 3000
/28.F4C6A2000000
/81.9D9E20000000
/1F.BCFD04000000
/1F.51FE04000000
/1F.270205000000
/bus.0
/settings
/system
/statistics
/structure
/simultaneous
/alarm

# owget -s 3000 /1F.BCFD04000000/main
/1F.BCFD04000000/main/12.709453000000
/1F.BCFD04000000/main/12.E89353000000
/1F.BCFD04000000/main/81.9D9E20000000
/1F.BCFD04000000/main/29.876904000000
/1F.BCFD04000000/main/1F.BCFD04000000
/1F.BCFD04000000/main/1F.51FE04000000
/1F.BCFD04000000/main/1F.270205000000
/1F.BCFD04000000/main/alarm

# owget -s 3000 /1F.BCFD04000000/aux
/1F.BCFD04000000/aux/28.CE11EC010000
/1F.BCFD04000000/aux/81.9D9E20000000
/1F.BCFD04000000/aux/1D.43F80D000000
/1F.BCFD04000000/aux/1F.BCFD04000000
/1F.BCFD04000000/aux/1F.51FE04000000
/1F.BCFD04000000/aux/1F.270205000000

# owget -s 3000 /1F.51FE04000000/main
/1F.51FE04000000/main/28.9D8415000000
/1F.51FE04000000/main/simultaneous
/1F.51FE04000000/main/alarm

# owget -s 3000 /1F.51FE04000000/aux
/1F.51FE04000000/aux/26.E93715000000
/1F.51FE04000000/aux/simultaneous

# owget -s 3000 /1F.270205000000/main
/1F.270205000000/main/20.D6C700000000
/1F.270205000000/main/10.35521B000800
/1F.270205000000/main/28.F4C6A2000000
/1F.270205000000/main/81.9D9E20000000
/1F.270205000000/main/1D.874301000000
/1F.270205000000/main/1F.BCFD04000000
/1F.270205000000/main/1F.51FE04000000
/1F.270205000000/main/1D.874301000000
/1F.270205000000/main/simultaneous
/1F.270205000000/main/alarm

# owget -s 3000 /1F.270205000000/aux
/1F.270205000000/aux/28.DAD9A2000000
/1F.270205000000/aux/26.13FF83000000
/1F.270205000000/aux/81.9D9E20000000
/1F.270205000000/aux/1F.BCFD04000000
/1F.270205000000/aux/1F.51FE04000000
/1F.270205000000/aux/1F.270205000000
/1F.270205000000/aux/simultaneous
/1F.270205000000/aux/alarm

# owget -s 3000 /1F.BCFD04000000/main/12.709453000000E1/TAI8570/pressure
      1004.6
# owget -s 3000 /1F.BCFD04000000/main/26.13FF83000000FB/HIH4000
1F.BCFD04000000/main/26.13FF83000000FB/HIH4000/humidity

# owget -s 3000 /1F.BCFD04000000/main/26.13FF83000000FB/HIH4000/humidity
ServerRead: Data error on 
1F.BCFD04000000/main/26.13FF83000000FB/HIH4000/humidity
# owget -s 3000 /1F.BCFD04000000/main/26.13FF83000000FB/temperature
ServerRead: Data error on /1F.BCFD04000000/main/26.13FF83000000FB/temperature

# owget -s 3000 /1F.BCFD04000000/aux/28.CE11EC010000D3/temperature
      13.375

# owget -s 3000 /1F.270205000000/main/28.F4C6A2000000A0/temperature
ServerRead: Data error on /1F.270205000000/main/28.F4C6A2000000A0/temperature

# owget -s 3000 /1F.270205000000/main/1D.87430100000084/counters.A
    14370260

# owget -s 3000 /1F.270205000000/main/20.D6C700000000EA/volt.ALL
ServerRead: Data error on /1F.270205000000/main/20.D6C700000000EA/volt.ALL

# owget -s 3000 /1F.270205000000/main/10.35521B00080031/temperature
     13.1875

# owget -s 3000 /1F.270205000000/aux/28.DAD9A200000016/temperature
       10.75

# owget -s 3000 /1F.51FE04000000/main/28.9D841500000088/temperature
          13

# owget -s 3000 /1F.51FE04000000/aux/26.E93715000000B2/HIH4000/humidity
     90.0933

# owget -s 3000 /1F.51FE04000000/aux/26.E93715000000B2/temperature
     12.6875


All of a sudden some values can be read:

# owget -s 3000 /1F.270205000000/main/20.D6C700000000EA/volt.ALL
     4.53976,   0.0289067,     4.57007,     4.55741

Seconds later:

# owget -s 3000 uncached/1F.270205000000/main/20.D6C700000000EA/volt.ALL
ServerRead: Data error on 
uncached/1F.270205000000/main/20.D6C700000000EA/volt.ALL



Setup 2: x86_64 PC + The Link + 2 Hobby Boards hubs
***************************************************

Few unreadable files by owserver.

# owwnogui -i
? devices
T1 BF0000017E3FA028 1.000000 -0.090000
T2 E90008004DA9A710 1.000000 -0.250000
T3 75000800142A7E10 1.000000 0.070000
T5 5E0000017E43C228 1.000000 -0.000000
T6 DE000000A2E9E228 1.000000 0.000000
T7 C500000031A1CC28 1.000000 0.000000
T8 4C0008010FADD510 1.000000 -0.170000
T9 5A000001EBE18A28 1.000000 0.000000
H5 780000005A738E26 1.000000 0.000000 1.020000 -3.740000
H6 74000000152A1626 1.000000 0.000000 0.970000 -3.000000
SOL1 0D0000004FFE8B26 0.950000 -0.150000
BRA 1F00000004B3441F
BRB 5E00000004B1A11F
BRC 3B00000004C5891F
BRD C600000004B5B51F
BRE D100000004B59D1F
BRF A300000004B33B1F
vaneadc C6000000011EAF20
anem 5F0000000198631D 1.000000
GPC1 D200000005E23F1D 0.000000
GPC2 9D00000005484C1D 0.115000


# digitemp -w -s /dev/ttyUSB3
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
........
Devices on the Main LAN
1F44B3040000001F : DS2409 MicroLAN Coupler
1FA1B1040000005E : DS2409 MicroLAN Coupler
1F89C5040000003B : DS2409 MicroLAN Coupler
1FB5B504000000C6 : DS2409 MicroLAN Coupler
1F9DB504000000D1 : DS2409 MicroLAN Coupler
1F3BB304000000A3 : DS2409 MicroLAN Coupler


Devices on Main Branch of Coupler : 1F44B3040000001F
10D5AD0F0108004C : DS1820/DS18S20/DS1920 Temperature Sensor

Devices on Aux Branch of Coupler : 1F44B3040000001F
268BFE4F0000000D : DS2438 Temperature, A/D Battery Monitor

Devices on Main Branch of Coupler : 1FA1B1040000005E
28A03F7E010000BF : DS18B20 Temperature Sensor
28C2437E0100005E : DS18B20 Temperature Sensor

Devices on Aux Branch of Coupler : 1FA1B1040000005E
20AF1E01000000C6 : DS2450 Quad A/D Converter
107E2A1400080075 : DS1820/DS18S20/DS1920 Temperature Sensor
1D6398010000005F : DS2423 4Kbit RAM + Counter

Devices on Main Branch of Coupler : 1F89C5040000003B

Devices on Aux Branch of Coupler : 1F89C5040000003B
28CCA131000000C5 : DS18B20 Temperature Sensor
268E735A00000078 : DS2438 Temperature, A/D Battery Monitor

Devices on Main Branch of Coupler : 1FB5B504000000C6

Devices on Aux Branch of Coupler : 1FB5B504000000C6
26162A1500000074 : DS2438 Temperature, A/D Battery Monitor

Devices on Main Branch of Coupler : 1F9DB504000000D1

Devices on Aux Branch of Coupler : 1F9DB504000000D1
28E2E9A2000000DE : DS18B20 Temperature Sensor
288AE1EB0100005A : DS18B20 Temperature Sensor

Devices on Main Branch of Coupler : 1F3BB304000000A3
1D3FE205000000D2 : DS2423 4Kbit RAM + Counter

Devices on Aux Branch of Coupler : 1F3BB304000000A3
10A7A94D000800E9 : DS1820/DS18S20/DS1920 Temperature Sensor

# owserver -p 3000 /dev/ttyUSB3
# owget -s 3000
/1F.44B304000000
/1F.A1B104000000
/1F.89C504000000
/1F.B5B504000000
/1F.9DB504000000
/1F.3BB304000000
/bus.0
/settings
/system
/statistics
/structure

# owget -s 3000 /1F.44B304000000/main
/1F.44B304000000/main/10.D5AD0F010800
/1F.44B304000000/main/simultaneous
/1F.44B304000000/main/alarm

# owget -s 3000 /1F.44B304000000/aux
/1F.44B304000000/aux/26.8BFE4F000000
/1F.44B304000000/aux/simultaneous

# owget -s 3000 /1F.A1B104000000/main
/1F.A1B104000000/main/28.A03F7E010000
/1F.A1B104000000/main/28.C2437E010000
/1F.A1B104000000/main/simultaneous
/1F.A1B104000000/main/alarm

# owget -s 3000 /1F.A1B104000000/aux
/1F.A1B104000000/aux/20.AF1E01000000
/1F.A1B104000000/aux/10.7E2A14000800
/1F.A1B104000000/aux/1D.639801000000
/1F.A1B104000000/aux/simultaneous
/1F.A1B104000000/aux/alarm

# owget -s 3000 /1F.89C504000000/main

# owget -s 3000 /1F.89C504000000/aux
/1F.89C504000000/aux/28.CCA131000000
/1F.89C504000000/aux/26.8E735A000000
/1F.89C504000000/aux/simultaneous
/1F.89C504000000/aux/alarm

# owget -s 3000 /1F.B5B504000000/main

# owget -s 3000 /1F.B5B504000000/aux
/1F.B5B504000000/aux/26.162A15000000
/1F.B5B504000000/aux/simultaneous

# owget -s 3000 /1F.9DB504000000/main

# owget -s 3000 /1F.9DB504000000/aux
/1F.9DB504000000/aux/28.E2E9A2000000
/1F.9DB504000000/aux/28.8AE1EB010000
/1F.9DB504000000/aux/simultaneous
/1F.9DB504000000/aux/alarm

# owget -s 3000 /1F.3BB304000000/main
/1F.3BB304000000/main/1D.3FE205000000

# owget -s 3000 /1F.3BB304000000/aux
/1F.3BB304000000/aux/10.A7A94D000800
/1F.3BB304000000/aux/1D.4C4805000000
/1F.3BB304000000/aux/simultaneous
/1F.3BB304000000/aux/alarm

# owget -s 3000 /1F.3BB304000000/main/1D.3FE205000000/counters.A
ServerRead: Data error on /1F.3BB304000000/main/1D.3FE205000000/counters.A

Everything else seems to work.

-- 
Steinar ; NIL DIFFICILE VOLENTI ; http://latinitas.org ; http://voksenlia.net

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to