Hi all,
New to BI and this forum. My new member info is here.
I am rebuilding my security system. My old was Windows 7, Webcam7, analog cameras with a capture card. I'm starting from scratch. Windows 10, BI and wireless cameras. So far so good but I do have a few bits of functionality that I used to be able to do in Webcam7 that I have not been successful in duplicating in BI. I'm sure BI can do what I want, I'm just not sure how.
First, I am satellite based with a low monthly data cap. For that reason, my prior system as well as the new one will be based on still pics. Basically, the server runs BI and based on a motion trigger, it needs to capture a pic and FTP it to a remote website I built for viewing, archiving and deleting. On that site, I can see an hourly snap from each camera as well as a motions that were recorded for each camera. Also, the BI server needs to do a POST URL to that website when motions are detected. That will drive the remote website to send me an email which alerts me to look at the website.
I currently have three issues with this. Getting the hourly snaps to the website, sending the email, and being able to disable and enable individual cameras based on a schedule.
As far as the email sending, which is really BI POSTing the URL, I set up a Alert for each camera that goes off when each camera triggers. I then have it run a script that includes only one line which is 'start http://mydomain/programtorun?parms'. When I run BI not as service, it runs great. When BI runs as a service, I get nothing. I saw a thread directly relating to this and the answer is not to run the service under the LOCALMACHINE user but rather as an administrator. I changed the service to use my main user id but that did not resolve the problem. I don't think this is a BI problem but rather me not fully understanding the service/user relationship. I get the impression that LOCALMACHINE does not have the authority to allow me to run the start command on a remote web server. If it matters, my main user id does not have a password. That is so that it can boot up after a power failure. I don't think I need that when running as a service but that's what I used to do on the old webcam7 machine. As an aside, I also changed the BIOS so that it will boot after a power fail. It could be that there is a much simpler way to send an email rather than shelling out to the script. Ideas? RESOLVED
About the hourly snaps, first I need to either have different filename structure from the snaps that come from motion triggers or be able to direct them to a different directory on the remote server. BI needs to take a snap from each camera at the top of the hour and FTP it to the remote site. I tried using the 'JPEG snapshot each (mm:ss)' on the Record tab. I have the filename format different than on the POST tab. All the motion triggers have the filename format from the POST page. I have never seen a file get generated with the RECORD tab format. Ideas? RESOLVED
The scheduling I need for each camera is to be able to disable it or enable it based on a schedule. The reason is that at night, I get random triggers when bugs or raindrops are in front of the IR. My solution of is certainly not perfect. I live in a very remote area. Closest street light is 10 miles away. No close neighbors. I've not found the IR on the old analog cameras to not be worth a darn so I just turned ignored motions during night hours. Maybe I'll try turning off the IR on the cameras and see if that stops the bug/rain triggers. This is not my biggest problem at this point. I'm much more interested in solving the above to issues.
I realize that was a lot but I wanted to provide background so it got wordy. And help or thought you might have will be greatly appreciated.
Thanks in advance.
Robert
New to BI and this forum. My new member info is here.
I am rebuilding my security system. My old was Windows 7, Webcam7, analog cameras with a capture card. I'm starting from scratch. Windows 10, BI and wireless cameras. So far so good but I do have a few bits of functionality that I used to be able to do in Webcam7 that I have not been successful in duplicating in BI. I'm sure BI can do what I want, I'm just not sure how.
First, I am satellite based with a low monthly data cap. For that reason, my prior system as well as the new one will be based on still pics. Basically, the server runs BI and based on a motion trigger, it needs to capture a pic and FTP it to a remote website I built for viewing, archiving and deleting. On that site, I can see an hourly snap from each camera as well as a motions that were recorded for each camera. Also, the BI server needs to do a POST URL to that website when motions are detected. That will drive the remote website to send me an email which alerts me to look at the website.
I currently have three issues with this. Getting the hourly snaps to the website, sending the email, and being able to disable and enable individual cameras based on a schedule.
As far as the email sending, which is really BI POSTing the URL, I set up a Alert for each camera that goes off when each camera triggers. I then have it run a script that includes only one line which is 'start http://mydomain/programtorun?parms'. When I run BI not as service, it runs great. When BI runs as a service, I get nothing. I saw a thread directly relating to this and the answer is not to run the service under the LOCALMACHINE user but rather as an administrator. I changed the service to use my main user id but that did not resolve the problem. I don't think this is a BI problem but rather me not fully understanding the service/user relationship. I get the impression that LOCALMACHINE does not have the authority to allow me to run the start command on a remote web server. If it matters, my main user id does not have a password. That is so that it can boot up after a power failure. I don't think I need that when running as a service but that's what I used to do on the old webcam7 machine. As an aside, I also changed the BIOS so that it will boot after a power fail. It could be that there is a much simpler way to send an email rather than shelling out to the script. Ideas? RESOLVED
About the hourly snaps, first I need to either have different filename structure from the snaps that come from motion triggers or be able to direct them to a different directory on the remote server. BI needs to take a snap from each camera at the top of the hour and FTP it to the remote site. I tried using the 'JPEG snapshot each (mm:ss)' on the Record tab. I have the filename format different than on the POST tab. All the motion triggers have the filename format from the POST page. I have never seen a file get generated with the RECORD tab format. Ideas? RESOLVED
The scheduling I need for each camera is to be able to disable it or enable it based on a schedule. The reason is that at night, I get random triggers when bugs or raindrops are in front of the IR. My solution of is certainly not perfect. I live in a very remote area. Closest street light is 10 miles away. No close neighbors. I've not found the IR on the old analog cameras to not be worth a darn so I just turned ignored motions during night hours. Maybe I'll try turning off the IR on the cameras and see if that stops the bug/rain triggers. This is not my biggest problem at this point. I'm much more interested in solving the above to issues.
I realize that was a lot but I wanted to provide background so it got wordy. And help or thought you might have will be greatly appreciated.
Thanks in advance.
Robert
Last edited by a moderator: