[Owfs-developers] Temperature-Sensors show mixed power states

2010-12-07 Thread Martin Patzak (GMX)
Hello to all owfs-developers, First of all I am very pleased with the all the work you must have put in, to bring owfs to such a mature development state. I am using owfs, 1-wire, mblogic and self-written software for the heating system of my house. There is a wood-burning oven, that heats water,

Re: [Owfs-developers] Temperature-Sensors show mixed power states

2010-12-09 Thread Martin Patzak (GMX)
Hello Paul, is there a way I can test the "Skip ROM" option you mention? I found this in the DS18B20 Datasheet on page 5: In some situations the bus master may not know whether the DS18B20s on the bus are parasite powered or powered by external supplies. The master

Re: [Owfs-developers] Temperature-Sensors show mixed power states

2010-12-09 Thread Martin Patzak (GMX)
Thanks Bill, yes, I knew about the power supply, but it was unclear to me how to determine the overall power-consumption of all the slaves on the bus. I found the maximum current for a DS18B20 being active is 1.5mA - with 15 (at the moment) this would be 22.5mA. So far so good. But for the DS2

Re: [Owfs-developers] What do I need to run basic temperature measurement on Ubuntu 10.04?

2010-12-09 Thread Martin Patzak (GMX)
Hi Chris, here is my list of howto install owfs on Debian lenny. There is also documentation on owfs.org on installing. I am using the LINK USB module, which internally acts a a serial interface, so you have to change those parts to your needs with the DS9490R which is a USB-interface (again doc

Re: [Owfs-developers] What do I need to run basic temperature measurement on Ubuntu 10.04?

2010-12-10 Thread Martin Patzak (GMX)
yes Chris, I remember now, you did mention that. But, I have written this list a while ago and actually for myself (thats what it meant when I was writing: "here is my list..."), in case I had to install it on a different PC other than "bubblenet" (name of the PC), not knowing about nor your ex

Re: [Owfs-developers] would like opinions on how best to design something

2011-12-13 Thread Martin Patzak (GMX)
Hi Mick, I'm also running a heating system with owfs and 1-wire, some perl and python scripts and MB-Logic as HMI. I have a wood-burning oven with 18kW heating water in a 800l buffer. Then this water is mixed down to a lower temperature for each heating circuit: a floor-heating-circuit and a r

Re: [Owfs-developers] would like opinions on how bestto design something

2011-12-15 Thread Martin Patzak (GMX)
Hello Ziuras, Yes, I can. I will contact you directly, because it is not of interest for the OWFS group! On 12/14/2011 08:11 AM, ziuras wrote: > can you share your software (perl and/or python scripts) for mixing valves. > > > Then this water is mixed down to a lower > temperature for each hea

[Owfs-developers] mixer control scripts

2011-12-17 Thread Martin Patzak (GMX)
Hello Paul, if you think it is of general interest to the group, I am posting our messages here: Hello Ziuras (assuming its your first name), here are three scripts, that I use for controlling parts of my heating system. datacollect - nomen est omen: collects sensor data and writes it in

Re: [Owfs-developers] owfs on Raspi running Raspian wheezy

2012-09-25 Thread Martin Patzak (GMX)
I wonder, if someone managed to get a LinkUSB working stable on a raspi. I tried different permutations of power-supply and hubs and was not yet successful for a longer time period. My 1wire-net is stable for years now on the PC. I use a LinkUSB as bus-master and run a powered network of about

Re: [Owfs-developers] owfs on Raspi running Raspian wheezy

2012-09-25 Thread Martin Patzak (GMX)
call this a small success. The next step will be to find a powered hub, that works with the raspi and a usb-network-stickl - maybe wifi, lets see. I want to thank this group and Patryk in particular! Cheers, Martin On 09/25/2012 09:46 AM, Martin Patzak (GMX) wrote: > I wonder, if some

Re: [Owfs-developers] owfs on Raspi running Raspian wheezy

2012-09-25 Thread Martin Patzak (GMX)
, I have to check. On 09/25/2012 05:21 PM, Martin Patzak (GMX) wrote: > ...so, Patryks mail gave me the idea to unplug and disable the onboard > ethernet and hook up a monitor with HDMI and usb-keyboard again. > > Besides the fact, that the power-consumption decreased by 0.03mA at 5

Re: [Owfs-developers] Where to find low cost voltage (and maybe current) sensors for one-wire?

2012-09-25 Thread Martin Patzak (GMX)
depends where you live. I get mine from http://www.fuchs-shop.com/ They deliver the whole of Europe! On 09/25/2012 06:33 PM, Chris Green wrote: > I'm looking to expand my one-wire based monitoring system which current > tells me the temperatures on our boat. I want to add some battery > voltage m

Re: [Owfs-developers] Where to find low cost voltage (and maybe current) sensors for one-wire?

2012-09-25 Thread Martin Patzak (GMX)
regarding the current measurement: you could use the this guy here ACS712: http://www.allegromicro.com/Products/Current-Sensor-ICs/Zero-To-Fifty-Amp-Integrated-Conductor-Sensor-ICs/~/media/Files/Datasheets/ACS712-Datasheet.ashx it can measure up to 30A and only needs 5V supply voltage. Then you

Re: [Owfs-developers] Where to find low cost voltage (and maybe current) sensors for one-wire?

2012-09-26 Thread Martin Patzak (GMX)
5, Chris Green wrote: > >> On Tue, Sep 25, 2012 at 08:07:26PM +0200, Martin Patzak (GMX) wrote: >>> On 09/25/2012 06:33 PM, Chris Green wrote: >>>> I'm looking to expand my one-wire based monitoring system which current >>>> tells me the temperatu

Re: [Owfs-developers] Where to find low cost voltage (and maybe current) sensors for one-wire?

2012-09-26 Thread Martin Patzak (GMX)
again look at fuchs-shop.com there is follow-up model: the DS2438Z: http://www.fuchs-shop.com/en/shop/5/1/13372032/ again, buy only the bare chip! You can hardly get any cheaper than this On 09/25/2012 11:23 PM, Chris Green wrote: > On Tue, Sep 25, 2012 at 10:14:13PM +0100, Chris Green wrote:

Re: [Owfs-developers] owfs on Raspi running Raspian wheezy

2012-09-26 Thread Martin Patzak (GMX)
onboard USB is stable, if you disable the onboard ethernet (and maybe remove the cable). I bought a new powered usb-hub and a couple of USB-wifi-adapters and see how that goes... On 09/25/2012 05:30 PM, Martin Patzak (GMX) wrote: > oddly enough, I still get the occasional error about once every h

Re: [Owfs-developers] Where to find low cost voltage (and maybe current) sensors for one-wire?

2012-09-26 Thread Martin Patzak (GMX)
no worries! > Yes, you're quite right, I didn't find the bare components when I looked > at www.fuchs-shop.com before, they're all listed under 'components'. > > Thanks for keeping with me! :-) > -- Live Security Virtual

Re: [Owfs-developers] owfs on Raspi running Raspian wheezy

2012-09-27 Thread Martin Patzak (GMX)
On 09/26/2012 12:51 PM, patryk wrote: > > I think there is a general usb driver problem on Raspi. Google the > "Elephant in the room" topic on Raspi forum. I think there are some > improvments. My 3G modem started to work after one of the updates but > maybe winter will come before it's fixed for

Re: [Owfs-developers] owfs on Raspi running Raspian wheezy

2012-10-18 Thread Martin Patzak (GMX)
Hello Raspberians, finally the raspi is working absolutely rock solid stable with LinkUSB and on latest wheezy libraries and firmware! The situation: Once in a while the raspi pi showed Errors in log: smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x0114 (hours to days, that did dep

Re: [Owfs-developers] simulation mode, some thoughts

2012-11-02 Thread Martin Patzak (GMX)
Hello Sven, I had the same problem. In order to test my ongoing software-development for my house-heating-system, I needed a complete identical 1wire-structure of my existing system. This way I can test without horsing things up! Since I use only the fuse-filesystem to read and write to 1wire,

Re: [Owfs-developers] Problems to switch PIO on DS2408

2012-11-03 Thread Martin Patzak (GMX)
Hello Silvio, did you alread try to write directly to the fuse-filesystem? I set outputs manually by first changing directory into the appropriate DS2408 in the terminal and echoing the valu to the PIO file with: mnm@razmataz /mnt/1wire/29.646C0800 $ echo "1" > PIO.0 queering the PIO after

Re: [Owfs-developers] Problems to switch PIO on DS2408

2012-11-03 Thread Martin Patzak (GMX)
I briefly had owfs setup on my router (owfs 2.8p4 using backfire and the LinkUSB adapter) and I did not run across irregularities like this, as far as I remember. I can hook up my 1wire-bus to my router tomorrow and test again if it helps. Just let me know. Martin On 11/03/2012 02:02 PM, Sil

Re: [Owfs-developers] Raspberry pi running Raspbian and owfs

2012-11-04 Thread Martin Patzak (GMX)
Yes I have to agree: owfs runs fine out of the box, but the combined Ethernet and USB chip on the raspi makes some trouble. After a while of experimenting I found a solution to a stable setup which I elaborate a bit on in my post from 10/18/2012 with the topic "owfs on Raspi running Raspian whe

Re: [Owfs-developers] Problems to switch PIO on DS2408

2012-11-04 Thread Martin Patzak (GMX)
Silvio, I did use the standard package! Maybe you can start owfs in foreground-mode and set the error-level higher. This way you can compare the bus-communication happening when setting one bit vs. the whole byte! On 11/04/2012 09:57 AM, Silvio Schmieder wrote: > > @ Martin: > Did you use th

Re: [Owfs-developers] Owfs-developers Digest, Vol 78, Issue 4

2012-11-04 Thread Martin Patzak (GMX)
Hello Colin, nice web-page! Too bad I can't access the webcam :( Greetings to Wales, Martin On 11/04/2012 11:22 AM, Colin Tinker wrote: > I have had owfs running with a USB adapter since I got my pi back in June. I > have had only one crash in all that time, I use the version from > the owfs

Re: [Owfs-developers] Problems to switch PIO on DS2408

2012-11-04 Thread Martin Patzak (GMX)
AM, Martin Patzak (GMX) wrote: > Silvio, > > I did use the standard package! > > Maybe you can start owfs in foreground-mode and set the error-level > higher. This way you can compare the bus-communication happening when > setting one bit vs. the whole byte! > > > &g

Re: [Owfs-developers] Problems to switch PIO on DS2408

2012-11-04 Thread Martin Patzak (GMX)
I did start owfs in debug mode and logged both commands: echo "1" > PIO,0 and echo "1" > PIO.BYTE BOTH return an error in the end: DEBUG: ow_write.c:FS_write_postparse(194) Error writing to /29.646C0800/PIO.0 DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /29.646C0800/PIO.0

Re: [Owfs-developers] Problems to switch PIO on DS2408

2012-11-04 Thread Martin Patzak (GMX)
8.3.html#toc8> > > /read-write,/ yes-no > RSTZ Pin Mode Control. Configures RSTZ as either RST input or STRB output: > > 1. //configured as RST input (default) > 2. //configured as STRB output > > Rgds, > -Romain BOURDY > > > > On Sun, Nov 4, 2012 at 11:51

Re: [Owfs-developers] Problems to switch PIO on DS2408

2012-11-04 Thread Martin Patzak (GMX)
I did repeat the test on the raspi. I do realize I am running a newer version on the raspi, so the logs might not be comparable, but nevertheless I did attach them. I hope it will shed some light on the problem at hand! Cheers, Martin On 11/04/2012 12:08 PM, Martin Patzak (GMX) wrote: I

Re: [Owfs-developers] Problems to switch PIO on DS2408

2012-11-05 Thread Martin Patzak (GMX)
I confirm. Furthermore is interesting, that when e.g. switching Bit 0 with PIO.BYTE setting to "1" the PIO.0 does NOT get updated as it normally is the case; it stays on "0"! On 11/05/2012 09:49 AM, Silvio Schmieder wrote: > > Yes, exactly. If I send the correct BYTE value how I wrote in post b

Re: [Owfs-developers] Problems to switch PIO on DS2408

2012-11-05 Thread Martin Patzak (GMX)
and it does switch the correct outputs. So there is no big-little-endian-mixup at this particular point! On 11/05/2012 12:32 PM, Silvio Schmieder wrote: > > Yes, if you read a single PIO the state is always '0', but reading PIO.BYTE > shows the correct BYTE value. > > &g

Re: [Owfs-developers] simulation mode, some thoughts

2012-11-05 Thread Martin Patzak (GMX)
ven Geggus wrote: > "Martin Patzak (GMX)" wrote: > >> So, I did not use fake-mode at all. I am not even running owfs on my >> test-machine. Again it only works if you use the fuse-filesystem! > > Unfortunately not applicable to my use-case. I'm currently using the

Re: [Owfs-developers] Raspberry pi running Raspbian and owfs

2012-11-15 Thread Martin Patzak (GMX)
Hi PeO, for starting owserver, refer to the man page - the example there is: EXAMPLE owserver -p 3001 -d /dev/ttyS0 runs owserver on tcp port 3001 and connects to a physical 1-wire bus on a serial port. So there is no need for an init.d script. My latest version of owfs is 2.8p15 runni

Re: [Owfs-developers] Raspberry pi running Raspbian and owfs

2012-11-15 Thread Martin Patzak (GMX)
s yet. > > I downloaded 2012-10-28 -wheezy-raspian.zip torrent and by login it states > "Linux raspberrypi 3.2.27+". > > /PeO > > > - Original Message - > From: "Martin Patzak (GMX)" > To: "OWFS (One-wire file system) discussion and help&q

Re: [Owfs-developers] Voltage sensor

2012-12-04 Thread Martin Patzak (GMX)
Silvano, as Google is my friend, it can be Yours too! Look what I found: http://ruggedcircuits.com/html/circuit__26.html Hope it helps, Martin On 12/04/2012 06:08 PM, Silvano Gai wrote: > I need to sense the presence of AC power (110 Volts) in six different > places. > Any 1Wire sensor recom

Re: [Owfs-developers] Voltage sensor

2012-12-05 Thread Martin Patzak (GMX)
lost in temperature! > use a two caps divider and a lower resistence > > > 2012/12/5 Martin Patzak (GMX) <mailto:martin.pat...@gmx.de>> > > Silvano, > > as Google is my friend, it can be Yours too! > > Look what I found: > > http://rug

[Owfs-developers] OWFS on tmpfs

2013-01-06 Thread Martin Patzak (GMX)
Hallo all, I am trying to run OWFS on tmpfs, but I do not succeed. I created a mount entry in fstab: tmpfs /mnt/1wire tmpfs nodev,nosuid,size=3M,uid=1004,gid=1005 0 0 the uid and gid are the ones of my own user then I mount and can check the success with df -k which list /mnt/1wire as a tmpfs

Re: [Owfs-developers] OWFS on tmpfs

2013-01-06 Thread Martin Patzak (GMX)
I see! Thanks Chris for the quick reply!!! Btw. what does HTH mean? Martin -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current

Re: [Owfs-developers] OWFS on tmpfs

2013-01-06 Thread Martin Patzak (GMX)
got it: HTH - hope that helps YID - yes, it did -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 ste

Re: [Owfs-developers] OWFS + W1 on Raspberry Pi

2013-02-16 Thread Martin Patzak (GMX)
Hello Attila, what kind of USB master did you use? I am using the LinkUSBi and it is working very stable for more than 3 months on end (24/7). I did post some settings I did to the raspi to make it more stable, and I can 'dig out' those old posts here, in case you can't find them. However thin

Re: [Owfs-developers] OWFS + W1 on Raspberry Pi

2013-02-17 Thread Martin Patzak (GMX)
yes, I use a powered hub from the list of complient powered hubs. The layout on the raspi circuit board for power supply of the usb is not that good. So you loose quite some voltage on the printed circuits. Hence the recommendation to use a powered usb hub. It is possible and safe to use the sa

Re: [Owfs-developers] OWFS + W1 on Raspberry Pi

2013-02-17 Thread Martin Patzak (GMX)
Yes, Rev 2.0 has neither polyfuses nor resistors! Read here http://elinux.org/RPi_Hardware under Power back-powering The voltage with 4.84V is at the rather low end. Definitely try a powered USB-hub first. In your case I would upgrade too, to take advantage of the modifications to the USB commu

Re: [Owfs-developers] Monitoring AC power lines

2013-05-24 Thread Martin Patzak (GMX)
Hi Giulio, a simple solution would be, if you use a current sensor based on the hall effect priciple. This type of sensor gives you a voltage proportional to the current, which in return can be monitored a 1wire voltage sensor. Those sensors can monitor quite high currents (up to 200A), but I

Re: [Owfs-developers] problem with owfs/owserver on raspberry pi

2013-06-10 Thread Martin Patzak (GMX)
if one creates a directory "1-wire" with ones username group and permissions to read and write sudo should not be necessary. Maybe you didn't create a directory for the fuse-system at all? Martin On 06/10/2013 10:32 AM, Mick Sulley wrote: Have you tried running with sudo, that is usually necess

Re: [Owfs-developers] problem with owfs/owserver on raspberry pi

2013-06-10 Thread Martin Patzak (GMX)
error messages go to syslog, unless you specify --foreground (I hope its written right, check the man page please), in which case you get all message directly to the terminal and the terminal stays connected to the daemon. error-level=9 delivers a LOT of messages! Try a lower number like 2 or 3

Re: [Owfs-developers] problem with owfs/owserver on raspberry pi

2013-06-10 Thread Martin Patzak (GMX)
understand why I am not seeing any error output at all. Thanks again! --Mark On Mon, Jun 10, 2013 at 5:55 AM, Martin Patzak (GMX) mailto:martin.pat...@gmx.de>> wrote: error messages go to syslog, unless you specify --foreground (I hope its written right, check the man page ple

Re: [Owfs-developers] Fwd: problem with owfs/owserver on raspberry pi

2013-06-15 Thread Martin Patzak (GMX)
Hello Mark, I did not forget about you :-) It is early Saturday morning here ;-) When I start owfs without the LinkUSB plugged in I also get no feedback and there is no daemon started, so I suspect this is the problem - or one of them:-) On 06/15/2013 05:36 AM, Mark Phillips wrote: > Martin, >

