Re: [Owfs-developers] The famous 85°C

2016-07-09 Thread Guy COLIN
Hello, both of you are right. I feel stupid for having posted this, because I have now read the DS18B20 datasheet and understood that I knew almost nothing. I didn't know that there is 2 pullup modes, one weak and one strong. And that we have to activate the strong pullup 10micro-seconds after

[Owfs-developers] The famous 85°C

2016-07-03 Thread Guy COLIN
Hello, regarding this 85°C error: it looks like it's not only the power-up state: we get this value everytime we dont wait enought time after requesting a temperature convertion and reading the scratchpad. I did a small program on an arduino connected on a DS18B20, this programm start with a

Re: [Owfs-developers] Concurrency issues?

2016-07-03 Thread Guy COLIN
Hello, thanks Stefano and Jan for your support. Yes Stefano you're right a hybrid system won't be good. I'm going to follow your advice and stop using owfs fuse system. I was afraid of too much work but after checking it shoud be ok. My system was not too badly designed. I actually have links

Re: [Owfs-developers] Concurrency issues?

2016-07-01 Thread Guy COLIN
Hello, I'm back. I have been testing for 18 days now. And IT IS OK! Well let's be careful up to now it is ok. So my problem was these bad connections. During 18 days my script was reading every 10 seconds the 8 Onewire devices on the buses. My counter reports approximately 114000 checks x8

Re: [Owfs-developers] Concurrency issues?

2016-06-20 Thread Guy COLIN
Hi, There is now almost a week that's it running perfectly. My monitoring script is running, reading all 8 devices every 10 seconds and has no reported any device lost, just a very few temp reading at 85, doesn't matter. I cross finger and continue testing... Best regards -- Guy

Re: [Owfs-developers] Concurrency issues?

2016-06-13 Thread Guy COLIN
Thanks Jan for your support and the interest you are showing on my problem. You pointed out the hardware and I agree. It's possible. But when you said: "Any devices can go missing if the bus is jumbled" I thought: how is that possible because I have separate buses. If it's short on one bus it

Re: [Owfs-developers] Concurrency issues?

2016-06-12 Thread Guy COLIN
nter =1540 Sat Jun 11 15:23:28 CEST 2016 3A.B3600200/sensed.BYTE Counter =1540 Sat Jun 11 15:23:28 CEST 2016 26.FFD8F100/humidity Counter =1540 Sat Jun 11 15:23:28 CEST 2016 10.C825FA010800/temperature Counte

Re: [Owfs-developers] Concurrency issues?

2016-06-08 Thread Guy COLIN
Hi There is now 75 hours my script is running. I've got: -0 owread errors :-) -4 out of range errors Since today I've had a 8th device, a temp. sensor DS18S20 (the one that was disappearing some time ago) in 75 hours it approx 23000x7readings (8 readings since today) and all succeed! So it's

Re: [Owfs-developers] Concurrency issues?

2016-06-07 Thread Guy COLIN
Hi! Update: 43hours running with "owread uncached" ZERO error! the script sleeps 5 seconds then read 7 1wire devices, it takes approx 4.5seconds more, then go to sleep again So approx 1700*7 readings, no error When the previous script was reading the directories I got a few errors. So I believe

Re: [Owfs-developers] Concurrency issues?

2016-05-31 Thread Guy COLIN
Hi Jan, thanks for considering my (small) problem. >Double listing of devices means the "Search ROM" trickery fails. Most >likely because it's very fragile on any bit. No checksums at all. No CRC at all? I thought there was a CRC in each ROM number? >You don't have a star topology cabling, do

Re: [Owfs-developers] Concurrency issues?

2016-05-30 Thread Guy COLIN
Hello, this is an update. I have sorted, filtered all data got previously. in 61hours 108 triggerings. So as already said it means my 1wire device directories were ok 99.75% of the time and wrong 0.25%. When they are wrong the errors are the following 108 errors in /mnt/1wire 50% missing

Re: [Owfs-developers] Concurrency issues?

2016-05-27 Thread Guy COLIN
Jan, thanks for your explanations. How the cache works is clearer for me now. So if I know my devices ROM number I can don't care about the directory and access them directly. It's actually what I'm doing. But still sometimes the device doesn't answer, and this is what I'm trying to

Re: [Owfs-developers] Concurrency issues?

2016-05-24 Thread Guy COLIN
Hello, > > > This means you have to access I²C directly by using --i2c=... and > unload/blacklist the ds2482 kernel module? I have this line in my owfs.conf (owserver and owfs are running as services thru init.d) server: device = /dev/i2c-1 i2c module is properly loaded, here is the ouput of

Re: [Owfs-developers] Concurrency issues?

2016-05-23 Thread Guy COLIN
Hello Thanks very much for so quick answers. @Steinar No usually the lost device(s) don't re-appear after restarting owfs and owserver. But it may vary. I have done so much tries and couldn't catch any evidence of doing this or that solve the issue. Now I just wait and the lost device(s) come

[Owfs-developers] Concurrency issues?

2016-05-22 Thread Guy COLIN
nt/1wire/ did this for 6 years. Is that wrong? Should I use owread, owwrite, owdir, etc? Please, if you can give me some light on this concurrency issues. Thanks a lot. -- Guy COLIN -- Mobile security can be enabling, not merel

Re: [Owfs-developers] Diagnosing disappearing devices

2013-11-02 Thread Guy COLIN
Hi Colin, sounds like hardware problem. Does the USB us master disapear also? i.e. no more 81.xx in the devices listing. Or only the temp sensors disapear? -- Guy -- Android is increasing in popularity, but the

Re: [Owfs-developers] owserver network access

2013-11-02 Thread Guy COLIN
Hello, Whith this 2 lines it's working ! server: server = 192.168.0.100:4304 server: port = 4304 Just replaced localhost with IP address. (Okay so localhost means on localhost only and the IP @ means accessible from network) But I still don't understand the leading ! Usually this symbol means

[Owfs-developers] owserver network access

2013-11-01 Thread Guy COLIN
Hello, I have a problem that sounds simple but can't get rid of it. I have several computers (Raspberry Pi) running owfs with their own physical 1Wire bus, it's running fine. For convenience I want to have 1 machine accessing others via owserver and network. I would like a single owfs tree

Re: [Owfs-developers] issues with owfs 2.8p15 on raspberry pi

2013-10-12 Thread Guy COLIN
Hello, For me, this is now solved: I don't have anymore double entries in owfs directory listing :-) I'm not sure what exactly the root cause was, but I can tell what I did: When I had double entries (each 1wire device was listed twice in owfs tree, I had bus.0 and bus.1 with only 1 physical

Re: [Owfs-developers] issues with owfs 2.8p15 on raspberry pi

2013-10-11 Thread Guy COLIN
Hello, The double entries appear only in owfs No double entries in owhttpd or owftpd Version 2.8p15-1 Have a good day -- Guy -- October Webinars: Code for Performance Free Intel webinars can help you accelerate

Re: [Owfs-developers] issues with owfs 2.8p15 on raspberry pi

2013-10-10 Thread Guy COLIN
Colin Reese colin.reese at gmail.com writes: My experience with i2c (2483) on 2.8p15 was at first double and intermittent probes and then no probes. I upgraded to 2.9 and everything works. Hi Colin, Was it on a Raspberry Pi? Did you compile on the Pi itself? The 2.9p1 and 2.9p0 release

Re: [Owfs-developers] issues with owfs 2.8p15 on raspberry pi

2013-10-09 Thread Guy COLIN
Paul Alfille paul.alfille at gmail.com writes: Tell me more about what won't start on the Pi? Is it that 2.8p15 owserver works but 2.9 owserver doesn't? Is there a particular error that you see? I know you've posted extensively on a Pi problem, but it never registered that an older

Re: [Owfs-developers] DS2483 generates multiple bus.x with DS18B20

2013-04-01 Thread Guy COLIN
Mick Sulley mick at sulley.info writes: The link works but is spread across two lines. If you cut and paste it is OK. http://wiki.temperatur.nu/index.php/OWFS_with_i2c_support_on_Raspberry_Pi_(English _version) We need to get a newer version into the repository but I have no idea

Re: [Owfs-developers] You can have a look to my 1wire network on my website

2013-03-29 Thread Guy COLIN
Lappies lappies at gmx.de writes: hi, nice, would like to have a look at your source code, maybe I can pick something up and optimize my code thx rudi Am 29.03.2013 04:02, schrieb Guy COLIN: Hi Rudi, Source code is available on mu site

Re: [Owfs-developers] You can have a look to my 1wire network on my website

2013-03-29 Thread Guy COLIN
Mick Sulley mick at sulley.info writes: Hi Guy, Thanks for sharing that, I am running something similar and in the process of migrating to RasPi. One problem I found is that with the repository version of owfs, 2.8p15-1 I see a couple of sensor directories which are empty. I

[Owfs-developers] You can have a look to my 1wire network on my website

2013-03-28 Thread Guy COLIN
Hi all, after several years of running owfs to drive my home heating system and a recent move to a Raspberry pi, I updated my website and you can see everything here: gcolin.hd.free.fr The site is a little bit messy and huggly but everything works perfectly. Source code available as well (all

Re: [Owfs-developers] Diagnostic Questions

2013-03-28 Thread Guy COLIN
Hi, I would suggest to go step by step to discriminate the faulty equipment: Disconnect everything just keep the 6 channel hub connected to the serial link, have it running for some time you should see only the master on the owfs tree and if you still have the short circuit it's the faulty. But

Re: [Owfs-developers] Everything on Raspberry PI

2013-02-02 Thread Guy COLIN
the tests using a Sheepwalk Electronics RPI2 adapter, which is specifically designed for the Pi, and I suspected that this may be the problem and so switched to a DS9490 USB adapter, but the no reads continue. Do you know if you are experiencing no reads? Cheers Mick On 01/02/13 15:33, Guy

Re: [Owfs-developers] Everything on Raspberry PI

2013-02-01 Thread Guy COLIN
Roberto Spadim roberto at spadim.com.br writes: nice, could you send me the binary files of your raspberry? i have a arm eabi v4 hardware and i couldn't cross compile it right, maybe copying files solve my problem Hi Roberto, Yes, I can but which binary do you actually want? owfs

Re: [Owfs-developers] AC power switching

2012-12-08 Thread Guy COLIN
Colin Law clanlaw at googlemail.com writes: Following a recent thread which provided a number of different ways of sensing AC power (120/220VAC) I wonder what are the options for AC power switching via 1-wire. Commercially I have only found devices such as [1] and [2] which seem rather

Re: [Owfs-developers] raspberry pi and owfs on the serial port

2012-12-02 Thread Guy COLIN
Hm I think i2c is the better Interface for this. Using a DS2483 one single Bus Master chip is sufficient. Not always, I already have all my home 1wire network using a hobbyboard 6channel hub and it's RS232 serial + another 1wire on serial adapter as well. But agree with you tout go direct

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

2012-12-01 Thread Guy COLIN
Hi, If you run official Raspbian to install owfs you just have to do: sudo apt-get install owfs nothing else, you will have owfs 2p15 you have to edit /etc/owfs.conf to say if you use usb, serial, .. adaptor this install will add 3 scripts in etc/init.d/ = owserver owhttpd owftpd these 3

Re: [Owfs-developers] raspberry pi and owfs on the serial port

2012-12-01 Thread Guy COLIN
Hello, Raspberry pi + official latest Raspbian + owfs 2p15 No problem with the serial port available on GPIO port = ttyAMA0 I have use a MAX3232CPE to adapt Raspberry pi 3.3V to RS232 +12V and -12V as shown here: http://codeandlife.com/2012/07/01/raspberry-pi-serial-console-with-max3232cpe/

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

2012-11-04 Thread Guy COLIN
Hi everybody, Yes I must say that I'm running the USB adapter only and just for a few days. I'm not at home and don't have any device to connect for test. I didn't know there was an issue with the stability of the USB adaptor. However somebody report no problem since june on USB. What about

[Owfs-developers] Raspberry pi running Raspbian and owfs

2012-11-03 Thread Guy COLIN
Hello, This simple message, just to say that owfs is running fine on Raspbian. I have read many posts here about the Raspberry pi but none saying this simple thing: Raspberry pi + Raspbian + owfs run directly out of the box: sudo apt-get install owfs # to install it then edit /etc/owfs.conf to

Re: [Owfs-developers] Hobby board LCD driver cannot write to lcd and simultaneously read the PIO

2012-05-18 Thread Guy COLIN
Patryk p4trykx at o2.pl writes: I found a workaround for this some time ago. before writing to the LCD do printf 1 /mnt/owfs/29.BABC0800/strobe and If you want to fiddle with 3 IO printf 0 /mnt/owfs/29.BABC0800/strobe Thanks for that Patryk, I will try it as soon as I can

Re: [Owfs-developers] Hobby board LCD driver cannot write to lcd and simultaneously read the PIO

2012-05-18 Thread Guy COLIN
Patryk p4trykx at o2.pl writes: before writing to the LCD do printf 1 /mnt/owfs/29.BABC0800/strobe and If you want to fiddle with 3 IO printf 0 /mnt/owfs/29.BABC0800/strobe Patryk you are The Man. You got it, your workaround is perfectly working. I don't need anymore. This

Re: [Owfs-developers] Hobby board LCD driver cannot write to lcd and simultaneously read the PIO

2012-05-17 Thread Guy COLIN
Guy COLIN guy.colin at gmail.com writes: I have recently added to my network a Hobby board LCD driver. Following owfs man pages I have no problem to write anything to the LCD, or to read the state of the 3 input switches (the 3 first PIO's as per Hobby board design). Hello, since I haven't

[Owfs-developers] Hobby board LCD driver cannot write to lcd and simultaneously read the PIO

2012-05-05 Thread Guy COLIN
Hello everybody, 2 years now I'm using owfs for monitoring home temperature and driving my heating system. Everything is perfect. Big thanks to developers. I have recently added to my network a Hobby board LCD driver. Following owfs man pages I have no problem to write anything to the LCD, or to

Re: [Owfs-developers] Access to http://owfs.org/ wiki | Hobby Boards 8 channel I/O works fine

2010-05-20 Thread Guy COLIN
Thank you Paul for your full explanations, I will try to go deeper on tests when I have time, if I find anything helpful I will report here. However tell me: the Maxim PIO status register give 2 bits per PIO : PIO pin state and Latch state (at least for the DS2413) owfs give 3 informations

Re: [Owfs-developers] Access to http://owfs.org/ wiki | Hobby Boards 8 channel I/O works fine

2010-05-18 Thread Guy COLIN
Hi This is in accordance with owfs man pages: An owfs write 1 in the PIO will closed the internal switch: that means connected PIO pin to ground= 0V The owfs 2408 man page about the sensed propertie says: Logic level at the PIO pin. 0 = ground. 1 = high (~2.4V - 5V ). But the owfs 2408 man page

Re: [Owfs-developers] DS2413 writing to PIO: owfs 0=OFF Maxim 0=ONWhy?

2010-05-17 Thread Guy COLIN
Message- From: Guy COLIN [mailto:guy.co...@gmail.com] Sent: Monday, May 17, 2010 5:20 AM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] DS2413 writing to PIO: owfs 0=OFF Maxim 0=ONWhy? That's true when I first tried to echo 1 to turn on a relay on the hobby

Re: [Owfs-developers] side effects (?) when declaring an inexistant serial adapter

2010-05-17 Thread Guy COLIN
!... any idea? Alarm is well working after the owfs.conf modification. -- Guy Guy COLIN a écrit : Hi all I want to report what I found, it may help... I run owfs for DSL (bootable CD owfs-dsl-2.7p4) (frugal install on flash disk). My 1-wire network on USB (DS9490) has 1xDS18B20 1xDS18S20

Re: [Owfs-developers] DS2413 writing to PIO: owfs 0=OFF Maxim 0=ON Why?

2010-05-16 Thread Guy COLIN
Hi Paul, Thanks for your quick and full answer. Yes even if I'm not a pure hardware guy (I'm a Guy guy (Guy is my name ;-) )), I had the Maxim DS2413 documentation nearby when performing the first tests. That's why I found it strange to be reversed. However after reading owfs DS2413 man page,

[Owfs-developers] side effects (?) when declaring an inexistant serial adapter

2010-05-16 Thread Guy COLIN
Hi all I want to report what I found, it may help... I run owfs for DSL (bootable CD owfs-dsl-2.7p4) (frugal install on flash disk). My 1-wire network on USB (DS9490) has 1xDS18B20 1xDS18S20 2xDS2413. Because I found several Bad Adapter adapter reconnected messages in my logs I Google-search