[Twisted-Python] HomeMatic - xmlrpc twisted !!
vinod kumar
vk.86.811 at gmail.com
Fri May 25 05:27:36 EDT 2012
Hi everyone,
I'm trying to connect to homematic server at address '192.168.1.251'
and port '2001'. I have a sample twisted server and client on my localhost.
It's working fine. Now to the functions in server protocol.py file, I added
another function (as shown below) which creates another client that
connects to homematic server. But it's giving following error when I start
the client.
Error:
File "/home/vinodh/Desktop/homematic/xmlrpc_twisted/protocol.py",
line 45, in xmlrpc_init
d = ClientCreator(reactor).connectTCP(self,'192.168.1.251',2001)
exceptions.TypeError: __init__() takes at least 3 arguments (2
given)"
my scenario is this way:
mycleint ---> myserver(protocol file--->cliet-->homematic server)
Please help me out.
Thanks,
Vinod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120525/7a444d02/attachment.htm
More information about the Twisted-Python
mailing list