Re: [Owfs-developers] problem with owfs/owserver on raspberry pi

2013-06-16 Thread Martin Patzak (GMX)
Paul, thats a good idea. It really helps when people just get started or change hardware. I tried to find Mark's error, and so I started owfs while my LinkUSB was unplugged and I got the same result he had: no error and no daemon was started! So I barked up the wrong tree, until you pointed o

Re: [Owfs-developers] Data Display

2013-08-05 Thread Martin Patzak (GMX)
Ryan, I use MBLogic to display my home heating system. I display the data of different 1-wire devices via html in a process view. To generate the html-code I use it's built-in and customizable html-page generator. I display tempera

Re: [Owfs-developers] Need a new adaptor. Some thoughts?

2013-09-29 Thread Martin Patzak (GMX)
Bruce, a Shop with a wide selection for 1-wire chips is: http://www.fuchs-shop.com/en/shop/17/ I use the LinkUSB and I am very happy with it. I run a powered network of about 15 temp-sensors and 3 IO-chips, which is driving my home heating system. Cheers Martin On 09/28/2013 07:37 PM, bruc

Re: [Owfs-developers] Need a new adaptor. Some thoughts?

2013-09-29 Thread Martin Patzak (GMX)
issing the native usb interface. Hope the members with low level programming experience will confirm/debate that the 2480 is same level as 2490. all best, Vajk On Sun, Sep 29, 2013 at 9:18 AM, Martin Patzak (GMX) mailto:martin.pat...@gmx.de>> wrote: Bruce, a Shop with a wide

