Re: [Owfs-developers] owserver does not print information according to --error_level setting

2015-11-06 Thread Martin Patzak (GMX)
On 11/06/2015 07:33 PM, Jan Kandziora wrote: Am 06.11.2015 um 16:32 schrieb Martin Patzak (GMX): Hello All, owserver version 2.9p8 does not print information set by --error_level and the use of --foreground or --debug --debug implies --foreground and --error_level settings, so no need to se

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Peter Hollenbeck
I'll do as you suggest on the splice. Thank you for your input. Peter On Fri, Nov 6, 2015 at 1:21 PM, Colin Reese wrote: > You're going to need a waterproof butt splice of some sort. I would > probably solder, heat shrink, and epoxy. Cable should be fine. Might as > well double up conductors, co

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Jan Kandziora
Am 06.11.2015 um 23:49 schrieb Colin Reese: > Twisted pairs will have higher capacitance than non-twisted pairs in Cat5. > The medium between non-twisted conductors is mixed - air and dielectric - > but will always be greater than the twisted pairs. > > So, comparing a twisted DQ/GND and DQ/GND co

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Jan Kandziora
Am 06.11.2015 um 23:35 schrieb Colin Law: > > What twisted pair does do is to reduce electromagnetic pickup. > Not for onewire. This only works for symetric drive, when both wires are a data+/data- line separate from ground. NOISE Symetric Receiver

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Colin Reese
Twisted pairs will have higher capacitance than non-twisted pairs in Cat5. The medium between non-twisted conductors is mixed - air and dielectric - but will always be greater than the twisted pairs. So, comparing a twisted DQ/GND and DQ/GND combination to a DQ/DQ and GND/GND twisted pair set, the

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Colin Law
On 6 November 2015 at 22:30, Jan Kandziora wrote: > Am 06.11.2015 um 23:15 schrieb Colin Reese: >> Pairing conductors eliminates capacitance problem. >> > No, it doesn't. You always have ground capacitance, the only way to > avoid that is separating the DQ wire from the ground wire as far as > pos

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Jan Kandziora
Am 06.11.2015 um 23:15 schrieb Colin Reese: > Pairing conductors eliminates capacitance problem. > No, it doesn't. You always have ground capacitance, the only way to avoid that is separating the DQ wire from the ground wire as far as possible by a medium with low epsilon_r. Pairing conductors

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Colin Reese
Pairing conductors eliminates capacitance problem. C > On Nov 6, 2015, at 2:01 PM, Jan Kandziora wrote: > >> Am 06.11.2015 um 22:11 schrieb Peter Hollenbeck: >> Ocean temperature at depth of about 5 feet. > In that case your concerns should be: > > * No flame retardants in the cable sheath. B

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Jan Kandziora
Am 06.11.2015 um 22:11 schrieb Peter Hollenbeck: > Ocean temperature at depth of about 5 feet. > In that case your concerns should be: * No flame retardants in the cable sheath. Because these are hygroscopic so seawater will make the sheath crumble. * UV resistance. Ground cable obviously has zer

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread George Hills
I ordered one of these: > Waterproof DS18B20 Digital temperature sensor > Where I want to measure is 170 feet from my RaspberryPi with 1wire interface. > Is this the right wire to buy: > http://cables4sure.com/200ft-cat5e-outdoor-above-ground-bulk-cable.html?gclid=CjwKEAiAvPGxBRCH3YCgpdbCtmYSJABq

Re: [Owfs-developers] 'strange' value reading /sensed.BYTE of a DS2408 (Martin Patzak (GMX))

2015-11-06 Thread Loren Amelang
On Fri, 06 Nov 2015 14:18:18 +0100, "Martin Patzak (GMX)" martin.pat...@gmx.de wrote: >> I cannot confirm Lorens numbers, but end up in the ballpark given by >> Stefano: >> >> mnm@vincent:~/M/_Linux/python/_mnms_tests$ python pyownet_timing.py >> //razmaban:4304 >> pyownet: ver. 0.8.2 >> (/usr/

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Colin Reese
You're going to need a waterproof butt splice of some sort. I would probably solder, heat shrink, and epoxy. Cable should be fine. Might as well double up conductors, could even use four conductors for ground if you wanted. C On Fri, Nov 6, 2015 at 1:11 PM, Peter Hollenbeck wrote: > Ocean tempe

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Peter Hollenbeck
Ocean temperature at depth of about 5 feet. On Fri, Nov 6, 2015 at 1:08 PM, Jan Kandziora wrote: > Am 06.11.2015 um 21:24 schrieb Peter Hollenbeck: > > I ordered one of these: > > Waterproof DS18B20 Digital temperature sensor > > > > Where I want to measure is 170 feet > > > What do you want to

Re: [Owfs-developers] Ocean Temperature

2015-11-06 Thread Jan Kandziora
Am 06.11.2015 um 21:24 schrieb Peter Hollenbeck: > I ordered one of these: > Waterproof DS18B20 Digital temperature sensor > > Where I want to measure is 170 feet > What do you want to measure? 170 feet seawater depth? Kind regards Jan ---

[Owfs-developers] Ocean Temperature

