Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Posted on
Sat Nov 05, 2011 5:03 pm
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Hi Perry -- I'm getting an authentication error. I tried creating a new server device, and I tried changing the username/password in SS (to make sure I had them specified in the plugin dialog correctly). I consistently get 401 errors:

Code: Select all
  Cynical SecuritySpy             ss server2 reconfiguring because username has changed
  Cynical SecuritySpy             ss server2 reset
  Cynical SecuritySpy             ss server2 is now ready
  Cynical SecuritySpy Error       event tap failed (http 401)
  Cynical SecuritySpy Error       ss server2 unavailable: ('401', 'Unauthorized')

If I turn Web authentication off in SS, then it works.

Image

Posted on
Sat Nov 05, 2011 11:09 pm
Perry The Cynic offline
Posts: 840
Joined: Apr 07, 2008

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Check your Accounts Setup pane for the user you're using. What is enabled there?

It looks like you need at minimum Receive live video to actually see a camera, and Allow access to general settings (at the bottom) to engage the event tap (which is now mandatory).

Cheers
-- perry

Posted on
Sun Nov 06, 2011 11:07 am
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Yep, that was it. Once I enabled Allow access to general settings everything is working. This is a terrific plugin.

Image

Posted on
Fri Jan 13, 2012 2:52 pm
AlaskaDave offline
User avatar
Posts: 293
Joined: Oct 16, 2008
Location: Juneau, Alaksa

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

What could I be missing? I've set up a device for my one camera in SecuritySpy and it indicates the "ready" state as a device but when I try to create a recording action with the plug-in I don't get any devices listed in the drop down. If I proceed as it normal and trigger the action is see the below in the event log:

Jan 13, 2012 11:44:42 AM
Cynical SecuritySpy Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Cynical SecuritySpy.indigoPlugin/Contents/Server Plugin/cyin/plug.py", line 320, in __call__
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Cynical SecuritySpy.indigoPlugin/Contents/Server Plugin/cyin/plug.py", line 347, in action
<type 'exceptions.AttributeError'>: 'Record' object has no attribute 'perform'

Thanks for any assistance you might be able to give.

Posted on
Fri Jan 13, 2012 2:59 pm
AlaskaDave offline
User avatar
Posts: 293
Joined: Oct 16, 2008
Location: Juneau, Alaksa

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Got it figured. I created a second device using the camera setting rather than server and that took. Previously I was editing the same device by changing from server and camera...etc and that "seems" to be the culprit.

Posted on
Sat Jun 23, 2012 1:24 pm
Korey offline
User avatar
Posts: 816
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Hey Perry,

Any chance of adding the option to display a Variable from Indigo on the overlay mask section?
i.e: to embed the current temperature (or whatever) with the video?

Thanks again for this great plugin!
Attachments
Screen Shot 2012-06-23 at 2.22.45 PM.PNG
Screen Shot 2012-06-23 at 2.22.45 PM.PNG (55.64 KiB) Viewed 5783 times

--
Korey

Posted on
Sat Jun 23, 2012 9:14 pm
Perry The Cynic offline
Posts: 840
Joined: Apr 07, 2008

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Any chance of adding the option to display a Variable from Indigo on the overlay mask section?
i.e: to embed the current temperature (or whatever) with the video?


Stay tuned. It's in the works. If you want to try out a beta (and I mean beta - you help test it), drop me a line.

Cheers
-- perry

Posted on
Sat Nov 10, 2012 1:33 pm
terrydew offline
Posts: 258
Joined: Jun 10, 2011

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

I have just installed a new mac mini and did not use migration assistant. I downloaded or directly copied all of the indigo and security spy file form the old one. ever since i am getting the following errors I have spent all dat looking for the cause and have given up. Any ideas?


I have only showed one but am getting the same error for all cameras. Errors begin when I access control pages either vis browser or indigo touch.

WebServer http://myaddress.com:8000/++image?camer ... quality=50 load error: <urlopen error timed out>

Found the problem. It is the new securityspy version 2.2.1. Ben added some enhanced web security that I think caused the errors. When I reverted to 2.20 everything worked fine. Don't upgrade to 2.2.1 until he gets this fixed.

Posted on
Mon Nov 12, 2012 8:28 am
terrydew offline
Posts: 258
Joined: Jun 10, 2011

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Bensoftware has suggested that I change the ++image to ++video to solve the problem with the new version of securityspy.

Matt, Jay Will indigo support an mjpeg video stream on control pages?

Posted on
Mon Nov 12, 2012 8:32 am
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

No, Control Pages only support images.

Image

Posted on
Mon Nov 12, 2012 9:02 am
terrydew offline
Posts: 258
Joined: Jun 10, 2011

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Thanks Matt for the prompt reply.

Could this be changed or is video just a no no?

Posted on
Mon Nov 12, 2012 9:16 am
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

I'd love to have streaming video some day on Control Pages, but currently there is no way to do it.

Image

Posted on
Wed Nov 14, 2012 7:37 am
Korey offline
User avatar
Posts: 816
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Hey Perry,

Indigo 6 Beta 1: :(

Starting plugin "Cynical SecuritySpy 1.1.0b1" (pid 667)
Cynical SecuritySpy Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Cynical SecuritySpy.indigoPlugin/Contents/Server Plugin/cyin/asynplugin.py", line 41, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Cynical SecuritySpy.indigoPlugin/Contents/Server Plugin/cyin/plug.py", line 81, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Cynical SecuritySpy.indigoPlugin/Contents/Server Plugin/cyin/plug.py", line 112, in check_compatibility
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/version.py", line 40, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/version.py", line 107, in parse
<type 'exceptions.ValueError'>: invalid version number '6.0.0 b1'

Stopping plugin "Cynical SecuritySpy 1.1.0b1" (pid 667)
Stopped plugin "Cynical SecuritySpy 1.1.0b1"
Attachments
Screen shot 2012-11-14 at 7.32.58 AM.png
Screen shot 2012-11-14 at 7.32.58 AM.png (65.89 KiB) Viewed 5539 times

--
Korey

Posted on
Wed Nov 14, 2012 11:16 am
keifer1 offline
Posts: 87
Joined: Oct 21, 2012

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Close to same error but have and shows b2 ver on my system.

Nov 14, 2012 12:12:08 PM
Reloading plugin "Cynical SecuritySpy 1.1.0b2"
Stopping plugin "Cynical SecuritySpy 1.1.0b2" (pid 7181)
Stopped plugin "Cynical SecuritySpy 1.1.0b2"
Starting plugin "Cynical SecuritySpy 1.1.0b2" (pid 7205)
Cynical SecuritySpy Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Cynical SecuritySpy.indigoPlugin/Contents/Server Plugin/cyin/asynplugin.py", line 40, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Cynical SecuritySpy.indigoPlugin/Contents/Server Plugin/cyin/plug.py", line 93, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Cynical SecuritySpy.indigoPlugin/Contents/Server Plugin/cyin/plug.py", line 141, in check_compatibility
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/version.py", line 40, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/version.py", line 107, in parse
<type 'exceptions.ValueError'>: invalid version number '6.0.0 b1'

Stopping plugin "Cynical SecuritySpy 1.1.0b2" (pid 7205)
Stopped plugin "Cynical SecuritySpy 1.1.0b2"

Computer Keith
Mt Pleasant SC - Charleston
Indi-Go -Go-Go

Posted on
Thu Nov 15, 2012 7:46 am
terrydew offline
Posts: 258
Joined: Jun 10, 2011

Re: Cynical SecuritySpy: Integrate SecuritySpy with Indigo

Matt on the video question above, bensoftware just releases new securityspy version to provide for mpeg 4 video and audio feed. I assume that this and/or indigo 6 doesn't change the ability to see video on control page?

Who is online

Users browsing this forum: No registered users and 3 guests