• 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 31
Release Surveillance Room - Your IP Camera Companion with extra Foscam HD Support
problem:

when playing music+info, preview screen causes pi to crash and reboot.
Reply
This works excellent with my FOSCAM devices.
However a generic DERICAM device seems to have problems.

When using:

snapshot: http://CAM_IP:PORT/tmpfs/auto.jpg&usr=username&pwd=password
rtsp: rtsp://username:password@CAM_IPTongueORT/ch0_0.h264

All works well. however snapshot is lo resolution. I would like the hi-resolution image that can be obtained via the browser with:
snapshot: http://username:password@CAM_IP:PORT/snap.jpg

If you try this in the plugin settings you will not see anything.

22:40:57 T:11872 NOTICE: plugin.video.surveillanceroom v1.2.3: Camera 4 :: Preview Window Opened - Manual: None; Stream Type: 1; URL: http://username:password@IP_CAM:80/tmpfs/snap.jpg
22:40:58 T:7624 ERROR: plugin.video.surveillanceroom v1.2.3: ### ERROR ### : Camera 4 :: Error updating preview image on Snapshot: EOF when reading a line
22:41:09 T:11872 NOTICE: plugin.video.surveillanceroom v1.2.3: Camera 4 :: Preview Window Closed

Am I missing the point here ;-)??

So this also does work in the browser:
http://IP_CAM/tmpfs/auto.jpg&usr=username&pwd=password

And shows me the small image

this results into:
http://IP_CAM/tmpfs/snap.jpg&usr=username&pwd=password

Error 404: Not Found
File not found


Moving the username and password in front of the url does show me the hi-res image in the browser.
Reply
Great addon! I have a pair of Foscam FI9821 cameras. I added both and can see both when I choose 'All Cameras'. So I know it's connecting. However, when selecting 'Preview' I only get a black window that slides into view. But no image. This is only happening with one of my cameras as the other previews just fine. I've confirmed that both are setup identically. I've also updated to the latest firmware. Still the same behavior. Does anybody else have this issue?
Reply
This is just what i was looking for !

I was able to add my Hikvision DS-2CD2512F-IS

Source - Pleayer : Video Stream
Source - All Cameras : Snapshot
Source - preview : Snapshot

Snapshout URL : http://user:pass@ip:80/streaming/channels/1/picture
Video Stream URL : rtsp://user:pass@ip:554/mjpeg/ch01/main/av_stream
MJPEG URL : rtsp://user:pass@ip:554/mjpeg/ch01/main/av_stream

Few questions :
The Snapshout image does not update when i enter the addon.
Motion / Sound activated - does not work .

in order to see the feed i need to enter the addon and select my camera .
Reply
is there anyway to dump/record the streem with addon?
Reply
Unfortunately I do not see any repsonses to questions that people ask. Today I managed to call the pluging in Kodi using JSON.
Just to help maybe other people around. 192.168.1.1 is the Kodi machine that responds to these requests.
(source: https://github.com/maikito26/plugin.vide...llanceroom)

Showing a single preview window
- XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1)

http://192.168.1.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"wait":false,"addonid":"plugin.video.surveillanceroom","params":{"action":"show_preview","camera_number":"1","id":"1"}},"id":2}


Showing all cameras on fullscreen
- XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=all_cameras)

http://192.168.1.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"wait":false,"addonid":"plugin.video.surveillanceroom","params":{"action":"all_cameras","id":"1"}},"id":2}

Showing a single camera on fullscreen, with controls
- XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=single_camera&camera_number=1)

http://192.168.1.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"wait":false,"addonid":"plugin.video.surveillanceroom","params":{"action":"single_camera","camera_number":"1","id":"1"}},"id":2}

Showing a single camera on fullscreen, without controls
- XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=single_camera_no_controls&camera_number=1)

http://192.168.1.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"wait":false,"addonid":"plugin.video.surveillanceroom","params":{"action":"single_camera_no_controls","camera_number":"1","id":"1"}},"id":2}
Reply
Apparantly, developement has slowed (hopefully, not stopped). I was hoping to use this app to popup Hikvision stream on my TV when alarm / motion occurs. Did not work.

Just to display cam feeds, I do not need anything. I am using simpler methods to manually display my cameras, when needed. To me, it is preferred and simpler to not install anything but to add few commands to existing basic system. I do not look at the cameras until I need to look at them, so, I do never need all 5 cams live vew at the same time. Normally using my primary cam monitor, I have a single cam view active, depending on the need - internal or external cam; camerras used for alert wil popup on their own. TV is a secondary diplay when convenient.

Back to Kodi. IP cams view and cam alert popup should really be an integral part of Kodi nowdays.

1. Remote control map: Just to watch the live feed from cameras, I have assigned my cams to some keys (Red, Green, Yellow, Blue) at my remote. I press a key, and the selected Cam pops up, regardles of what I am doing with Kodi which is a great advantage. That works perfectly at a TV with remote, not ideal or even not usable when watching on a computer, phone or a tablet. No recording. Needs to be defined separatelly at each Kodi instalation.

2. Tvheadend backend IPTV map: To watch and record. Added my cams as IPTV channels so they appear after my regular LiveTV. I can watch and manually record them same as any other LiveTV channel. This method is slow to start showing a stream. You can program recording using Manual Time Schedule, but I do not expect this to be elegant solution for recording. Advantage: needs to be defined only once at a backend server, displaying works the same at any device and platform using Kodi.

I use Hikvision cam instead of a doorbell. How? What about alarms? I use 7" Android tablet as a 24/7 cam monitor. When a camera sends motion alarm, my tablet will ring. I can hear that even if I am not looking at the tablet or am in another room. One can have more than one such monitors (old phones are great e.g at the door itself). If my TV is up, I can simply press my e.g. Red button to see the front door cam or change a LiveTV program in a regular manner to my front door cam.

But, I use live cam alert primarily as a doorbell for our cats Smile Burglarwise and othewise - all cams are recorderd separatelly from this. Actually, my cams are utilized using 4 separate but simultaneous systems.
Reply
Quote:Unfortunately I do not see any repsonses to questions that people ask. Today I managed to call the pluging in Kodi using JSON.
Just to help maybe other people around. 192.168.1.1 is the Kodi machine that responds to these requests.
(source: https://github.com/maikito26/plugin.vide...llanceroom)

Showing a single preview window
- XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1)

http://192.168.1.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"wait":false,"addonid":"plugin.video.surveillanceroom","params":{"action":"show_preview","camera_number":"1","id":"1"}},"id":2}

This brings up the preview which is great! But it also brings up the context menu with it which is a pain in the @$$ if you are trying to watch a movie.
Anyway to stop this happening?
Reply
(2016-07-30, 02:52)joshhartley Wrote:
Quote:Unfortunately I do not see any repsonses to questions that people ask. Today I managed to call the pluging in Kodi using JSON.
Just to help maybe other people around. 192.168.1.1 is the Kodi machine that responds to these requests.
(source: https://github.com/maikito26/plugin.vide...llanceroom)

Showing a single preview window
- XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1)

http://192.168.1.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"wait":false,"addonid":"plugin.video.surveillanceroom","params":{"action":"show_preview","camera_number":"1","id":"1"}},"id":2}

This brings up the preview which is great! But it also brings up the context menu with it which is a pain in the @$$ if you are trying to watch a movie.
Anyway to stop this happening?

I'm also searching for a workaround to suppress the context menu when triggering the preview from the api. It's soooo close to being amazing but this one issue kinda spoils it.
Reply
(2016-07-29, 14:13)pila Wrote: Apparantly, developement has slowed (hopefully, not stopped). I was hoping to use this app to popup Hikvision stream on my TV when alarm / motion occurs. Did not work.

Just to display cam feeds, I do not need anything. I am using simpler methods to manually display my cameras, when needed. To me, it is preferred and simpler to not install anything but to add few commands to existing basic system. I do not look at the cameras until I need to look at them, so, I do never need all 5 cams live vew at the same time. Normally using my primary cam monitor, I have a single cam view active, depending on the need - internal or external cam; camerras used for alert wil popup on their own. TV is a secondary diplay when convenient.

Back to Kodi. IP cams view and cam alert popup should really be an integral part of Kodi nowdays.

1. Remote control map: Just to watch the live feed from cameras, I have assigned my cams to some keys (Red, Green, Yellow, Blue) at my remote. I press a key, and the selected Cam pops up, regardles of what I am doing with Kodi which is a great advantage. That works perfectly at a TV with remote, not ideal or even not usable when watching on a computer, phone or a tablet. No recording. Needs to be defined separatelly at each Kodi instalation.

2. Tvheadend backend IPTV map: To watch and record. Added my cams as IPTV channels so they appear after my regular LiveTV. I can watch and manually record them same as any other LiveTV channel. This method is slow to start showing a stream. You can program recording using Manual Time Schedule, but I do not expect this to be elegant solution for recording. Advantage: needs to be defined only once at a backend server, displaying works the same at any device and platform using Kodi.

