Added a cgi script that send a signal to the slave device and wait until it returns