Security CAM Overlay in XBMC

Moderator: leecollings

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

Security CAM Overlay in XBMC

Post by jaytee »

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: 46
Joined: Tuesday 10 December 2013 22:27
Target OS: Linux
Domoticz version: beta
Contact:

Re: Security CAM Overlay in XBMC

Post by andriej »

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: 46
Joined: Tuesday 10 December 2013 22:27
Target OS: Linux
Domoticz version: beta
Contact:

Re: Security CAM Overlay in XBMC

Post by andriej »

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: 12
Joined: Sunday 14 July 2013 21:00
Target OS: -
Domoticz version: beta
Location: Sweden
Contact:

Re: Security CAM Overlay in XBMC

Post by jaytee »

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: 4
Joined: Tuesday 14 April 2015 11:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: @home, NL
Contact:

Re: Security CAM Overlay in XBMC

Post by TonyFeestneus »

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: 12
Joined: Sunday 14 July 2013 21:00
Target OS: -
Domoticz version: beta
Location: Sweden
Contact:

Re: Security CAM Overlay in XBMC

Post by jaytee »

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: 158
Joined: Saturday 11 January 2014 16:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: NL
Contact:

Re: Security CAM Overlay in XBMC

Post by Raspberry Piet »

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 »

I didn't do any XBMC stuff but I see it mentioned everywhere on the domoticz forums,????
== Chess ==
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Security CAM Overlay in XBMC

Post by Dnpwwo »

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: 65
Joined: Tuesday 24 February 2015 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Security CAM Overlay in XBMC

Post by cherowley »

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: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Security CAM Overlay in XBMC

Post by sincze »

I am still using it. :D with the current Beta
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
cherowley
Posts: 65
Joined: Tuesday 24 February 2015 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Security CAM Overlay in XBMC

Post by cherowley »

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 1 guest