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

2013-07-01 Thread foster
Hi Paul In this topic http://owfs-developers.1086194.n5.nabble.com/can-t-start-owserver-td9556.html, I've tried to solve problem with startin owserver in 2.9 version. I was not able to solve, so I format sd card, install raspbian again and install owfs 2.8p15 via repository and owserve works ok.

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

2013-06-26 Thread foster
1. double probes - it's bug in 2.8p15 version. If you want to upgrade to actual version, you need to uninstall this version via apt-get and then install manually actual version. But probably you will have the same problem like me - owserver will not start correctly. So I recommend to stay at 2.8p15

Re: [Owfs-developers] New release 2.9p1

2013-06-21 Thread foster
thx. update works ok. but also in this version can't start owserver. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/New-release-2-9p1-tp9731p9738.html Sent from the OWFS Developers mailing list archive at Nabble.com. --

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-19 Thread foster
I've changed static IP to IP from dhcp, but problem has not been solved. I'm not able to start owserver - I have a fresh installation of raspbian wheezy and only installed necesssary software for owfs. Any idea? Many thanks, I'm really confused and disappointed. -- View this message in context:

Re: [Owfs-developers] New release 2.9p1

2013-06-19 Thread foster
It needs to be previous version unninstalled or can I install directly this version? -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/New-release-2-9p1-tp9731p9733.html Sent from the OWFS Developers mailing list archive at Nabble.com. --

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-13 Thread foster
*sudo /opt/owfs/bin/owserver --i2c=/dev/i2c-1 --server 127.0.0.1:4304 --debug* error is the same. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/owhttpd-in-2-9p0-tp9556p9712.html Sent from the OWFS Developers mailing list archive at Nabble.com. -

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-13 Thread foster
*sudo /opt/owfs/bin/owserver --i2c=/dev/i2c-1 --server localhost:4304 --debug* result: CONNECT: owlib.c:(112) Cannot open server at localhost:4304 -- first attempt. DEBUG: ow_net_client.c:(85) IP address=[localhost] port=[4304] CONNECT: ow_net_client.c:(147) [Address family not supported by prot

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-13 Thread foster
Thx. for help, owfs starts from shell correctly, but I have a problem to start owserver. sudo /opt/owfs/bin/owserver --i2c=/dev/i2c-1 -p localhost:4304 it looks ok, but I don't see anything in running services. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/owhttp

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-12 Thread foster
It's all strange for me. If I start owfs from shell: /opt/owfs/bin/owfs --i2c=ALL:ALL --allow_other /mnt/1wire the same error occurs. But if this command runs from start1wire.sh - http://wiki.temperatur.nu/index.php/OWFS_with_i2c_support_on_Raspberry_Pi_%28English_version%29#Make_sure_OWFS_is_start

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-12 Thread foster
Could anyone help me with this issue? Thx. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/owhttpd-in-2-9p0-tp9556p9698.html Sent from the OWFS Developers mailing list archive at Nabble.com. -

Re: [Owfs-developers] My first 1-w circuit - Was: Monitoring AC power lines

2013-06-10 Thread foster
Hi Jan. It's definitely problem of python or os module. Or both. When I connect ibutton: pi@raspberrypi ~ $ ls /mnt/1wire/uncached | grep 01.49 01.4991AE15 When I disconnect: pi@raspberrypi ~ $ ls /mnt/1wire/uncached | grep 01.49 pi@raspberrypi ~ $ LS command immediately reflect connected or

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

2013-06-10 Thread foster
I'm not sure, but if you're using USB device add -u parameter. also I think in this vesion you don't need use -c parameter together with error_params which are in conf file. try: owserver -u --debug more here: http://owfs.org/index.php?page=owserver -- View this message in context: http://owfs

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

2013-06-10 Thread foster
try to run owserver with --debug parameter. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/problem-with-owfs-owserver-on-raspberry-pi-tp9682p9687.html Sent from the OWFS Developers mailing list archive at Nabble.com. --

Re: [Owfs-developers] My first 1-w circuit - Was: Monitoring AC power lines

2013-06-09 Thread foster
It's not about that owfs is slow. It's about that python after removing ibutton still return connected. I don't speak about miliseconds I speak about 10-20 seconds/minute. After 1 minute from removing ibutton it's normal that python return true by command isexists? In owfs filesystem after removing

Re: [Owfs-developers] My first 1-w circuit - Was: Monitoring AC power lines

2013-06-09 Thread foster
Present is deprecated in actual version of owfs. Anyway I don't understand why I couldn't check if path exist. The whole problem is that if I remove ibutton, directory in owfs disappear, but python still answer that directory exists. -- View this message in context: http://owfs-developers.1086

Re: [Owfs-developers] My first 1-w circuit - Was: Monitoring AC power lines

2013-06-08 Thread foster
It doesn't work. Still after removing ibutton, it returns as "detected". import ospath while True: if ospath.isexists('/mnt/1wire/uncached/01.4991AE15/id'): print 'detected' else: print 'not detected' time.sleep(1) -- View this message in context: http://owfs-deve

Re: [Owfs-developers] My first 1-w circuit - Was: Monitoring AC power lines

2013-06-07 Thread foster
I will not open new thread, but I don't know if it's bug or my mistake. I have this simple code in python: import ospath while True: if ospath.isdir('/mnt/1wire/uncached/01.4991AE15'): print 'detected' else: print 'not detected' time.sleep(1) When I connect iButton -

Re: [Owfs-developers] My first 1-w circuit - Was: Monitoring AC power lines

2013-06-05 Thread foster
Hi. I did a test with time.sleep 1 sec, and it looks like no load to raspberry. So 1 sec. is viable compromise. But I have another question: We solve here only one ibutton, so checking in loop if any directory has beeen created. But how to solve if I need to identify person with ibutton (20 or more

Re: [Owfs-developers] My first 1-w circuit - Was: Monitoring AC power lines

2013-06-04 Thread foster
Yes, the worst way looks only one viable. Looking every second to new ibutton can kill raspberry, or did you test it? Another solution is to use cron, but I don't know if some script can be run in less than minute. My friend told me about another solution - system events, but it's strange for me.

Re: [Owfs-developers] My first 1-w circuit - Was: Monitoring AC power lines

2013-06-04 Thread foster
Hi. I'm working on the same solution DS2413P+. Also I'm planning to use ibutton. So I'd like to ask how did you solved: "and there is a continuous polling for detecting the presence of an iButton." Thx. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/My-first-1-w-c

Re: [Owfs-developers] Supporting DS9092

2013-06-03 Thread foster
1-2 sec will be enough lag. It's like to monitor temperature via DS18S20 and storing temperature to database. It's only teoretical question to find best way, because I don't have any experience with this type of monitoring. I bought this DS9092: http://static2.tme.eu/katalog_pics/6/9/6/69693599610

Re: [Owfs-developers] Supporting DS9092

2013-06-03 Thread foster
Nice. Anyway DS9092 has two leds iside - red/green. Is in owfs any build-in solution how to control this leds? I don't mean how to turn on/off leds, I mean how to permanently check if any ibuuton is touched to DS9092. I could in python check every 0,1 sec if id on filesystem is empty or not, but if

[Owfs-developers] Supporting DS9092

2013-06-03 Thread foster
Hi. A simply question, does owfs support DS9092 ibutton adapter touch probe? Becasue I'm trying to use DS1990A ibutton devices and this device is supported by owfs. Thx. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/Supporting-DS9092-tp9645.html Sent from the O

Re: [Owfs-developers] Monitoring AC power lines

2013-05-27 Thread foster
It's a nice solution but very expensive. My current sensor is based on this scheme. But I use optocoupler in place od LED. It's low cost solution under 1€. At my home I need to monitor 20 lights - 20€. On higher Amps I use AC-1010. -- View this message

Re: [Owfs-developers] Monitoring AC power lines

2013-05-27 Thread foster
Hi Marc, my project works corretly, so thx. for offer. 4 channels on DS2450 i don't need, so for me no advantage od 4 channels. Anyway about which currentcost clamps you are talking about? Thx. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/Monitoring-AC-power-lin

Re: [Owfs-developers] Monitoring AC power lines

2013-05-27 Thread foster
Hi. In my project I'm solving detecting current. I solved it in low current mains - lights. If any interest, i can write more. But if you want to detect high current, the only solution is to use current transformer . You can use AC1010 to 10A, but there ar

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-25 Thread foster
I killed owfs, but still can't run owhttpd: kill 2134 - (kill owfs) sudo /opt/owfs/bin/owhttpd -p 2121 -d /dev/i2c-1 --debug error is the same: CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-1 address 18 DEBUG: ow_ds2482.c:(516) ok CONNECT: ow_ds2482.c:(428) i2c device at /dev/i2c-

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread foster
Paul Alfille-2 wrote > Are you running owfs and owhttpd at the same time? They both can't connect > directly to the DS2482 -- you need owserver to coordinate access. Hmm, why can't run both? In version 2.8p15 there was no problem. If I run owserver, i will not be able to use owhttpd. When I use ow

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread foster
Thx. Now I understand. Actually I don't need config file if I run owhttpd with parameters. So now it's clear, only problem what I have is to start owhttpd. I have DS-2482-100, I'm using this command: sudo /opt/owfs/bin/owhttpd -p 2121 -d /dev/i2c-1 --debug DEBUG MODE libow version: 2.9p0

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread foster
Thx.for answer. I'm new to linux, so I'm not sure that I understand your answer. If I want to have config file for owttpd, I have to compile package again via ./configure? Or I can add config file when running owhttpd. I tried to run owhttpd via /opt/owfs/bin/owfs but nothing happens. And also wha

[Owfs-developers] owhttpd in 2.9p0

2013-05-10 Thread foster
Hi. I've just installed owfs 2.9p0, and I have a problem with setting port of owhttp. In previous versions there was owfs.conf, but in this version this config file is missing. Also there is missing info, where to set temperature/pressure units. Thx. for answer. Btw. bug with duplicate directories