Ich habe was komisches festgestellt:
Wenn ich versuche eine Boolean Variable von IPS 1 an IPS 2 schalten will passiert das :
$rpc = new JSONRPC("http://user:password@127.0.0.1:82/api/");
$rpc->SetValue(38809, 18.5);
Dann kommt diese Fehlermeldung :
Fatal error: Uncaught exception 'JSONRPCException' with message 'Method 'Setvalue' not found' in /usr/share/symcon/scripts/__rpc.inc.php:115
Stack trace:
#0 /usr/share/symcon/scripts/__rpc.inc.php(37): JSONRPC::makeRequest('http://192.168....', 'danny.zenger@gm...', 'symcon', 'Setvalue', Array, false)
#1 /var/lib/symcon/scripts/36623.ips.php(9): JSONRPC->__call('Setvalue', Array)
#2 /var/lib/symcon/scripts/36623.ips.php(9): JSONRPC->Setvalue(39955, true)
#3 {main}
thrown in /usr/share/symcon/scripts/__rpc.inc.php on line 115
Wenn ich aber eine Push Nachricht senden will, klappt das wunderbar :
$rpc = new :confused::confused:("http://user:password@127.0.0.1:82/api/");
$rpc->WFC_PushNotification(26356 /*[Objekt #26356 existiert nicht]*/ , $betreff, $meldung, "Speaker", 0) ;
Was mache ich Falsch ? Oder ist es ein BUG