•   
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 30
  •   
Release Surveillance Room - Your IP Camera Companion with extra Foscam HD Support
#76
I found some differences in the configuration and made changes, giving it a try.
Something Ive noticed is the slide-in box occasionally displays a warning triangle instead of the picture. What causes that?
Reply
#77
The error image is because the add on is unable to get the image or the mjpeg stream failed or times out. These are both related to connection to the camera. You could try increasing the timeout in the add-on settings if you ba e a slow connection. Or decrease the camera settings image quality. Or try one of the other types for the preview. Snapshots should be the lowest overhead and least complex. You could start there if you are using mjpeg.
Reply
#78
Pretty happy with my v1.2.2 release which overcame a few bugs which were hard for me to get sorted out! Added the ability to choose what to play by selecting an open preview!

Next weekend I'm back to working on Camera API stuff. Later I'll be figuring out how to expand the All Camera Player to show all 6 cameras, not just the first 4.
Reply
#79
Hello,

I have installed your plugin videosurveillance but

How to install your " Additional Context Menu Addons " ?

thks[/align]
Reply
#80
How's it going. First, thanks for your work and effort on this plugin. I'm having an issue with previews not showing up though alarms are detected. I'm using a FireTV with Jarvis beta. Looking at the log I'm seeing this error with regard to Surveillance Room.

Code:
18:35:48 T:1685424168   ERROR: plugin.video.surveillanceroom v1.2.1: ERROR   : Foscam exception:
18:35:48 T:1685424168   ERROR: Exception in thread Thread-7:
                                            Traceback (most recent call last):
                                              File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/threading.py", line 532, in __bootstrap_inner
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.surveillanceroom/service.py", line 51, in run
                                                alarmActive = self.alarmStateHealthCheck()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.surveillanceroom/service.py", line 118, in alarmStateHealthCheck
                                                self.previewWindow.close()
                                            AttributeError: 'CameraPreviewThread' object has no attribute 'previewWindow'

Any tips on this? Sometimes the preview will show. But seems more often it doesn't. If it's simply not supported for this version of Kodi, don't worry about it. OK have a good one.
Reply
#81
@randomuser - Two things. First, please update to version 1.2.2 I uploaded earlier today as that embarrassing coding error is fixed. However, it was only detected because the camera connection isn't healthy. Try increasing the timeout in the settings in case there is any network lag. From the blank exception message (line one) I'd assume it's not receiving a response from your camera when it checks for the status.

@vbarreaux - You can install them from my repository or download the zip files and 'install from zip' in the addon manager of KODI. Direct download URLs below:
Toggle Preview - https://github.com/maikito26/repository.maikito26.storage/raw/master/context.surveillanceroom.togglepreview/context.surveillanceroom.togglepreview-1.0.0.zip
Play - https://github.com/maikito26/repository.maikito26.storage/raw/master/context.surveillanceroom.play/context.surveillanceroom.play-1.0.2.zip
Reply
#82
Thanks for the information.

I have another problem with plugin.

I unable to view the camera in fullscreen .

I have just the preview.

What is the problem ?

thanks you
Reply
#83
vbarreaux - Can you describe what happens? Also grab a screenshot of the camera settings and set the log level to debug and PM me the log lines and I'll be able to give some advice!
Reply
#84
Hello ,
i installed 1.22 Version from Github, before i used foscam4HD without any problems on Helix 14.2.
Now the plugin starts with a script error, with debug log i can see that the connection to my Foscam EP 9853 is etablished.
Maybe someone can look at my logfile please.
The only thig i can see is the problem with the preview gui, whatever it means.

many greetings

nigelman


