Hilfe bei SOAP befehl

hallo liebe community,

bin ips neuling seit 5 tagen. würde gerne meinen kathrein receiver mit soap befehlen steuern. mache irgend was nicht richtig. wenn ich diese ip befehl http://ip des receivers:9000HandleKey/standby in den webbrowser eingebe geht das super mit dem ausschalten.
habe es über ips so brpbiert:
<?
$rpc = new JSONRPC(„http://192.168.458.50:9000HandleKey/standby“);
$rpc->IPS_RunScript(22432);
?>
geht leider nicht. bekomme das als felermeldung

Fatal error: Uncaught exception ‚Exception‘ with message ‚Unable to connect‘ in C:\IP-Symcon\scripts__jsonrpc.inc.php:41
Stack trace:
#0 C:\IP-Symcon\scripts\22432.ips.php(6): JSONRPC->__call(‚IPS_RunScript‘, Array)
#1 C:\IP-Symcon\scripts\22432.ips.php(6): JSONRPC->IPS_RunScript(22432)
#2 {main}
thrown in C:\IP-Symcon\scripts__jsonrpc.inc.php on line 41
Abort Processing during Fatal-Error: Uncaught exception ‚Exception‘ with message ‚Unable to connect‘ in C:\IP-Symcon\scripts__jsonrpc.inc.php:41
Stack trace:
#0 C:\IP-Symcon\scripts\22432.ips.php(6): JSONRPC->__call(‚IPS_RunScript‘, Array)
#1 C:\IP-Symcon\scripts\22432.ips.php(6): JSONRPC->IPS_RunScript(22432)
#2 {main}
thrown
Error in Script C:\IP-Symcon\scripts__jsonrpc.inc.php on Line 41

hat jemand eine lösung?

Probier mal folgendes:


Sys_GetURLContent("http://192.168.458.50:9000HandleKey/standby");

paresy

…:9000/HandleKey/standby…

/JSONRPC(„http://192.168.458.50:9000HandleKey/standby“);

Sicher das die ip so stimmt ?

Danke für die schnellen antworten.
@paresy läuft :slight_smile:
@olima du hast recht mit .458 gehts nicht. hab die url geändert.

gibt es eine doko mit allen befehlen? ich konnte den von paresy in der dokomentation nicht finden. oder habe ich was übersehen?

jepp :stuck_out_tongue:

Sys_GetURLContent — IP-Symcon :: Automatisierungssoftware