2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

HMCCU: bug fixes and enhanced handling of datapoints

git-svn-id: https://svn.fhem.de/fhem/trunk@10184 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
fhemzap 2015-12-15 16:52:08 +00:00
parent bf1dd8d58b
commit 884bb72ce1

View File

@ -3,7 +3,7 @@
#########################################################
# ccurpcd.pl
#
# Version 1.3
# Version 1.4
#
# RPC server for Homematic CCU.
#
@ -128,6 +128,15 @@ sub CCURPC_Initialize ($$)
close ($socket);
$client = RPC::XML::Client->new ("http://$serveraddr:$serverport/");
# Check if RPC daemon on CCU is running
my $resp = $client->send_request ('system.listMethods');
if (!ref($resp)) {
Log "No response from CCU. Error message follows in next line";
Log $resp;
return undef;
}
$server = RPC::XML::Server->new (port=>$callbackport);
if (!ref($server))
{