Hello,
Well I have found why it’s happening. I conclude owfs is not handling passive
devices correctly
So.. NOT in passive mode, i.e. all three legs of the temperature sensor
connected, and a 4.7k pull up on the data line, Both
/sys/bus/w1/DEVICE/temperature returns correct temperature. The same is true
for owserver, when owread is run the correct temperature is returned.
Now… I rewire the temperature sensor to two wires, GND pin and VDD pin shorted
to GND and the data pin with a 4.7k pullup to +3.3V.
So Passive mode, /sys/bus/w1/DEVICE/temperature returns correct temperature,
however owserver with owread return 85c, thus I would surmise that owserver is
not handing passive devices correctly.
Also /boot/config.txt has the correct definition in it.
dtoverlay=w1-gpio,gpiopin=4,pullup=on
I ran the test several times, rebooting each time. I also rewired the same
sensor each time!
John
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers