Security Camera Plugin

Posted on
Fri Dec 16, 2016 3:48 pm
Different Computers offline
User avatar
Posts: 2579
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

I think I'm giving up on the Foscam plugin. So I'm trying Security Camera.

I'm getting this:
Code: Select all
  Security Camera Error           Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 471, in runConcurrentThread
IndexError: list index out of range

   Security Camera Error           plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
over and over again.

Also, I feel like I'm missing something major and maybe obvious: The docs talk about "actions" but aside from a device that shows as "on" I have no ability to do anything to or with the device. Where are these actions supposed to be evident?

Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana. UnifiAP

Posted on
Fri Dec 16, 2016 4:02 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

Different Computers wrote:
I think I'm giving up on the Foscam plugin. So I'm trying Security Camera.

I'm getting this:
Code: Select all
  Security Camera Error           Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 471, in runConcurrentThread
IndexError: list index out of range

   Security Camera Error           plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
over and over again.

Also, I feel like I'm missing something major and maybe obvious: The docs talk about "actions" but aside from a device that shows as "on" I have no ability to do anything to or with the device. Where are these actions supposed to be evident?


I think I know where the error is coming from. I'll take a look as soon as I get home tonight.


Sent from my iPhone using Tapatalk

Posted on
Fri Dec 16, 2016 4:07 pm
Different Computers offline
User avatar
Posts: 2579
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

I also notice that the Indigo 6 web server directory is the plugin's default image location.

Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana. UnifiAP

Posted on
Sat Dec 17, 2016 10:06 am
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

How many cameras do you have set up? Can you turn on debug (flag in the device setup) and send me the output?

regarding the v7 folder - I'll be releasing an update in the next few days that will address this.

-Bert

Posted on
Sat Dec 17, 2016 2:04 pm
whmoorejr offline
User avatar
Posts: 763
Joined: Jan 15, 2013
Location: Houston, TX

Re: Security Camera Plugin

Different Computers wrote:
I think I'm giving up on the Foscam plugin. So I'm trying Security Camera


I'm sorta using both. (At least that is the direction I'm moving towards)

I think the Foscam plugin is great for monitoring cameras and creating triggers off of motion events.... but I have had issues from day one with the way it captures images.

I think this plugin does a much better job with image capture and manipulation and the use of symlinks will make my control pages pretty magical once set up.

Unfortunately, I had to re-format my computer to get another plugin to work properly (un related). I probably won't have time to tinker with this plugin again until well after Christmas. Dang kids want me to spend time with them.

Bill
My Plugin: My People

Posted on
Sat Dec 17, 2016 3:34 pm
Different Computers offline
User avatar
Posts: 2579
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

How many cameras do you have set up? Can you turn on debug (flag in the device setup) and send me the output?


Kinda depends on what you mean by "set up." Defined? 2. Working? 0. I get the created folder structure in /video, but the "not active" image.

May have just found the problem. I had "http://: in the address location.

Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana. UnifiAP

Posted on
Sat Dec 17, 2016 3:36 pm
Different Computers offline
User avatar
Posts: 2579
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

Nope.

Code: Select all
Security Camera Error           plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Error           Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 471, in runConcurrentThread
IndexError: list index out of range

   Security Camera Error           plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.


and so on like that.

Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana. UnifiAP

Posted on
Sun Dec 18, 2016 4:07 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

I just updated the git hub code to version 1.3.7. I believe this will fix the error. Please let me know.

-Bert

Posted on
Mon Dec 19, 2016 10:46 am
Different Computers offline
User avatar
Posts: 2579
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

Alas, no joy:
Code: Select all
Started plugin "Security Camera 1.3.7"
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Error           Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 471, in runConcurrentThread
IndexError: list index out of range

   Security Camera Error           plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
I even disabled the two plugins I'm having other trouble with to make sure the error is with SC.

Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana. UnifiAP

Posted on
Mon Dec 19, 2016 2:25 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

Ok - couple of things to try 1) open each of your camera devices and re-save them. 2) I just created an update with some additional error tracking -1.3.8 - give it a try and send me the output. 3) can you send me screen shots of your device configuration? Please redact any user names or passwords in the camera URL. Thanks for your patience.


Sent from my iPhone using Tapatalk

Posted on
Mon Dec 19, 2016 3:18 pm
Different Computers offline
User avatar
Posts: 2579
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

I'll do one better: I'll delete & re-add the devices.

Stand by!

Oddly, I deleted the devices, but THEN re-enabled the plug in and got
Code: Select all
  Enabling plugin "Security Camera 1.3.7"
   Starting plugin "Security Camera 1.3.7" (pid 9839)
   Foscam HD Controller Error      alarmFtpImageFolder: Line '689' has error='550 Can't change directory to 20161219-160000: No such file or directory'
   Trigger                         Breezeway camera motion
   Virtual Devices                 sent "Motion Detectors" on
   Breezeway camera                Motion detected by breezeway camera
   Started plugin "Security Camera 1.3.7"
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 146
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 147
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 148
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 149
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 150
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 151
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 152
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 153
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 154
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 155
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 156
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 157
   Security Camera Debug           Starting Loop
   Security Camera Debug           Main Dir/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/video
   Security Camera Debug           Recording Flag0
   Security Camera Debug           Play Recording0
   Security Camera Debug           Start Master Image Copy
   Security Camera Debug           0
   Security Camera Debug           Master Camera image not found.
   Security Camera Debug           Error copying Carousel Image: 158
   Security Camera Debug           Starting Loop
etc.
.

Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana. UnifiAP

Posted on
Mon Dec 19, 2016 3:25 pm
Different Computers offline
User avatar
Posts: 2579
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

The MOMENT I finished defining a cam, I got this:
Code: Select all
 Security Camera Debug           Master Camera image not found.
   Security Camera Error           Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 471, in runConcurrentThread
IndexError: list index out of range

   Security Camera Error           plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


See below for the config, and here's the URL I'm using for the cam: http://192.168.0.230:88/cgi-bin/CGIProx ... apPicture2
Attachments
Screen Shot 2016-12-19 at 4.24.17 PM.png
Screen Shot 2016-12-19 at 4.24.17 PM.png (66.57 KiB) Viewed 5168 times

Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana. UnifiAP

Posted on
Mon Dec 19, 2016 5:26 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

Thanks for the info and sorry about the problems. I'll take a look at the log file more closely tonight. There is a step where it iterates through the devices to configure the carousel function. It seems to be erring on that process but it is not clear why. I'll work on trapping that specific error and responding more "gently". Then figure out why it is erring to begin with.


Sent from my iPhone using Tapatalk

Posted on
Tue Dec 20, 2016 12:17 am
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

OK - I do believe I found and fixed the issue. Give it another try. Version 1.3.9.

Posted on
Tue Dec 20, 2016 1:37 am
MarcoGT offline
Posts: 1105
Joined: Sep 11, 2014
Location: Germany

Re: Security Camera Plugin

Hi,

will it work on Indigo6?
Can this plugin be used to replace for example Evocam? (unfortunately no longer developed/supported, website is also down)

Who is online

Users browsing this forum: No registered users and 1 guest