Classes are the basic python object,
They have methods which act on instances of the class. the self variable
is the reference to the specific instance.
class AnObject(object):
def method(self):
print 'I'm doing something to myself %s' % self
You make instances of them:-
I'm looking at hooking owfs to twisteds event loop, Will the OWFS file
system changes generate a suitable response within a select () loop?
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files t
Who has collected the most one-wire records?
I've managed 14,991 in a couple of days.
Can someone really impress us with their data retention?
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 19/12/2006
-
It also requires a zones table:
> CREATE TABLE zones (
> idSERIAL NOT NULL UNIQUE,
> modified_at TIMESTAMP NOT NULL DEFAULT(CURRENT_TIMESTAMP),
> name TEXT NOT NULL UNIQUE,
> description TEXT,
> PRIMARY KEY (id)
I've got it runnin
>
> I won't include the schema, as it is much more complex that this part
> shows. I use Postgres as my dbms and love that as well. I hate python
> less than other languages and Linux less than windows.
>
> enjoy,
> jerry
>
There are people who would LOVE to see the schema. Can we chat
sepa
Jerry Scharf wrote:
> Paul Alfille wrote:
>> OWW problems, any thoughts?
>>
>> Also, is there interest in an OWFS - OWW bridge? My thought is to use
>> owserver as the backend and OWW for weather-specific applications.
>> That would allow both systems to access the 1-wire bus simultaneously.
>>
>
I've now got a working owserver in the attic reading sensors ( again !)
I'm looking for ownet, which hopefully will allow me to interrogate the
server remotely via python 2.5 on windows xp.
Where do I locate it? I've looked around the CVS browse facility but
can't find anything as yet.
Chris
Can I run owserver and read devices on my one-wire system without having
completely installed owfs?
Do I require owfs before things function? I can install owserver and
owhttpd and they both run ok and communicate but am I totally missing
the point here or should I expect to see only bus.0 unti
Fantastic! Once I've got my linux box back on the wireless network
(Don't ask) I'll beat it around for you.
Chris.
Peter Kropf wrote:
>Hi -
>
>I've committed to CVS the first draft of a new python module called
>ownet. It allows for interaction with a remote owserver without the
>need to have t