Security CAM Overlay in XBMC

Post Reply
jaytee
Posts: 72
Joined: Sunday 14 July 2013 21:00
Target OS: -
Domoticz version: beta
Location: Sweden
Contact:

Security CAM Overlay in XBMC

Post by jaytee » Thursday 09 January 2014 0:50

I found a neat addon on XBMC.org forum that might be of interest for someone else Domoticz user...

I installed this addon http://forum.xbmc.org/showthread.php?tid=182540 on my OpenELEC 3.2.3 machine.
On one of my RaspberryPi's I have a webcam plugged in which can take snapshots of the driveway outside my house. In the addon I have configured the correct url to my webcam to capture an image when the addon is activated from XBMC by my remote control.

In my main Domoticz machine I have created a virtual "Push On button" with a "On action" with the url to my OpenElec machine (also "Off delay" = 1 second for the button):

Code: Select all

http://192.168.0.122/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Addons.ExecuteAddon%22,%22params%22:{%22addonid%22:%22script.securitycam%22},%22id%22:%221%22}}
The url launches the XBMC addon.

When I press the button in Domoticz a snapshot of my webcam is displayed on my OpenELEC screen, even if there is an active playback of LiveTV etc. My future plan is to add a motion sensor to trigger the image capturing instead of the manual pushbutton.

/jaytee
RPi2 : UPiS, OZW USB Stick, RfxTrx433, Philips HUE, DomoticzRemoteServer (1-wire)
RPi: 1-wire

andriej
Posts: 302
Joined: Tuesday 10 December 2013 23:27
Target OS: Linux
Domoticz version: beta
Contact:

Re: Security CAM Overlay in XBMC

Post by andriej » Thursday 09 January 2014 12:09

Could you please show how does it look like 'live'?
I didn't do any XBMC stuff but I see it mentioned everywhere on the domoticz forums, so...
Orange Pi (@ Debian) / MySensors Serial / GPIO / Custom Serial 433 MHz Transmitter (for plug switches and livolo wall switches) / JSON&Bash API scripts

andriej
Posts: 302
Joined: Tuesday 10 December 2013 23:27
Target OS: Linux
Domoticz version: beta
Contact:

Re: Security CAM Overlay in XBMC

Post by andriej » Friday 10 January 2014 10:40

But XBMC can only popup that on screen while watching movie on/via XBMC source, not normal TV - right?
Orange Pi (@ Debian) / MySensors Serial / GPIO / Custom Serial 433 MHz Transmitter (for plug switches and livolo wall switches) / JSON&Bash API scripts

jaytee
Posts: 72
Joined: Sunday 14 July 2013 21:00
Target OS: -
Domoticz version: beta
Location: Sweden
Contact:

Re: Security CAM Overlay in XBMC

Post by jaytee » Friday 10 January 2014 21:38

andriej wrote:But XBMC can only popup that on screen while watching movie on/via XBMC source, not normal TV - right?
No, not "normal" TV. I watch LiveTV with XBMC as frontend and Tvheadend on my NAS as backend.
RPi2 : UPiS, OZW USB Stick, RfxTrx433, Philips HUE, DomoticzRemoteServer (1-wire)
RPi: 1-wire

TonyFeestneus
Posts: 7
Joined: Tuesday 14 April 2015 11:15
Target OS: Raspberry Pi
Domoticz version:
Location: @home, NL
Contact:

Re: Security CAM Overlay in XBMC

Post by TonyFeestneus » Tuesday 14 April 2015 11:29

Very interested in this, can you post a picture of the result?

Also, how does the RPi cope with both running the camera AND XBMC?

jaytee
Posts: 72
Joined: Sunday 14 July 2013 21:00
Target OS: -
Domoticz version: beta
Location: Sweden
Contact:

Re: Security CAM Overlay in XBMC

Post by jaytee » Thursday 16 April 2015 0:26

I don't run this setup anymore, maybe I should bring it back up. I have forgotten this totally.
What I did was to run two separate Pi's.
RPi2 : UPiS, OZW USB Stick, RfxTrx433, Philips HUE, DomoticzRemoteServer (1-wire)
RPi: 1-wire

Raspberry Piet
Posts: 464
Joined: Saturday 11 January 2014 17:21
Target OS: Raspberry Pi
Domoticz version: Beta
Location: NL
Contact:

Re: Security CAM Overlay in XBMC

Post by Raspberry Piet » Thursday 16 April 2015 19:41

I'm using this XBMC/KODI/OpenELEC addon, works very good.
I made a xbmc notify (bash) script for it, read about it here:
http://www.domoticz.com/forum/viewtopic ... 134#p20359

Champion1
Posts: 1
Joined: Tuesday 05 April 2016 12:47
Target OS: Linux
Domoticz version:
Contact:

Re: Security CAM Overlay in XBMC

Post by Champion1 » Tuesday 05 April 2016 12:50

I didn't do any XBMC stuff but I see it mentioned everywhere on the domoticz forums,????
== Chess ==

User avatar
Dnpwwo
Posts: 716
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Security CAM Overlay in XBMC

Post by Dnpwwo » Tuesday 05 April 2016 16:23

XMBC has been rebranded as Kodi, details of Domoticz support arere here: https://www.domoticz.com/wiki/Kodi

If you are interested in webcam display on your television via Kodi search the forum for : script.securitycam
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw

cherowley
Posts: 83
Joined: Tuesday 24 February 2015 16:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Security CAM Overlay in XBMC

Post by cherowley » Monday 19 December 2016 11:26

Hi!

Can anyone confirm if this still works as of the current betas?

It seems to have stopped working since the last stable...

User avatar
sincze
Posts: 909
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 3.8875
Location: Netherlands
Contact:

Re: Security CAM Overlay in XBMC

Post by sincze » Monday 19 December 2016 23:12

I am still using it. :D with the current Beta
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

cherowley
Posts: 83
Joined: Tuesday 24 February 2015 16:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Security CAM Overlay in XBMC

Post by cherowley » Monday 19 December 2016 23:45

Thanks for confirming that :)

Oh poop, means it's something more involved then lol

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests