I've been writing a small perl script to parse my 1-wire network giving just
the immediately useful values back.
One thing i have noticed is that the couplers are showing both branches are
live when i read them (cached or un-cached values), which the man pages say
is not allowed.
*"Is the branch ( 0=main or **1=aux ) currently connected to the master bus?
Value returned is 1 (yes) or 0 (no). The **DS2409 should not allow both to
be on simultaneously. "
*
Any ideas on why this is happening please?
# /opt/owfs/bin/owfs --version
/opt/owfs/bin/owfs version:
2.8p6
libow version:
2.8p6
My script output...
# ./tree.pl
/var/1wire/USB_Dongle2 (DS1420)
id = BFD02A000000
/var/1wire/Office_Hub2 (DS2409)
branch.ALL = 1,1
branch.0 = 1
branch.1 = 1
/var/1wire/Greenhouse_Hub2 (DS2409)
branch.ALL = 1,1
branch.0 = 1
branch.1 = 1
/var/1wire/Greenhouse_Hub2/main/Solar_Humidity (DS2438)
VAD = 2.08
VDD = 5.25
HIH3600/humidity = 40.4465
HIH4000/humidity = 39.1826
HTM1735/humidity = 38.9736
/var/1wire/Greenhouse_Hub2/main/Solar_Humidity/MultiSensor (MS-T)
/var/1wire/Greenhouse_Hub3 (DS2409)
branch.ALL = 1,1
branch.0 = 1
branch.1 = 1
/var/1wire/Greenhouse_Hub3/aux/Outdoor_Greenhouse (DS18S20)
temperature = 29.25
/var/1wire/Greenhouse_Hub3/aux/Greenhouse2 (DS18B20)
temperature = 35.9375
/var/1wire/Greenhouse_Hub3/aux/alarm/Outdoor_Greenhouse (DS18S20)
temperature = 29.25
/var/1wire/Greenhouse_Hub3/aux/alarm/Greenhouse2 (DS18B20)
temperature = 36
/var/1wire/Greenhouse_Hub3/main/Power_Switch (DS2406)
PIO.ALL = 1,0
/var/1wire/Office_Hub (DS2409)
branch.ALL = 1,1
branch.0 = 1
branch.1 = 1
/var/1wire/Office_Hub/aux/Shed (DS18S20)
temperature = 28.75
/var/1wire/Office_Hub/aux/alarm/Shed (DS18S20)
temperature = 28.75
/var/1wire/Office_Hub/main/Conservatory (DS18S20)
temperature = 27.375
/var/1wire/Office_Hub/main/Kitchen (DS18S20)
temperature = 23.4375
/var/1wire/Office_Hub/main/Office (DS18B20)
temperature = 23.5
/var/1wire/Office_Hub/main/alarm/Conservatory (DS18S20)
temperature = 27.375
/var/1wire/Office_Hub/main/alarm/Kitchen (DS18S20)
temperature = 23.4375
/var/1wire/Office_Hub/main/alarm/Office (DS18B20)
temperature = 23.5
/var/1wire/Office_Hub3 (DS2409)
branch.ALL = 1,1
branch.0 = 1
branch.1 = 1
/var/1wire/Greenhouse_Hub (DS2409)
branch.ALL = 1,1
branch.0 = 1
branch.1 = 1
/var/1wire/Greenhouse_Hub/main/Rain-Wind (DS2423)
counters.ALL = 17695808, 444147
LAN diagram (slightly out of date but you get the idea).
[image: 1-wire%20Lan%20v2.png]
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers