Hi Paul,

Based on the email from George, I decided to revisit my results and see if
I achieved similar behavior.
As George reported, there is definitely some weird going on with the 1-wire
communication.

The initial cached version number of the barometer looked bad:

# cat /mnt/owfs/EF.F69620150000/version
255.25
# cat /mnt/owfs/EF.F69620150000/version
255.25

But the cached barometer type number looked OK:

# cat /mnt/owfs/EF.F69620150000/type_number
6
# cat /mnt/owfs/EF.F69620150000/type_number
6

Checking the uncached barometer version number, initially it is bad but
them it came good:

# cat /mnt/owfs/uncached/EF.F69620150000/version
255.25
# cat /mnt/owfs/uncached/EF.F69620150000/version
255.25
# cat /mnt/owfs/uncached/EF.F69620150000/version
1.0

However, later reads of the uncached version number produced '255.25' again.

Similarly, the uncached barometer type number was bad, but then also came
good:

# cat /mnt/owfs/uncached/EF.F69620150000/type_number
255
# cat /mnt/owfs/uncached/EF.F69620150000/type_number
255
# cat /mnt/owfs/uncached/EF.F69620150000/type_number
6
# cat /mnt/owfs/uncached/EF.F69620150000/type_number
6
# cat /mnt/owfs/uncached/EF.F69620150000/type_number
6

But again, later reads of the uncached type number produced '255'.

Unlike last time, I do now see the barometer directory
(I assume due to all the probing of the uncached directory):

# ls /mnt/owfs/uncached/EF.F69620150000/
address      barometer/   family       locator      r_id
type         version
alias        crc8         id           r_address    r_locator    type_number
# ls -l /mnt/owfs/uncached/EF.F69620150000/barometer/
total 0
-rw-rw-rw- 1 root root 12 Oct 26 16:52 altitude
-rw-rw-rw- 1 root root 12 Oct 26 16:52 config
-rw-rw-rw- 1 root root 21 Oct 26 16:52 location
-r--r--r-- 1 root root 12 Oct 26 16:52 polling_available
-rw-rw-rw- 1 root root 12 Oct 26 16:52 polling_frequency
-r--r--r-- 1 root root 12 Oct 26 16:52 pressure
-r--r--r-- 1 root root 12 Oct 26 16:52 pressure_altitude
--w--w--w- 1 root root  1 Oct 26 16:52 reboot
--w--w--w- 1 root root  1 Oct 26 16:52 reset
-r--r--r-- 1 root root 12 Oct 26 16:52 temperature

The read results for both barometric pressure and temperature do not
appears correct though:

# cat /mnt/owfs/uncached/EF.F69620150000/barometer/pressure
-1050
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/pressure
-1050
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/pressure
-1050
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/temperature
-0.1
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/temperature
-3.4
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/temperature
-3.4
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/temperature
-3.4
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/temperature
-3.4

Neither do the other parameters:

# cat /mnt/owfs/uncached/EF.F69620150000/barometer/altitude
0
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/altitude
-1
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/altitude
0
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/polling_available
255
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/polling_available
255
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/polling_frequency
255
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/polling_frequency
9
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/polling_frequency
255
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/pressure_altitude
-17
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/pressure_altitude
187
# cat /mnt/owfs/uncached/EF.F69620150000/barometer/pressure_altitude
187

Thanks
David

On Sun, Oct 26, 2014 at 11:51 AM, George Edwards <georg...@gmail.com> wrote:

