Homematic CCU1 + Python

Nutzung von XML RPC, Remote Script, JSON RPC, XMLAPI

Moderator: Co-Administratoren

Antworten
pjop
Beiträge: 4
Registriert: 10.11.2011, 08:57

Homematic CCU1 + Python

Beitrag von pjop » 16.12.2011, 12:03

Hi,

I'm trying to connect to the CCU1 via XLM-RPC by using a Python script.

What I'm trying to do is:

Code: Alles auswählen

import sys
import xmlrpclib

server_url = 'http://192.168.1.88:2001/';
server = xmlrpclib.Server(server_url);

result = server.listDevices()
But I get an error.

- Anyone that have done anything similar?
- Can I do the method call as above?

Cheers

pjop

HerbV
Beiträge: 1
Registriert: 12.01.2013, 14:53

Re: Homematic CCU1 + Python

Beitrag von HerbV » 12.01.2013, 14:59

Hi it works for me, just that I also Print the result. Did you. Check the Permissions in the CCU, if your client is allowed to access? Firewall Konfiguration HomeMatic XML-RPC and following?

Antworten

Zurück zu „Softwareentwicklung von externen Applikationen“