2015-11-06 Thread Peter Hollenbeck
I ordered one of these: Waterproof DS18B20 Digital temperature sensor Where I want to measure is 170 feet from my RaspberryPi with 1wire interface. Is this the right wire to buy: http://cables4sure.com/200ft-cat5e-outdoor-above-ground-bulk-cable.html?gclid=CjwKEAiAvPGxBRCH3YCgpdbCtmYSJABqHRVwlNENY

Re: [Owfs-developers] owserver does not print information according to --error_level setting

2015-11-06 Thread Jan Kandziora
Am 06.11.2015 um 16:32 schrieb Martin Patzak (GMX): > Hello All, > > owserver version 2.9p8 does not print information set by --error_level > and the use of --foreground or --debug > --debug implies --foreground and --error_level settings, so no need to set these. > > It only seems to print the

[Owfs-developers] a tiny Pythonic excursion

2015-11-06 Thread Martin Patzak (GMX)
Stefano, ok now I get it: in Python you can write the statement before the condition. Brilliant!!! all fruits and vegetables or more coconuts Martin P.S.

[Owfs-developers] owserver does not print information according to --error_level setting

2015-11-06 Thread Martin Patzak (GMX)
Hello All, owserver version 2.9p8 does not print information set by --error_level and the use of --foreground or --debug The commands are: owserver -d /dev/1-wire-link --error_level=3 --foreground owserver -d /dev/1-wire-link --debug --error_level=3 It only seems to print the version info

[Owfs-developers] switching from owfs to owserver and using owfs through owserver issues

2015-11-06 Thread Martin Patzak (GMX)
Hello All, I am going to switch over to owserver instead of using owfs. In a transition phase I wanted to use owfs through owserver, so existing software can continue to run using the fuse directory, while in background owserver is running already. After starting owserver, I started owfs wit

Re: [Owfs-developers] 'strange' value reading /sensed.BYTE of a DS2408 (Stefano Miccoli)

2015-11-06 Thread Martin Patzak (GMX)
On 11/06/2015 02:13 PM, Stefano Miccoli wrote: For the ‘ it was cut and paste but my mail likes to ameliorate my mail and distinguish between opening and closing quotes, Ok, I see Please find the program snippet at https://gist.github.com/miccoli/3df5e84624b50cb070de I run the program wit

Re: [Owfs-developers] 'strange' value reading /sensed.BYTE of a DS2408 (Stefano Miccoli)

2015-11-06 Thread Martin Patzak (GMX)
On 11/06/2015 01:01 PM, Martin Patzak (GMX) wrote: On 11/06/2015 02:26 AM, Loren Amelang wrote: On Thu, 05 Nov 2015 13:02:13 +0100, Stefano miccolimo...@icloud.com wrote: ... pyownet: ver. 0.8.2 proxy_obj: ownet server at ('10.48.74.112', 4304) server info: pid 2662, ver. unknown timeit:

Re: [Owfs-developers] 'strange' value reading /sensed.BYTE of a DS2408 (Stefano Miccoli)

2015-11-06 Thread Stefano Miccoli
For the ‘ it was cut and paste but my mail likes to ameliorate my mail and distinguish between opening and closing quotes, Please find the program snippet at https://gist.github.com/miccoli/3df5e84624b50cb070de I run the program with python3, where ‘print’ is a function, so the conditional exp

Re: [Owfs-developers] 'strange' value reading /sensed.BYTE of a DS2408 (Stefano Miccoli)

2015-11-06 Thread Martin Patzak (GMX)
the error pointer is under the letter t of the statement print: mnm@vincent:~/M/_Linux/python/_mnms_tests$ python pyownet_run_out_of_sockets.py File "pyownet_run_out_of_sockets.py", line 13 None if i % freq else print('Iteration {}'.format(i)) ^ SyntaxError:

Re: [Owfs-developers] 'strange' value reading /sensed.BYTE of a DS2408 (Stefano Miccoli)

2015-11-06 Thread Martin Patzak (GMX)
Stefano, I wanted to try your program, but I get an error message: mnm@vincent:~/M/_Linux/python/_mnms_tests$ python pyownet_run_out_of_sockets.py File "pyownet_run_out_of_sockets.py", line 13 None if i % freq else print('Iteration {}'.format(i)) ^ SyntaxErr

Re: [Owfs-developers] 'strange' value reading /sensed.BYTE of a DS2408 (Stefano Miccoli)

2015-11-06 Thread Martin Patzak (GMX)
On 11/06/2015 02:26 AM, Loren Amelang wrote: On Thu, 05 Nov 2015 13:02:13 +0100, Stefano Miccoli mo...@icloud.com wrote: ... pyownet: ver. 0.8.2 proxy_obj: ownet server at ('10.48.74.112', 4304) server info: pid 2662, ver. unknown timeit: statement: proxy_obj.dir("/") number: 20 repetitions:

Re: [Owfs-developers] 'strange' value reading /sensed.BYTE of a DS2408 (Stefano Miccoli)

2015-11-06 Thread Stefano Miccoli
A proxy object with 'persistent=False'will bind and destroy a socket for each call to the owserver. (If you call 'netstat -t’ after the timing test you will see hundreds of lines like tcp0 0 localhost:45494 localhost:4304 TIME_WAIT which is the debris that remains af