Security Camera Plugin

Posted on
Mon Jun 12, 2017 4:26 pm
johnpolasek offline
Posts: 911
Joined: Aug 05, 2011
Location: Aggieland, Texas

Re: Security Camera Plugin

Got a problem hen when I upgraded to 1.6...

    Security Camera Error Error in plugin execution runConcurrentThread:

    Traceback (most recent call last):
    File "plugin.py", line 605, in runConcurrentThread
    KeyError: 'key RecordingPause not found in dict'

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

    Traceback (most recent call last):
    File "plugin.py", line 605, in runConcurrentThread
    KeyError: 'key RecordingPause not found in dict'

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

    Traceback (most recent call last):
    File "plugin.py", line 605, in runConcurrentThread
    KeyError: 'key RecordingPause not found in dict'

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

    Traceback (most recent call last):
    File "plugin.py", line 605, in runConcurrentThread
    KeyError: 'key RecordingPause not found in dict'

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

Posted on
Mon Jun 12, 2017 7:01 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

Sorry - haven't had time to post a fix. Just open the plugin and re-save.


Sent from my iPhone using Tapatalk

Posted on
Sat Jun 17, 2017 10:35 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

Just release 1.6.2 that should fix this issue.

Posted on
Sun Jun 18, 2017 5:29 am
johnfdl offline
Posts: 177
Joined: May 18, 2017
Location: Atlanta, GA USA

Re: Security Camera Plugin

Just a small nit, when I click in Pugins->Security Camera->About Security Camera, it takes me to the Dynamic Control plugin page.

Posted on
Sun Jun 18, 2017 9:47 am
Different Computers offline
User avatar
Posts: 2531
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

Just upgraded. Opened the plugin config & re-saved. opened this camera & checked settings.

Still getting
Code: Select all
 Security Camera Error           Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 917, in Snapshot
KeyError: key Quality not found in dict

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Mon Jun 19, 2017 8:09 am
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

Different Computers wrote:
Just upgraded. Opened the plugin config & re-saved. opened this camera & checked settings.

Still getting
Code: Select all
 Security Camera Error           Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 917, in Snapshot
KeyError: key Quality not found in dict


Do you get the error on start up or when taking a snapshot via the snapshot action? If the later, check the action and see if it has a resolution specified.


Sent from my iPhone using Tapatalk

Posted on
Mon Jun 19, 2017 8:10 am
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

johnfdl wrote:
Just a small nit, when I click in Pugins->Security Camera->About Security Camera, it takes me to the Dynamic Control plugin page.


Should be fixed in 1.6.2 release


Sent from my iPhone using Tapatalk

Posted on
Mon Jun 19, 2017 9:46 am
Different Computers offline
User avatar
Posts: 2531
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

bkmar1192 wrote:
If the later, check the action and see if it has a resolution specified.


Looks like this was it. Thanks!

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Tue Jun 20, 2017 5:18 pm
Different Computers offline
User avatar
Posts: 2531
Joined: Jan 02, 2016
Location: East Coast

Re: Security Camera Plugin

OK, and here's a new thing:

The carousel image seems to be stuck on one camera. I can look at images being captured by the plugin via multiple other methods, but the carousel image appears to be refreshing only a single camera, over and over again. I have not seen this behavior before.

Update: I've tried toggling the carousel. No change.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun Sep 24, 2017 11:13 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Security Camera Plugin

---- NEW VERSION 2.0 ----

New version of the Security Camera plugin with performance and motion detection improvements. This is a significant change to the base code of the plugin, please read all instructions below before upgrading.

Camera: Better performance and provides both standard and digest authentication.

Motion: Significant change in how motion is detected and reported. Will now show where the motion is detected and provides size and shape details of the detected objects.

PLEASE NOTE: This is a major new release of the Security camera software. Before upgrading please:

1. Turn off all cameras from within the previous version of the plugin (not the camera itself).
2. Perform the upgrade.
3. Open the plugin configuration and save.
4. Open each of the camera devices and re-save.
5. Turn cameras back on.

PLEASE NOTE: The motion sensing has dramatically change and previous use of motion detection triggers will no longer work. Please read the manual to reset all of your motion detection.

Cameras:

- Improved performace
- Use of Request code
- Handles basic and digest authentication
- Code improvements and clean-up
- More efficient file handling

Motion:

- Object detection
- Improved performance
- More detailed motion triggering
- Live motion display

Posted on
Mon Sep 25, 2017 8:50 am
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Security Camera Plugin

Just tried to install the new Version 2, never installed before so brand new install.

Indigo log after install

2017-09-25 11:37:02.781 Application Installing and enabling plugin Security Camera v2.0
2017-09-25 11:37:02.782 Application Loading plugin "Security Camera 2.0"
2017-09-25 11:37:02.784 Application Starting plugin "Security Camera 2.0" (pid 31740)
2017-09-25 11:37:03.187 Security Camera Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 22, in <module>
ImportError: No module named PIL

2017-09-25 11:37:03.187 Application Stopping plugin "Security Camera 2.0" (pid 31740)
2017-09-25 11:37:04.004 Application Stopped plugin "Security Camera 2.0"
2017-09-25 11:40:04.551 Application Reloading plugin "Security Camera 2.0"
2017-09-25 11:40:04.553 Application Starting plugin "Security Camera 2.0" (pid 31971)
2017-09-25 11:40:04.817 Security Camera Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 22, in <module>
ImportError: No module named PIL

2017-09-25 11:40:04.818 Application Stopping plugin "Security Camera 2.0" (pid 31971)
2017-09-25 11:40:05.731 Application Stopped plugin "Security Camera 2.0"

Decided a reboot of the Mac mini might help (yes years of using Windows!!!) but still no joy.

Started plugin "Z-Wave Lock Manager 1.0.45"
Started plugin "Action Collection 2.0.4"
Started plugin "Timed Devices 0.0.13"
Reflector starting reflector connection to https://xxxxxxxxxx.indigodomo.net
Started plugin "Online Sensor 0.0.9"
Security Camera Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 22, in <module>
ImportError: No module named PIL

Stopping plugin "Security Camera 2.0" (pid 930)
Stopped plugin "Security Camera 2.0"
Started plugin "Honeywell 0.5.1

Did a few checks in Terminal

Last login: Mon Sep 25 11:42:07 on console
Mac-mini:~ Indigo$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
Mac-mini:~ Indigo$ sudo -H pip3 install Pillow
Password:
sudo: pip3: command not found
Mac-mini:~ Indigo$ sudo -H pip install Pillow
Password:
Requirement already satisfied: Pillow in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requirement already satisfied: olefile in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from Pillow)
Mac-mini:~ Indigo$

Is the Versions/2.7/bin/python and Versions/2.7/lib/python2.7/ being different the problem?

CliveS

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Mon Sep 25, 2017 10:13 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

I have had someone else with this same problem and I am stumped on how to fix it. I am going to post a question to the larger community and see if I get any assistance.

CliveS wrote:
Just tried to install the new Version 2, never installed before so brand new install.

Indigo log after install

2017-09-25 11:37:02.781 Application Installing and enabling plugin Security Camera v2.0
2017-09-25 11:37:02.782 Application Loading plugin "Security Camera 2.0"
2017-09-25 11:37:02.784 Application Starting plugin "Security Camera 2.0" (pid 31740)
2017-09-25 11:37:03.187 Security Camera Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 22, in <module>
ImportError: No module named PIL

2017-09-25 11:37:03.187 Application Stopping plugin "Security Camera 2.0" (pid 31740)
2017-09-25 11:37:04.004 Application Stopped plugin "Security Camera 2.0"
2017-09-25 11:40:04.551 Application Reloading plugin "Security Camera 2.0"
2017-09-25 11:40:04.553 Application Starting plugin "Security Camera 2.0" (pid 31971)
2017-09-25 11:40:04.817 Security Camera Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 22, in <module>
ImportError: No module named PIL

2017-09-25 11:40:04.818 Application Stopping plugin "Security Camera 2.0" (pid 31971)
2017-09-25 11:40:05.731 Application Stopped plugin "Security Camera 2.0"

Decided a reboot of the Mac mini might help (yes years of using Windows!!!) but still no joy.

Started plugin "Z-Wave Lock Manager 1.0.45"
Started plugin "Action Collection 2.0.4"
Started plugin "Timed Devices 0.0.13"
Reflector starting reflector connection to https://xxxxxxxxxx.indigodomo.net
Started plugin "Online Sensor 0.0.9"
Security Camera Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 22, in <module>
ImportError: No module named PIL

Stopping plugin "Security Camera 2.0" (pid 930)
Stopped plugin "Security Camera 2.0"
Started plugin "Honeywell 0.5.1

Did a few checks in Terminal

Last login: Mon Sep 25 11:42:07 on console
Mac-mini:~ Indigo$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
Mac-mini:~ Indigo$ sudo -H pip3 install Pillow
Password:
sudo: pip3: command not found
Mac-mini:~ Indigo$ sudo -H pip install Pillow
Password:
Requirement already satisfied: Pillow in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requirement already satisfied: olefile in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from Pillow)
Mac-mini:~ Indigo$

Is the Versions/2.7/bin/python and Versions/2.7/lib/python2.7/ being different the problem?

CliveS

Posted on
Sat Sep 30, 2017 5:48 am
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Security Camera Plugin

Finally got Security Camera installed (see http://forums.indigodomo.com/viewtopic.php?f=108&t=19104&p=145998#p145998 )

One thing I did notice is that the configuration settings are pointing to Indigo 6 directory, perhaps time to change that to 7 or check version and adjust (says a non programmer!!!)

Now off to read the manual and see what I can do with my 3 Hikvision cameras.

CliveS

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sat Sep 30, 2017 10:29 am
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Security Camera Plugin

CliveS wrote:
Finally got Security Camera installed (see http://forums.indigodomo.com/viewtopic.php?f=108&t=19104&p=145998#p145998 )

One thing I did notice is that the configuration settings are pointing to Indigo 6 directory, perhaps time to change that to 7 or check version and adjust (says a non programmer!!!)

Now off to read the manual and see what I can do with my 3 Hikvision cameras.

CliveS


Hmmmm... thought I had fixed that. I'll go take a look.


Sent from my iPhone using Tapatalk

Posted on
Sun Oct 01, 2017 6:48 am
johnpolasek offline
Posts: 911
Joined: Aug 05, 2011
Location: Aggieland, Texas

Re: Security Camera Plugin

Hmmm, I was going to update, but sounds like I need to wait for things to settle a little since everything is working fine now and I'm not using motion sensing. And the camera info is too valuable to lose...

Who is online

Users browsing this forum: No registered users and 1 guest