> Hi Paul,
> I'm having the same problem as David - I can see the barometer on the bus
> - just can't get any measurements.
>
> I think part of the problem is that I don't initially get the type values
> below - a lot of the time they seem to be -1, then after a while they'll
> start to oscillate between valid and -1.
>
> pi@tycho ~/owfs-2.9p8 $ cat /var/lib/1wire/uncached/EF.016020150000/type
> /var/lib/1wire/uncached/EF.016020150000/type_number
> /var/lib/1wire/uncached/EF.016020150000/version ; ls -l
> /var/lib/1wire/uncached/EF.016020150000/
> HobbyBoards_EF
> 6
> 1.0
> total 0
> -r--r--r-- 1 root root  16 Oct 26 12:11 address
> -rw-rw-rw- 1 root root 256 Oct 26 12:11 alias
> -r--r--r-- 1 root root   2 Oct 26 12:11 crc8
> -r--r--r-- 1 root root   2 Oct 26 12:11 family
> -r--r--r-- 1 root root  12 Oct 26 12:11 id
> -r--r--r-- 1 root root  16 Oct 26 12:11 locator
> -r--r--r-- 1 root root  16 Oct 26 12:11 r_address
> -r--r--r-- 1 root root  12 Oct 26 12:11 r_id
> -r--r--r-- 1 root root  16 Oct 26 12:11 r_locator
> -r--r--r-- 1 root root  32 Oct 26 12:11 type
> -r--r--r-- 1 root root  12 Oct 26 12:16 type_number
> -r--r--r-- 1 root root   7 Oct 26 12:16 version
>
> Thanks,
> George
>
> On Sun, Oct 26, 2014 at 11:01 AM, David Lazarou <dlazaro...@gmail.com>
> wrote:
>
>> Hi Paul,
>>
>> Thanks for the quick reply. The requested data is shown below.
>>
>> For the barometer:
>>
>> # cat /mnt/owfs/EF.F69620150000/type_number
>> 255
>> # cat /mnt/owfs/EF.F69620150000/version
>> 255.25
>>
>> For the humidity sensor:
>>
>> # cat /mnt/owfs/EF.A05F20150000/type_number
>> 255
>> # cat /mnt/owfs/EF.A05F20150000/version
>> 255.25
>>
>> Seems like they are not being detected correctly.
>>
>> Thanks
>> David
>>
>>
>> On Sat, Oct 25, 2014 at 11:42 PM, Paul Alfille <paul.alfi...@gmail.com>
>> wrote:
>>
>>> Can you tell me the type_number and version for the two devices?
>>> (Reading from the owfs entries)? Both will show selected properties based
>>> on the type number which Hobbyboards (and owfs) uses to distinguish the
>>> different available sensors.
>>>
>>> Paul
>>>
>>> On Fri, Oct 24, 2014 at 10:57 PM, David Lazarou <dlazaro...@gmail.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I recently purchased a new Hobby Board barometer and humidity sensor to
>>>> add to my 1-wire network which uses a 1-wire USB adapter. However, while I
>>>> do get data back from these devices, I see no barometric or humidity
>>>> readings. I'm running the most recent code (owfs-2.9p8) which I noted
>>>> supports these devices.
>>>> This is what I see when I do a directory listing of the devices:
>>>>
>>>> barometer:
>>>>
>>>> # ls -l /tmp/1-wire/EF.F69620150000
>>>> total 0
>>>> -r--r--r-- 1 root root  16 Oct 25 13:16 address
>>>> -rw-rw-rw- 1 root root 256 Oct 25 13:16 alias
>>>> -r--r--r-- 1 root root   2 Oct 25 13:16 crc8
>>>> -r--r--r-- 1 root root   2 Oct 25 13:16 family
>>>> -r--r--r-- 1 root root  12 Oct 25 13:16 id
>>>> -r--r--r-- 1 root root  16 Oct 25 13:16 locator
>>>> -r--r--r-- 1 root root  16 Oct 25 13:16 r_address
>>>> -r--r--r-- 1 root root  12 Oct 25 13:16 r_id
>>>> -r--r--r-- 1 root root  16 Oct 25 13:16 r_locator
>>>> -r--r--r-- 1 root root  32 Oct 25 13:16 type
>>>> -r--r--r-- 1 root root  12 Oct 25 13:17 type_number
>>>> -r--r--r-- 1 root root   7 Oct 25 13:17 version
>>>>
>>>> humidity:
>>>>
>>>> # ls -l /tmp/1-wire/EF.A05F20150000/
>>>> total 0
>>>> -r--r--r-- 1 root root  16 Oct 25 13:16 address
>>>> -rw-rw-rw- 1 root root 256 Oct 25 13:16 alias
>>>> -r--r--r-- 1 root root   2 Oct 25 13:16 crc8
>>>> -r--r--r-- 1 root root   2 Oct 25 13:16 family
>>>> -r--r--r-- 1 root root  12 Oct 25 13:16 id
>>>> -r--r--r-- 1 root root  16 Oct 25 13:16 locator
>>>> -r--r--r-- 1 root root  16 Oct 25 13:16 r_address
>>>> -r--r--r-- 1 root root  12 Oct 25 13:16 r_id
>>>> -r--r--r-- 1 root root  16 Oct 25 13:16 r_locator
>>>> -r--r--r-- 1 root root  32 Oct 25 13:16 type
>>>> -r--r--r-- 1 root root  12 Oct 25 13:18 type_number
>>>> -r--r--r-- 1 root root   7 Oct 25 13:18 version
>>>>
>>>> I have both devices connected to a Hobby Board 4 channel hub.
>>>> I have tried running the owfs server from a Raspberry Pi running
>>>> Archlinux and from a laptop running Fedora 19. However, I get exactly the
>>>> same results.
>>>> I am successfully using other 1-wire devices on the network, so I don't
>>>> thing there is any problems with the hardware.
>>>> Can any one confirm that they have successfully used these devices?
>>>>
>>>> Thanks
>>>> David
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Owfs-developers mailing list
>>>> Owfs-developers@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> Owfs-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to