I use Hikvision cam instead of a doorbell. How? What about alarms? I use 7" Android tablet as a 24/7 cam monitor. When a camera sends motion alarm, my tablet will ring. I can hear that even if I am not looking at the tablet or am in another room. One can have more than one such monitors (old phones are great e.g at the door itself). If my TV is up, I can simply press my e.g. Red button to see the front door cam or change a LiveTV program in a regular manner to my front door cam.

But, I use live cam alert primarily as a doorbell for our cats Smile Burglarwise and othewise - all cams are recorderd separatelly from this. Actually, my cams are utilized using 4 separate but simultaneous systems.

Perhaps you would like to document your system on the wiki? Thanks, interesting post.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
Hello everyone,
I was wondering if what I'm trying to do is at all possible before I start banging the wall with my head:

Kodi 16.1 on RPi3 connected to TV, this awesome addon is installed.
Another RPi3 with RPi Camera running MotionEyeOs. This works like a charm.
I can view my cam from Kodi using generic IP cam settings, however, motion detaction is grayed out.

Question if it's at all possible to get motion detection to work and fire up the preview?

On the MotionEyeOs side, there are settings for Motion Notification specificly the Web Hook URL, I tried configuring it to use POST (JSON) but that didn't work.

Any help would be highly appticiated.

P.S. @maikito26, great addon. Thanks a lot Smile

Thanks
Reply
Configuration for Dahua IPC-HDBW4421R-AS 4MP Domes running 2.400.0000.23.R, build : 2015-12-15

DO NOT USE http://ip.address/axis-cgi/mjpg/video.cgi as this will reset your H.264 primary stream to MJPEG when called.

Use the following:
Snapshot: http://username:[email protected]/cgi-...apshot.cgi
Secondary Stream (which I have set to D1 @ 6fps): rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1

The main stream is rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0 but Kodi/TV struggled to stream 4 x 4MP images.
Reply
(2016-08-18, 19:05)ThePrivateGeek Wrote: Hello everyone,
I was wondering if what I'm trying to do is at all possible before I start banging the wall with my head:

Kodi 16.1 on RPi3 connected to TV, this awesome addon is installed.
Another RPi3 with RPi Camera running MotionEyeOs. This works like a charm.
I can view my cam from Kodi using generic IP cam settings, however, motion detaction is grayed out.

Question if it's at all possible to get motion detection to work and fire up the preview?

On the MotionEyeOs side, there are settings for Motion Notification specificly the Web Hook URL, I tried configuring it to use POST (JSON) but that didn't work.

Any help would be highly appticiated.

P.S. @maikito26, great addon. Thanks a lot Smile

Thanks

If anyone is interested in this, this is how I got it to work:

On the MotionEyeOS machine, I created ssh rsa public key and moved to Kod machine's authorized_keys file under ~/.ssh
Then on the MotionEyeOS web interface, I added the following command in the Motion Notification - Run a Command setting:

ssh kodi_username@kodi_ip_address 'xbmc-send -a "XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1)"'


This worked like a charm. Every time the motion is detected, a little preview window pops up in the lower cornor.
Reply
(2016-07-31, 21:34)Smoofus Wrote:
(2016-07-30, 02:52)joshhartley Wrote:
Quote:Unfortunately I do not see any repsonses to questions that people ask. Today I managed to call the pluging in Kodi using JSON.
Just to help maybe other people around. 192.168.1.1 is the Kodi machine that responds to these requests.
(source: https://github.com/maikito26/plugin.vide...llanceroom)

Showing a single preview window
- XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1)

http://192.168.1.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"wait":false,"addonid":"plugin.video.surveillanceroom","params":{"action":"show_preview","camera_number":"1","id":"1"}},"id":2}

This brings up the preview which is great! But it also brings up the context menu with it which is a pain in the @$$ if you are trying to watch a movie.
Anyway to stop this happening?

I'm also searching for a workaround to suppress the context menu when triggering the preview from the api. It's soooo close to being amazing but this one issue kinda spoils it.

I too am in search of a workaround for suppressing the context menu, Anyone find a solution for this issue by chance?
Reply
What am I doing wrong? I set up 2 cameras doing RTSP and I can view each camera individually just fine, but when I select all cameras I get a quad split screen with two large exclamation points and no video.

How can I see all the cameras at one time?

Thx
Reply
  • 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 31

Logout Mark Read Team Forum Stats Members Help
Surveillance Room - Your IP Camera Companion with extra Foscam HD Support7