I have no clue about php so could you please explain this a little bit more?
Which ports do i need to open in the firewall? 4020 for all tasks?
Are there only 2 actions possible?
Can I use the script without a secret phrase?
What means best&action?
Thanks for the replies. After several test and restarts of the servicec it is working now, don´t ask why. But one problem left. When the motion sensor fires, pulsstation does not always detect it. And sometimes there is a delay of 10 seconds or more. Or the switch turns on and two seconds later off. Really funny behavior. Do you have a solution for that?