Re: [Owfs-developers] Failing DS1820

2013-10-04 Thread Martin Patzak (GMX)
You measure down to 3 degrees and deeper? So could humidity over time have created corrosion in the connection of the sensor? On 10/04/2013 08:28 AM, Håkan Elmqvist wrote: It is buspowered with Vdd pin grounded and has worked properly for about two years. There are only two branches, 4 sensors

Re: [Owfs-developers] Cannot detect LinkUSBi

2013-11-09 Thread Martin Patzak (GMX)
Willard, please show us the log, while you plug in the LinkUSB into your machine! Maybe your ttyUSB0 is already taken by a different device? Martin On 11/09/2013 11:12 PM, Willard Korfhage wrote: I am rebuilding a machine that ran owfs, so I installed Ubuntu 12.04, then downloaded owfs 2.9p1 a

Re: [Owfs-developers] Cannot detect LinkUSBi

2013-11-11 Thread Martin Patzak (GMX)
Have you tried to disconnect the 1-wire network and connect only to the LinkUSB itself? Sometimes wiring-problems, defective sensors and other hardware related problems (like humidity) can cause weird behavior. On 11/11/2013 07:04 AM, Willard Korfhage wrote: Doesn't help, I'm afraid. Here's t

Re: [Owfs-developers] unruly temperatures

2014-09-13 Thread Martin Patzak (GMX)
I would check, if the raw data, read from the owfs show that effect or if it gets introduced later. In any case it looks like a software bug to me - I could be wrong, but I don't think so ;o) Think about what changes you made since your last running system without the effect. Martin On 09/1

Re: [Owfs-developers] unruly temperatures

2014-09-14 Thread Martin Patzak (GMX)
18b20), now i connect it to ground. Nico Martin Patzak (GMX) wrote: I would check, if the raw data, read from the owfs show that effect or if it gets introduced later. In any case it looks like a software bug to me - I could be wrong, but I don't think so ;o) Think about what changes you

Re: [Owfs-developers] Problems with building 2.9p4 none while building the 2.9p3 release

2014-12-10 Thread Martin Patzak (GMX)
Gregg, you might want to think about installing Slackware on the RasPi first. See here: http://rpi.fatdog.eu/ or here: http://docs.slackware.com/howtos:hardware:arm:raspberrypi (this is of course as I know as well as everybody, you are more familiar with Slackware, where everything is normall

Re: [Owfs-developers] Is the owserver working?

2015-05-17 Thread Martin Patzak (GMX)
start owserver with setting the error-level higher... On 05/17/2015 08:52 PM, Henry wrote: ... the same result... but 7 minutes!!! root@RASPBERRY-3:/usr/src/owfs-3.0p2> date ; owdir / ; date Вск Май 17 20:42:58 EET 2015 /20.95670E00 /28.FF78011B0400 /28.FF2401630400 /28.FF26C3121400 /28.

Re: [Owfs-developers] owserver don't detect the ds2482s-800 anymore

2015-10-04 Thread Martin Patzak (GMX)
Great! As they say: Don't drink and solder! Cheers, Martin On 10/04/2015 04:25 PM, Nico Bouthoorn wrote: Ordered a new ds2482-800 chip, didn't drink the night before and replaced/soldered the chip.All is working normally again... Nico Nico Bouthoorn wrote: I've compile the 3.1 version

[Owfs-developers] 'strange' value reading /sensed.BYTE of a DS2408

2015-10-30 Thread Martin Patzak (GMX)
Hello All, I am experiencing 'strange' readings from a DS2408. Every once in a while (that is about once a day, with reading the*sensed.BYTE* folders once a second - so its rather rare) the value read from one of the *DS2408* is *553 *where it should be *between 0 and 255. *Is this some 'sp

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

2015-11-04 Thread Martin Patzak (GMX)
*sensed.BYTE* from once a day to several times a minute. It looks like reading the owfs-file *sensed.BYTE* in python 2.7 is not an atomic function!?! Any thoughts? Cheers, Martin On 10/30/2015 08:23 AM, Martin Patzak (GMX) wrote: Hello All, I am experiencing 'strange' readings fro

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

2015-11-04 Thread Martin Patzak (GMX)
On 11/04/2015 02:02 PM, Jan Kandziora wrote: > Am 04.11.2015 um 12:32 schrieb Martin Patzak (GMX): >> while further investigating the problem it looks like this: >> >> the value of sensed.BYTE toggles between *55* (00110111) and *183* >> (10110111) for quite a while

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

2015-11-04 Thread Martin Patzak (GMX)
On 11/04/2015 03:17 PM, Jan Kandziora wrote: In that case, your problem is not related to owfs, but to concurrent writing/reading a file. If you read a simple text file which is written by another process at the same time as you read it you get exactly the same problem. ok, that explains it.

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

2015-11-04 Thread Martin Patzak (GMX)
Stefano, thanks for bringing pyownet to my attention. I definitely will try it out. On 11/04/2015 03:56 PM, Stefano Miccoli wrote: Minimal instruction for use are >>>from pyownet import protocol >>>owproxy = protocol.proxy(host="server.example.com ", port=43

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

2015-11-04 Thread Martin Patzak (GMX)
On 11/04/2015 04:16 PM, Jan Kandziora wrote: > Am 04.11.2015 um 15:56 schrieb Stefano Miccoli: >> I would not blame python, nor owfs, but fuse. >> > Not, it's not fuse. > > It's because read() is *not atomic*. As soon you read multi-byte values > from files -such as files whioch contain an ASCII

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

2015-11-05 Thread Martin Patzak (GMX)
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: 5 ** non persistent : 1.29 ms, 1.30 ms, 1.30 ms, 1.33 ms, 1.36 ms, ** persistent : 0.77 ms, 0.77 ms, 0.79 ms, 0.

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 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)
^ SyntaxError: invalid syntax On 11/06/2015 01:10 PM, Martin Patzak (GMX) wrote: 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

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. unkno

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

2015-11-06 Thread Martin Patzak (GMX)
readable at all to me. None if i % freq else print('Iteration {}'.format(i)) On 06 Nov 2015, at 13:10, Martin Patzak (GMX) <mailto:martin.pat...@gmx.de>> wrote: Stefano, I wanted to try your program, but I get an error message: mnm@vincent:~/M/_Linux/python/

[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

[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] a tiny Pythonic excursion

2015-11-06 Thread Martin Patzak (GMX)
Martin P.S. one more (and last) apology to the owfs list On 11/06/2015 02:33 PM, Martin Patzak (GMX) wrote: 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

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

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

2015-11-07 Thread Martin Patzak (GMX)
On 11/06/2015 10:25 PM, Loren Amelang wrote: > ... > > It takes a similar 49 mS for owhttpd to respond to the first GET for its web > page. About 2.2 seconds to GET a temperature sensor, I guess that triggers > uncached readings of my two sensors. to prevent updating temperatures while testi

Re: [Owfs-developers] Ocean Temperature

2015-11-07 Thread Martin Patzak (GMX)
Thanks Jan, that is an excellent explanation! This is the reason why my plain telephone cable works so well for my network. Martin On 11/07/2015 12:33 AM, Jan Kandziora wrote: Am 06.11.2015 um 23:35 schrieb Colin Law: What twisted pair does do is to reduce electromagnetic pickup. Not for

Re: [Owfs-developers] Ocean Temperature

2015-11-07 Thread Martin Patzak (GMX)
Peter, we used to make our splices ourselves, to adapt them to our special needs and to avoid any connectors whatsoever. In aggressive enviroment like seawater we would use stainless tubing to encase the splicing as well as to house the sensor itself. Then we did fill the tube with 2 componen

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

2015-11-09 Thread Martin Patzak (GMX)
On 11/07/2015 04:56 PM, Jan Kandziora wrote: > > --debug is the same as "--foreground --error_level=9" > > See module/owlib/src/c/ow_opt.c:733ff ok, I see > > That's the output when debug support wasn't selected at compile time. ok, that added to my confusion a bit > > >>> You are using a build w

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

2015-11-09 Thread Martin Patzak (GMX)
On 11/07/2015 10:27 PM, Loren Amelang wrote: > On Sat, 07 Nov 2015 09:21:43 +0100 > "Martin Patzak (GMX)" martin.pat...@gmx.de wrote: > >> why don't you try and run Stefanos timing program directly on your >> Beagle and see what timing you get there > Po

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

2015-11-09 Thread Martin Patzak (GMX)
Loren, thanks for your efforts, but in a previous version of owfs the error logging worked fine for me too. It is like Jan said, it is build without or too little debug information. Martin -- Presto, an open source d

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

2015-11-09 Thread Martin Patzak (GMX)
On 11/09/2015 02:29 PM, Jan Kandziora wrote: > Am 09.11.2015 um 09:26 schrieb Martin Patzak (GMX): >> Depending on your built and packaging the --debug option may merely >> print a DEBUG statement, but not actually do any debugging. >> > Really, I don't know why

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

2015-11-09 Thread Martin Patzak (GMX)
cool! I like it ;o) On 11/09/2015 02:53 PM, Jan Kandziora wrote: Am 09.11.2015 um 09:26 schrieb Martin Patzak (GMX): To recap: the debian package for owfs and owserver does not honor --debug option, but merely prints a DEBUG statement in the beginning owfs does print error-level information of

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

2015-11-09 Thread Martin Patzak (GMX)
object creation and then cached in the proxy object. In ownet , on the contrary, if you specify a domain name instead of an IP number, the DNS is queried at each owserver query.) S.M. On 07 Nov 2015, at 22:27, Loren Amelang <mailto:lo...@pacific.net>> wrote: On Sat, 07 Nov 20

Re: [Owfs-developers] Raspberry pi 2, owserver

2015-12-27 Thread Martin Patzak (GMX)
debian / raspian / bananian 'upgrading' to owfs 3.1p0 on jessie: since owfs 3.1p0 is not available on jessie, one can manually install the new packages by respecting the dependancies: (take the following instructions at your own risk! And kids: don't do this at home or on a production system)

Re: [Owfs-developers] Getting simultaneous to work (and other)

2016-01-07 Thread Martin Patzak (GMX)
On 01/07/2016 10:11 AM, Stefano Miccoli wrote: On 06 Jan 2016, at 12:32, Henrik Östman wrote: And that's it. Just one thread to not confuse the bus and the good thing is that I no longer experience the "found 0 devices"-problem I had before when running multiple thread and doing a bus scan

Re: [Owfs-developers] Getting simultaneous to work (and other)

2016-01-08 Thread Martin Patzak (GMX)
On 01/08/2016 01:07 AM, Stefano Miccoli wrote: On 07 Jan 2016, at 14:45, Martin Patzak (GMX) <mailto:martin.pat...@gmx.de>> wrote: I am using the pyownet library to communicate to a local owserver. I have 25 temp-sensors and 2 io 2408 modules on one powered bus with an usb-link

Re: [Owfs-developers] Getting simultaneous to work (and other)

2016-01-08 Thread Martin Patzak (GMX)
On 01/08/2016 02:26 AM, Jan Kandziora wrote: > Am 08.01.2016 um 01:07 schrieb Stefano Miccoli: >> I agree: since owserver is multi-threaded by design there is nothing >> wrong with multiple client tasks/threads accessing it concurrently. >> One should just avoid clogging the server wit an excessi

Re: [Owfs-developers] Getting simultaneous to work (and other)

2016-01-08 Thread Martin Patzak (GMX)
On 01/08/2016 06:51 AM, Cornie Malan wrote: Referring to the following in multi-client environment: "If I got it right, when owserver returns from the write to /simultaneous/temperature, fresh temp values can be read from the cache. If you read from /uncached, you trigger a fresh c

Re: [Owfs-developers] Louis Swart LCD issues

2016-04-06 Thread Martin Patzak (GMX)
On 04/06/2016 09:43 AM, Andy Carter wrote: >> The fact that a lot of distros lags behind is another problem though.. > debian stable particularly in my case which many use with perl based fhem :/ true, but you can easily install a newer version of owfs manually. I did so a while ago myself and wr

Re: [Owfs-developers] Concurrency issues?

2016-05-24 Thread Martin Patzak (GMX)
On 05/24/2016 07:01 PM, Andy Carter wrote: > You are not alone wishing for an up to date debian/raspbian version, > however the various parts of 3.1p1-5 owfs are available from > http://archive.raspbian.org/raspbian/pool/main/o/owfs/ Hey Andy, thanks for the link! Cheers Martin ---

Re: [Owfs-developers] Release plans for next version?

2016-07-20 Thread Martin Patzak (GMX)
Is there an overview over the changes? I am specifically interested in Johan Ströms improvements for the LinkUSB Master. Will this be available as a Debian package before autumn? Cheers, Martin On 07/20/2016 02:26 PM, Jan Kandziora wrote: Am 20.07.2016 um 13:48 schrieb Tomasz Torcz: Is

Re: [Owfs-developers] Release plans for next version?

2016-07-20 Thread Martin Patzak (GMX)
documentation of the changes, how do I access this? I cannot find owfs on git - I must be blind? Thanks, Martin On 07/20/2016 03:32 PM, Martin Patzak (GMX) wrote: Is there an overview over the changes? I am specifically interested in Johan Ströms improvements for the LinkUSB Master. Will this be

Re: [Owfs-developers] Release plans for next version?

2016-07-20 Thread Martin Patzak (GMX)
ah, very smooth! Thanks a LOT!!! On 07/20/2016 05:06 PM, Tomasz Torcz wrote: On Wed, Jul 20, 2016 at 04:52:44PM +0200, Martin Patzak (GMX) wrote: I wanted to add: I ask this not because I am too lazy to search, but all I found was this, which is rather old: http://owfs.org/index.php?page

Re: [Owfs-developers] owfs is DISABLED

2016-07-25 Thread Martin Patzak (GMX)
you just need to add write permission for your user or group to that directory to have the log written successfully, and NO, NEVER build as superuser, like Jan already emphasized! On 07/25/2016 07:59 PM, Mick Sulley wrote: OK, so do I need to change a permission or do I need to run as sudo?

Re: [Owfs-developers] owfs is DISABLED

2016-07-25 Thread Martin Patzak (GMX)
who else thinks the following should find it's way onto the owfs web-site? > BY THE WAY, why are you compiling yourself? Raspbian packages > of owfs-3.1p1 are available. > > Edit (or create) your /etc/apt/preferences to contain: >

Re: [Owfs-developers] Turning OWFS website into a Wiki. Was: owfs is DISABLED

2016-07-26 Thread Martin Patzak (GMX)
> > If I had to decide, I would take all the content of the web site, throw > out all the out-of-date information and feed the rest into a Mediawiki, > where you and others can maintain it yourself. Then shutdown the old > website. > > > OWFS developers, OWFS users: should we do that? Your idea i

Re: [Owfs-developers] New site

2016-09-11 Thread Martin Patzak (GMX)
On 09/11/2016 06:18 PM, Johan Ström wrote: > On 10/09/16 14:02, Jan Kandziora wrote: >> Am 10.09.2016 um 11:22 schrieb Colin Law: >>> Is there really a need for two? Why >>> not just have everything in one? >>> >> Because of access rights. GitHub only allows full developer access to >> anything

Re: [Owfs-developers] Can the owserver be "overloaded"?

2016-11-28 Thread Martin Patzak (GMX)
On 11/18/2016 08:11 PM, Jan Kandziora wrote: > Am 18.11.2016 um 10:45 schrieb Arne Raaen: >> Hi, >> >> I have a HobbyBoards relay card based on DS2408, used with LinkUSB >> >> I used a routine (unconditionally) updating PIO.0 through PIO.5 every >> minute. >> >> I observed that PIO.6 and PIO.7 wo

Re: [Owfs-developers] Can the owserver be "overloaded"?

2016-11-28 Thread Martin Patzak (GMX)
imultaneous command. > > > Arne Thanks Arne for explaining your system more detailed. What does your system do? Cheers Martin > > > > > > > > > > On 28.11.2016 09.30, Martin Patzak (GMX) wrote: >> On 11/18/2016 08:11 PM, Jan Kandziora wrote: >

  1   2   >