My log:
plugin.video.surveillanceroom v1.2.2: SERVICE :: **START**
19:31:27 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: SERVICE :: Log Level: Debug
19:31:27 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: SERVICE :: Python Version: 2.7.3 (default, Mar 31 2015, 16:41:07)
[GCC 4.9.2]; At Least 2.7: True
19:31:27 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Enabled: True; Preview Enabled: True
19:31:27 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Testing network connection to camera...
19:31:27 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Send Foscam command: http://10.0.3.3:88/cgi-bin/CGIProxy.fcgi...etDevState
19:31:27 T:1682953280 NOTICE: -->Python Interpreter Initialized<--
19:31:28 T:1755313216 NOTICE: Thread FileCache start, auto delete: false
19:31:29 T:1755313216 NOTICE: Thread PVRGUIInfo start, auto delete: false
19:31:36 T:1682953280 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: cannot import name previewgui
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.surveillanceroom-master/default.py", line 10, in <module>
from resources.lib import settings, monitor, allcameraplayer, cameraplayer, camerasettings, utils, previewgui
ImportError: cannot import name previewgui
-->End of Python script error report<--
19:31:37 T:1969610752 ERROR: GetDirectory - Error getting plugin://plugin.video.surveillanceroom/?content_type=executable
19:31:37 T:1969610752 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.surveillanceroom/?content_type=executable) failed
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Received Foscam response: 0, {'isWifiConnected': '0', 'wifiConnectedAP': None, 'ddnsState': '0', 'soundAlarm': '1', 'url': 'http%3A%2F%2Fhv3985.myfoscam.org%3A88', 'IOAlarm': '0', 'upnpState': '0', 'sdState': '0', 'record': '0', 'sdTotalSpace': '0k', 'ntpState': '1', 'motionDetectAlarm': '2', 'sdFreeSpace': '0k', 'infraLedState': '1'}
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Connection successful.
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Send Foscam command: http://10.0.3.3:88/cgi-bin/CGIProxy.fcgi...e&format=1
19:31:37 T:1682953280 NOTICE: Thread BackgroundLoader start, auto delete: false
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Received Foscam response: 0, {}
19:31:37 T:1741681728 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Send Foscam command: http://10.0.3.3:88/cgi-bin/CGIProxy.fcgi...tectConfig
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Preview Thread started.
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 2 :: Enabled: False; Preview Enabled: False
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 3 :: Enabled: False; Preview Enabled: False
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 4 :: Enabled: False; Preview Enabled: False
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 5 :: Enabled: False; Preview Enabled: False
19:31:37 T:1838310464 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 6 :: Enabled: False; Preview Enabled: False
19:31:38 T:1741681728 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Received Foscam response: 0, {'sensitivity': '2', 'schedule4': '281474976710655', 'schedule5': '281474976710655', 'schedule6': '281474976710655', 'schedule0': '281474976710655', 'schedule1': '281474976710655', 'schedule2': '281474976710655', 'schedule3': '281474976710655', 'area4': '1023', 'area5': '1023', 'area6': '1023', 'area7': '1023', 'area0': '1023', 'area1': '1023', 'area2': '1023', 'area3': '1023', 'snapInterval': '2', 'isEnable': '1', 'isPirAlarmEnable': '0', 'isMovAlarmEnable': '0', 'triggerInterval': '15', 'linkage': '0', 'area8': '1023', 'area9': '1023'}
19:31:38 T:1741681728 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Send Foscam command: http://10.0.3.3:88/cgi-bin/CGIProxy.fcgi...larmConfig
19:31:38 T:1741681728 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Received Foscam response: 0, {'schedule4': '281474976710655', 'isEnable': '1', 'sensitivity': '1', 'triggerInterval': '15', 'schedule5': '281474976710655', 'schedule6': '281474976710655', 'schedule0': '281474976710655', 'schedule1': '281474976710655', 'schedule2': '281474976710655', 'schedule3': '281474976710655', 'snapInterval': '2', 'linkage': '0'}
19:31:39 T:1634882624 NOTICE: Thread BackgroundLoader start, auto delete: false
19:31:39 T:1682953280 NOTICE: plugin.video.surveillanceroom v1.2.2: Camera 1 :: Preview Window Closed
19:31:45 T:1634882624 NOTICE: Thread EPGUpdater start, auto delete: false
19:31:45 T:1810887744 NOTICE: Start - EPG thread started
19:31:46 T:1626494016 NOTICE: Thread LanguageInvoker start, auto delete: false
19:31:48 T:1591886912 NOTICE: Thread FileCache start, auto delete: false
19:31:48 T:1626494016 NOTICE: -->Python Interpreter Initialized<--
19:31:48 T:1591886912 NOTICE: Thread FileCache start, auto delete: false
19:31:55 T:1626494016 NOTICE: Previous line repeats 26 times.
19:31:55 T:1626494016 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: cannot import name previewgui
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.surveillanceroom-master/default.py", line 10, in <module>
from resources.lib import settings, monitor, allcameraplayer, cameraplayer, camerasettings, utils, previewgui
ImportError: cannot import name previewgui
Reply
#85
Interesting. I might have missed something in aa naming conversion. Open the default.py file of the add on and update any 'previewgui' instance with 'camerapreview' and it should be fine. I'll get an actual fix out later tonight. Sorry about that!
Reply
#86
Actually, misread that. Delete previewgui from that import line. It doesn't exist anymore due to the naming conversion.
Reply
#87
Thanks for your reply,
Which filemanager you use to access the default.py. My winscp doesn`t connect to my openelec.
SSH is activated?

many greetings

nigelman
Reply
#88
Thanks,
i edited line 10 of the default.py, removed the entry with the previewgui and now its running.

many greetings and thanks for your work

nigelman
Reply
#89
Hi all,

what about this:

NOTICE: -->Python Interpreter Initialized<--
22:30:43 423.710175 T:2833220528 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: cannot import name previewgui
Traceback (most recent call last):
File "/home/xbian/.kodi/addons/plugin.video.surveillanceroom-master/default.py", line 10, in <module>
from resources.lib import settings, monitor, allcameraplayer, cameraplayer, camerasettings, utils, previewgui
ImportError: cannot import name previewgui
-->End of Python script error report<--
22:30:43 424.060455 T:3020906496 ERROR: GetDirectory - Error getting plugin://plugin.video.surveillanceroom/
22:30:43 424.070374 T:3020906496 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.surveillanceroom/) failed
22:30:43 424.165070 T:2833220528 NOTICE: Thread BackgroundLoader start, auto delete: false
22:31:06 447.026489 T:2833220528 NOTICE: Previous line repeats 4 times.
22:31:06 447.026855 T:2833220528 NOTICE: Thread LanguageInvoker start, auto delete: false
22:31:07 448.225739 T:2833220528 NOTICE: -->Python Interpreter Initialized<--
22:31:14 454.400665 T:2833220528 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: cannot import name previewgui
Traceback (most recent call last):
File "/home/xbian/.kodi/addons/plugin.video.surveillanceroom-master/default.py", line 10, in <module>
from resources.lib import settings, monitor, allcameraplayer, cameraplayer, camerasettings, utils, previewgui
ImportError: cannot import name previewgui
-->End of Python script error report<--
22:31:14 454.702667 T:3020906496 ERROR: GetDirectory - Error getting plugin://plugin.video.surveillanceroom/?content_type=video
22:31:14 454.710388 T:3020906496 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.surveillanceroom/?content_type=video) failed
22:31:14 454.804413 T:2833220528 NOTICE: Thread BackgroundLoader start, auto delete: false

and nothing happens on screen, only info that more info is in log?
Reply
#90
@ssnixs
Read my posts before,and edit the default.py and reinstall.
Then its running.

many greetings

nigelman
Reply
  •   
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 30
  •   



Logout Mark Read Team Forum Stats Members Help
Surveillance Room - Your IP Camera Companion with extra Foscam HD Support7
This forum uses Lukasz Tkacz MyBB addons.