Beitrag
von Ratzinger » 12.05.2013, 22:27
Ich spreche aktuell ein TCL-Skript über
Code: Alles auswählen
string stdout;
string stderr;
system.Exec("tclsh /usr/local/addons/wetter/wetter.tcl", &stdout, &stderr);
an.
Wie realisiere ich das mit CUxD? Mit
Code: Alles auswählen
string url="tclsh /usr/local/addons/wetter/wetter.tcl";
dom.GetObject("CUxD.CUX2801001:1.CMD_EXEC").State("wget -q -O - '"#url#"'");
funktioniert das irgendwie nicht. Habe ich einen Denkfehler?
248 Kanäle in 57 Geräten: (seit 20.02.2013):
16x HM-LC-Sw1-Pl-2, 4x HM-Sec-MDIR, 2x HM-RC-19, 1x HmIP-RCV-50, 2x HM-OU-CFM-Pl, 2x HmIP-eTRV-B, 1x HM-EM-CMM, 4x VIR-LG-DIM, 7x VIR-LG-RGBW-DIM, 1x VIR-HUE-GTW, 1x HM-Sec-WDS, 1x HM-OU-LED16, 1x HM-LC-Dim1TPBU-FM, 1x HM-LC-Sw1PBU-FM, 1x HM-RC-12-B, 2x HM-PB-2-WM55, 2x HM-CC-TC, 2x HM-Sec-SC, 1x HmIP-SWDM, 1x HM-Sec-SC-2, 1x HM-ES-PMSw1-Pl
(Stand 15.07.2023)
Die erste twitternde Wohnung aus DE: http://twitter.com/dominikswohnung (vorübergehend offline)