Perry,
Do you plan on adding an option in the drop down to detect Animal motion? I see that's detected in the latest version of SecuritySpy.
Cynical SecuritySpy Plugin request: Animal Detection
- durosity
- Posts: 4385
- Joined: Thu May 10, 2012 3:21 pm
- Location: Newcastle Upon Tyne, Ye Ol' England.
Re: Cynical SecuritySpy Plugin request: Animal Detection
I've not used SS in a while, but still have a valid licence for it mostly replaced by Unifi Protect).. does the animal detection work well.. and does it detect individual animals?
Computer says no.
Re: Cynical SecuritySpy Plugin request: Animal Detection
I haven't exercised it enough to know. "Animal" is now an option along with "Vehicle" and "Human" so I just checked it.
Re: Cynical SecuritySpy Plugin request: Animal Detection
I made the changes myself on my local copy of the plugin by adding the lines with "animal" in the following files:
plugin.py:
spy/core.py:
plugin.py:
Code: Select all
DETECTION_REASONS = [
("any", "Anything"),
("animal", "Animal detected in camera picture"),
("human", "Human detected in camera picture"),
("vehicle", "Vehicle detected in camera picture"),
("motion", "Other motion in camera picture"),
("manual", "Triggered manually"),
("audio", "Sound detected"),
("applescript", "Triggered by Applescript"),
("camera", "Reported by camera"),
("crosscamera", "Triggered by another camera"),
("web", "Triggered via web interface"),
]
Code: Select all
# motion report codes (translated to string sets)
MOTION_CODES = {
1: "motion",
2: "audio",
4: "applescript",
8: "camera",
16: "web",
32: "crosscamera",
64: "manual",
128: "human",
256: "vehicle",
512: "animal",
}
- durosity
- Posts: 4385
- Joined: Thu May 10, 2012 3:21 pm
- Location: Newcastle Upon Tyne, Ye Ol' England.
Re: Cynical SecuritySpy Plugin request: Animal Detection
Nice work! I’ll have to have a look at it, see if I can get it to play nice with unifi protect.
Sent from my iPhone using Tapatalk Pro
Sent from my iPhone using Tapatalk Pro
Computer says no.
Re: Cynical SecuritySpy Plugin request: Animal Detection
Hey Perry,
Your latest release of this plug-in didn't incorporate the modifications I made above to allow animal detection. When I updated to your plug-in, it blew away the changes I made to the local copy here.
Could you kindly add animal detection to the plug-in so that it's there the next time you release it?
Your latest release of this plug-in didn't incorporate the modifications I made above to allow animal detection. When I updated to your plug-in, it blew away the changes I made to the local copy here.
Could you kindly add animal detection to the plug-in so that it's there the next time you release it?