It allows parameters to turn motion detection on or of, like from the command line:
Code: Select all
C:\Progra~2\Active~1\WebCam.exe /CAM_NO 2 /M_ON
Now I tried this with HS in three ways:
1) Event launching an application, with the above parameters.
2) Event launching a *.bat script with the command above
3) Event launching a *.vb script with the command above
They all start a second instance of the WebCam.exe, which is not what I want.
However, when I open a command prompt and run the code above, it does work.
Also when I stop homeseer as a service, and I start it as a program (not restarting the service), it also works correctly.
The HS service is run as the same user, so I don't understand this.
Can you help me out here?