Close

API to disable alerting or cameras

Like to see something in a future release? Post your suggestions here.

Moderator: Staff

no avatar
whoamib
 
Posts: 12
Joined: Sun Oct 24, 2010 1:17 pm

API to disable alerting or cameras

by whoamib » Mon Feb 06, 2017 12:43 pm

So I really need to be able to disable all or some cameras completely or disable just email alerting on all cameras via an API. For the last 6 years I've used AutoIT to actually do the key strokes to disable email alerting or the cameras but that is clunky and not all that reliable. If I could even figure out how to modify a registry string that would be fine with me. But the reason for this is so when I arrive at my home or cabin I would like recording to continue but email alerts to stop. And I need my home automation to trigger that. Right now I have my home automation send an email which triggers a script on the computer running sighthound to run AutoIT to disable the cameras or just alerts. I also have home automation disable alerts when it's going to snow overnight because that tends to send massive amount of false positives.

no avatar
JPElectron
 
Posts: 48
Joined: Tue May 31, 2011 12:52 am

Re: API to disable alerting or cameras

by JPElectron » Wed Feb 22, 2017 12:56 am

The way I handle this is have Sighthound run custom scripts...

In the script do something like if files.txt exists then continue running script, or if files.txt does not exist then goto exit, this way you don't have to keep changing the Sighthound config, it always runs the script(s) but what your script does is changed by the presence or lack of a dropped file which your home automation system can control.

no avatar
whoamib
 
Posts: 12
Joined: Sun Oct 24, 2010 1:17 pm

Re: API to disable alerting or cameras

by whoamib » Wed Feb 22, 2017 12:35 pm

The problem with that is the alerts I'm trying to disable are email alerts with an image in the email. That can't be done within a script. That I know of.

User avatar
ryan
 
Posts: 1015
Joined: Wed Aug 25, 2010 2:52 pm
Location: Palo Alto, California

Re: API to disable alerting or cameras

by ryan » Wed Feb 22, 2017 4:36 pm

Thanks for the request. While there isn't an officially supported way to do this currently you might want to take a look at this post: topic12398
Learn more about Sighthound Video in our support pages - Reference Guide | All Articles
Are you a developer? Check out our cloud APIs - Demo | Docs

no avatar
whoamib
 
Posts: 12
Joined: Sun Oct 24, 2010 1:17 pm

Re: API to disable alerting or cameras

by whoamib » Thu Feb 23, 2017 9:48 am

Thank you that other post is helpful, but still doesn't allow me to just disable email alerting remotely. That script in the post only enables or disables cameras. I specifically only want to disable alerting because when it snows on outside camera's I get emails all night long. I know I can increase the timeout, but that only works for emails not for script actions. Please help resolve.

User avatar
ryan
 
Posts: 1015
Joined: Wed Aug 25, 2010 2:52 pm
Location: Palo Alto, California

Re: API to disable alerting or cameras

by ryan » Thu Feb 23, 2017 6:48 pm

I'm afraid I can't offer a resolution as there is no way to accomplish what you are asking within the application at this time.
Learn more about Sighthound Video in our support pages - Reference Guide | All Articles
Are you a developer? Check out our cloud APIs - Demo | Docs


Return to Feature Requests