Re: [Owfs-developers] Python Access to ow-shell - problem!

2016-08-04 Thread Stefano Miccoli
As already pointed out by Jan, the > pyownet.protocol.ConnError: [Errno 111] Connection refused exception (see http://pyownet.readthedocs.io/en/latest/protocol.html#pyownet.protocol.ConnError ) simply wraps th

Re: [Owfs-developers] Python Access to ow-shell - problem!

2016-08-03 Thread Mick Sulley
Ahh! OK if I start it as owserver -c /etc/owfs.conf it runs. So I tried a reboot and now it is running again, started automatically at boot. I am confused, but at least it is working again. Once again, many thanks Jan. On 04/08/16 02:12, Jan Kandziora wrote: > Am 04.08.2016 um 01:09 schrieb

Re: [Owfs-developers] Python Access to ow-shell - problem!

2016-08-03 Thread Jan Kandziora
Am 04.08.2016 um 01:09 schrieb Mick Sulley: > No, owserver was not running, and I can't start it > > control@pi-test:~ $ owserver --debug > > [...] > > Any idea what the problem is? > You haven't specified any host adapter nor a configuration file on the command line. Kind regards Jan

Re: [Owfs-developers] Python Access to ow-shell - problem!

2016-08-03 Thread Mick Sulley
No, owserver was not running, and I can't start it control@pi-test:~ $ owserver --debug DEBUG MODE libow version: 3.1p1 DEBUG: ow_daemon.c:(170) main thread id = 1996423696 DEBUG: ow_inotify.c:(80) No configuration files to monitor CONNECT: ow_dnssd.c:(81) Zeroconf/Bonjour is disabled s

Re: [Owfs-developers] Python Access to ow-shell - problem!

2016-08-03 Thread Jan Kandziora
Am 03.08.2016 um 23:43 schrieb Mick Sulley: > pyownet.protocol.ConnError: [Errno 111] Connection refused > >>> > This is an error from deep down the operating system. It means there is no listener for your call. Specific for pyownet, the call to owserver. > > It happened after I restarted the

Re: [Owfs-developers] Python Access to ow-shell - problem!

2016-08-03 Thread Mick Sulley
Setfano, or anyone else who can help. I installed pyownet and got it working and I have been developing my code for several days, but this evening it has stopped working. I have gone back to your basic instructions and this is what I see - control@pi-test:~ $ python Python 2.7.9 (default, Mar

Re: [Owfs-developers] Python Access to ow-shell

2016-07-28 Thread Mick Sulley
Thanks Stefano, I will give it try. I am also reassured that I know who to come to with questions as well :-) Mick On 28/07/16 10:50, Stefano Miccoli wrote: > Shameless self-promotion: you should use pyownet, which is documented at > http://pyownet.readthedocs.io/en/latest/ > > If you already

Re: [Owfs-developers] Python Access to ow-shell

2016-07-28 Thread Stefano Miccoli
Shameless self-promotion: you should use pyownet, which is documented at http://pyownet.readthedocs.io/en/latest/ If you already have an owserver running on your localhost you can start with $ pip install pyownet $ python >>> from pyownet.protocol import proxy >>> owp = proxy(host='localhost') >

Re: [Owfs-developers] Python Access to ow-shell

2016-07-27 Thread joep
Jan, I agree. It is not "Top-Down" - first the architectural overview, then down to the next level (for example an overall of the major components). Not sure why it is like it is - maybe historically OWFS development followed a "Bottom-Up" approach and that's what's documented. Must admit

Re: [Owfs-developers] Python Access to ow-shell

2016-07-27 Thread Jan Kandziora
Am 27.07.2016 um 23:34 schrieb joep: > Hi Jan, > > Thanks for your usual clear explanation. Is what you said > documented somewhere in one spot? I remember when I first started using > OWFS (several years ago) struggling with trying to understand how all > the components in OWFS ar

Re: [Owfs-developers] Python Access to ow-shell

2016-07-27 Thread joep
Hi Jan, Thanks for your usual clear explanation. Is what you said documented somewhere in one spot? I remember when I first started using OWFS (several years ago) struggling with trying to understand how all the components in OWFS are related. I believe I constructed my understand

Re: [Owfs-developers] Python Access to ow-shell

2016-07-27 Thread joep
Hi Mick, I've been using the PYOWFS library to communicate to the OWFS network via an OWSERVER for around 5 years. Never had any issues and I ran it in at least 3 different environments - an Intel based PC, an iBook G4 (ie a Mac) running Debian - this is still in operation, and 2 Raspberr

Re: [Owfs-developers] Python Access to ow-shell

2016-07-27 Thread Jan Kandziora
Am 27.07.2016 um 22:02 schrieb Mick Sulley: > Thanks for the suggestion Johan. I had a quick look and this seems to > create a Python binding for owfs rather than owshell. Is that correct? > In his mail 24/7/2016 Jan Kandziora explained that owshell > is a better way to access the system than

Re: [Owfs-developers] Python Access to ow-shell

2016-07-27 Thread Johan Ström
On 27/07/16 22:02, Mick Sulley wrote: > Thanks for the suggestion Johan. I had a quick look and this seems to > create a Python binding for owfs rather than owshell. Is that correct? > In his mail 24/7/2016 Jan Kandziora explained that owshell > is a better way to access the system than owfs,

Re: [Owfs-developers] Python Access to ow-shell

2016-07-27 Thread Mick Sulley
Thanks for the suggestion Johan. I had a quick look and this seems to create a Python binding for owfs rather than owshell. Is that correct? In his mail 24/7/2016 Jan Kandziora explained that owshell is a better way to access the system than owfs, do these same limitations apply to pyownet?

Re: [Owfs-developers] Python Access to ow-shell

2016-07-27 Thread Johan Ström
On 27/07/16 21:26, Mick Sulley wrote: > Looking at converting my current Python code from owfs to ow-shell. I > have found a few different Python bindings, any opinions on which one to > use? Also there does not seem to be much documentation on any of them, > can anyone point me in the right dire