Re: [Owfs-developers] Couple of Questions - another one

2016-09-03 Thread Mick Sulley
My code relies on aliases and so I wanted to copy the correct version of owfs.conf to /etc/owfs.conf and I assumed that I would need to restart after that for it to be read and the correct alias file used. The thing I don't understand is that it is not the restart that causes the failure, it is

[Owfs-developers] Owserver on pi (zero) using DS18B20 and pullup resistor

2016-09-03 Thread Colin Law
I want to use owserver on a raspberry pi (zero) running Raspbian (Jessie) using the method of direct connection to GPIO pins with a pullup resistor. Unfortunately I have found a fair amount of conflicting and confusing information on this around the web. Is there an up to date and authoritative w

Re: [Owfs-developers] Couple of Questions - another one

2016-09-03 Thread Jan Kandziora
Am 03.09.2016 um 10:09 schrieb Mick Sulley: > My code relies on aliases and so I wanted to copy the correct version of > owfs.conf to /etc/owfs.conf and I assumed that I would need to restart > after that for it to be read and the correct alias file used. > No. Owserver monitors its config file

Re: [Owfs-developers] Owserver on pi (zero) using DS18B20 and pullup resistor

2016-09-03 Thread Jan Kandziora
Am 03.09.2016 um 10:36 schrieb Colin Law: > I want to use owserver on a raspberry pi (zero) running Raspbian > (Jessie) using the method of direct connection to GPIO pins with a > pullup resistor. Unfortunately I have found a fair amount of > conflicting and confusing information on this around th

Re: [Owfs-developers] Owserver on pi (zero) using DS18B20 and pullup resistor

2016-09-03 Thread Colin Law
On 3 September 2016 at 13:04, Jan Kandziora wrote: > Am 03.09.2016 um 10:36 schrieb Colin Law: >> I want to use owserver on a raspberry pi (zero) running Raspbian >> (Jessie) using the method of direct connection to GPIO pins with a >> pullup resistor. Unfortunately I have found a fair amount of

Re: [Owfs-developers] Owserver on pi (zero) using DS18B20 and pullup resistor

2016-09-03 Thread Jan Kandziora
Am 03.09.2016 um 14:28 schrieb Colin Law: > > Many thanks > I missed one thing: you have to load the w1-gpio kernel module! Kind regards Jan -- ___ Owfs-developers ma

Re: [Owfs-developers] Owserver on pi (zero) using DS18B20 and pullup resistor

2016-09-03 Thread Colin Law
On 3 September 2016 at 13:45, Jan Kandziora wrote: > Am 03.09.2016 um 14:28 schrieb Colin Law: >> >> Many thanks >> > I missed one thing: you have to load the w1-gpio kernel module! Which I do, I think, by running (only once) sudo modprobe w1-gpio Colin

Re: [Owfs-developers] Couple of Questions - another one

2016-09-03 Thread Stefano Miccoli
My 1cent advice: do not insert a delay before your script, instead catch the pyownet.protocol.ConnError exception and retry if the alias file is dynamic (otherwise why copy it at every reboot?) you can also define/redefine aliases using owshell/ownet. Please check this gist for an example of bo

Re: [Owfs-developers] Owserver on pi (zero) using DS18B20 and pullup resistor

2016-09-03 Thread Colin Law
On 3 September 2016 at 14:00, Colin Law wrote: > On 3 September 2016 at 13:45, Jan Kandziora wrote: >> Am 03.09.2016 um 14:28 schrieb Colin Law: >>> >>> Many thanks >>> >> I missed one thing: you have to load the w1-gpio kernel module! > > Which I do, I think, by running (only once) > > sudo modp

Re: [Owfs-developers] Couple of Questions - another one

2016-09-03 Thread Mick Sulley
Jan, Stefano, Once again many thanks for your help and advise. My alias file is not dynamic as such, but can change as I create a new version of my software, which is what I am doing at present, so it seemed safer to copy it over at startup. I will look at redefining alias in owshell, then