A script which will disable/enable FOSCAM FL9831W (and few others which use the same CGI API) motion detection whenever certain devices are found in the network.