Release Surveillance Room - Your IP Camera Companion with extra Foscam HD Support
#1
Hello all!

I've been working on an addon which kind of combines some other similar addons, and includes many new features. I wanted all of the features in FoscamHD and the functions in SecurityCamOverlay, while having multiple camera capability. I wanted it all in one spot and I wanted to be able to customize. My inspiration was for me to have this as a room monitor for my children while they sleep, and also to know when someone pulls into my driveway. It has been working great for me. This is my first Add-on project but by no means do I think its rough around the edges.

Image



Install
Install my repository and then install the add-on from there. Get notified of add-on updates! It's under both 'Program add-ons' or 'Video add-ons'
Repository Download

*Developed on KODI 15.2 (Isengard). Tested working on Helix, Isengard and now Jarvis!.

Source
Latest Version: Nov 30, 2015 - v1.2.3
Github Link: https://github.com/maikito26/plugin.video.surveillanceroom

Summary
If motion or sound is detected a small image preview will slide onto the screen. Pressing select *will* stop any playing media and open the main video feed with basic controls for pan/tilt and mirror/flip. Exit with the back button or click the close control, and the previously playing file will resume. This works for up to 4 cameras simultaneously
Also, there is a menu to select these cameras individually or all of them to play at once.

watch gallery


Features
- Connect up to 4 IP/Foscam Cameras
- Supports credentials for Foscam, but you can overwrite the URL manually to support non-Foscam cameras, or the C model which has RTSP port hard coded to 554.
- Watch in multiple streaming formats, with camera controls displayed overtop of a single camera view.
- Preview cameras while watching content, with Motion and Sound Detection, or by calling it manually using RunPlugin()
- Open the camera stream from a preview, and will resume what you were watching when you close the stream.
- Logic to determine when preview is allowed to display. Configure which windows not to display for.
- Set a home location to move PTZ enabled Foscam cameras to when Kodi starts
- Supports both Foscam HD and Foscam SD APIs (or any copy-cat models)


v-----v
Additional Context Menu Addons - Also available from my repo!
Configure a context item to show previews, fullscreen, or all cameras! - https://github.com/maikito26/context.sur...eroom.play
Toggle the automatic previews on or off as you need them! - https://github.com/maikito26/context.sur...glepreview
^-----^


Map a remote button
To easily to view All Cameras, a single camera feed, or a picture-in-picture (PIP) preview, you can map a remote button.

For all cameras:
Code:
<blue>XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=all_cameras)</blue>

For just a single camera (update camera_number= with the integer of the desired camera, 1 - 4):
Code:
<red>XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=single_camera&camera_number=1)</red>

For picture-in-picture (PIP) preview (update camera_number= with the integer of the desired camera, 1 - 4):
Code:
<green>XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1) </green>

For just a single camera without controls (update camera_number= with the integer of the desired camera, 1 - 4):
Code:
<yellow>XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=single_camera_no_controls&camera_number=1)</yellow>

** Additionally you can call this script externally for home-automation/doorbells/etc using the same syntax.


Known Issues
- *HIGH PRIORITY* When using MJPEG for all player or preview, its possible there might be a lag that grows overtime depending on network speed and computer speed. Work Around: Use snapshots
- *MEDIUM PRIORITY* Zoom buttons are not included in remote/keyboard navigation scheme yet. Work around: Use the mouse
- *MEDIUM PRIORITY* Screensaver will come on during All Camera player when its playing
- *LOW PRIORITY* Z-Order of windows isn't optimized if calling from the script for multiple player types. Not a likely scenario but some 'error' logic can be added to prevent any potential issues
- *LOW PRIORITY* If multiple preview windows are opened, you can only close the window by mouse which was opened last.



Credit and thanks to the following addons/developers for inspiration and a lot of the groundwork:
* https://github.com/LS80/script.foscam (http://forum.xbmc.org/showthread.php?tid=190439)
* https://github.com/RyanMelenaNoesis/Xbmc...ecuritycam (http://forum.xbmc.org/showthread.php?tid=182540)
* https://github.com/Shigoru/script.securitycams (http://forum.kodi.tv/showthread.php?tid=218815)

Questions/comments/suggestions are encouraged!
Reply


Messages In This Thread
Surveillance Room - Your IP Camera Companion with extra Foscam HD Support - by maikito26 - 2015-10-02, 17:25
All Cameras - by zaxcom - 2016-08-25, 03:17
Axis M211 - by OnkelKraecker - 2017-03-08, 13:36
RE: Axis M211 - by jinux - 2017-03-08, 14:43
Axis M 211 - by OnkelKraecker - 2017-10-13, 12:57
RE: Axis M 211 - by maikito26 - 2018-01-24, 15:00
Logout Mark Read Team Forum Stats Members Help
Surveillance Room - Your IP Camera Companion with extra Foscam HD Support7