ich habe ein Problem mit dem Senden "eines" http Aufrufes über wget. Kennt jemand von euch das Problem, bzw. eine Lösung?
Eventghost Forum:
Hi, i have a problem with the Webserver. I got rigger loops.
I send a script one times from my homematic:
Code: Alles auswählen
string url="http://192.168.xxx.xx:xxxx/?KodiPause";
dom.GetObject("CUxD.CUX2801001:1.CMD_EXEC").State("wget -q -O - "#url);
And after i send it i got a trigger loop, every xx seconds, until i deaktivate the Webserver.
Code: Alles auswählen
19:53:02 HTTP.Started 'Webserver started as unsecured (http://) on port xxxx'
19:53:19 Task.Activated.firefox
19:53:27 HTTP.KodiPause []
19:53:27 Python Skript
19:53:28 HTTP.KodiPause []
19:53:28 Python Skript
19:53:29 Task.Deactivated.firefox
19:53:29 Task.Activated.EventGhost
19:53:30 HTTP.KodiPause []
19:53:30 Python Skript
19:53:33 HTTP.KodiPause []
19:53:33 Python Skript
19:53:37 HTTP.Stopped 'Webserver on port xxxx stopped'
Die Antwort ist:
well the only thing i can think of that would cause this behavior is homematic keeps on repeating the pause command. the webserver shouldn't behave like this all on it's own. and the fact that you keep on getting the events leads me to believe that they keep on being sent over. you can test this simply by manually sending the command yourself. open your browser on the PC that is running EG and the webserver plugin and key the following into the address bar and press enter. see if you only get an event one time in EG. if you do and it does not repeat that it means the issue is with homematic
Wäre schön wenn jemand eine Idee zur Lösung hätte.