Search found 2 matches

by wopper125
Monday 14 May 2018 13:03
Forum: Cameras
Topic: Start camera recording on surveillance station by switch
Replies: 14
Views: 12782

Re: Start camera recording on surveillance station by switch


Script works fine, but how can I select which camera to start recording, all my cameras start to record using the script.
br Patrick


look for this line in the script:

if($cam->enabled ) {

replace with the code below.
if($cam->enabled and $id_cam = XX) {)

replace the XX with the number ...
by wopper125
Wednesday 25 April 2018 21:43
Forum: Cameras
Topic: Start camera recording on surveillance station by switch
Replies: 14
Views: 12782

Re: Start camera recording on surveillance station by switch

I ran into the same error 32512. what finally solved it for me was the following
follow markiemajax post but do not just add the files to the domoticz/scripts folder.
in the folder domoticz/scripts: create two new php script files (ie. Turn_on.php and Turn_off.php) and paste the contents from php ...