2014-01-09, 23:16
how do i download this Security Cam Overlay Addon to XBMC ?
(2014-01-09, 23:16)pingaling Wrote: how do i download this Security Cam Overlay Addon to XBMC ?
(2014-01-09, 20:43)Gibby13 Wrote:(2013-12-31, 15:56)cw-kid Wrote: Not sure if this is the best / correct way but this works!
Code:http://192.168.0.100:80/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.securitycam"},"id":"1"}}
So I can now add this to my doorbell scene in VERA and tell it to bring up the Security CAM Overlay script on the XBMC HTPC.
Vera Luup Code:
Code:luup.inet.wget("http://192.168.0.100:80/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.securitycam"},"id":"1"}}")
To tell it to send it to each xbmc, would I just add a line for each XBMC in Luup? Probably would be better as a loop based on XBMCState plugin actually I guess.
luup.inet.wget("http://192.168.1.10:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22GUI.ShowNotification%22,%22params%22:{%22title%22:%22Front%20Doorbell%22,%22message%22:%22Someone%20at%20the%20door!%22},%22id%22:1}%22")
luup.inet.wget("http://192.168.1.11:8080/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22GUI.ShowNotification%22,%22params%22:{%22title%22:%22Front%20Doorbell%22,%22message%22:%22Someone%20at%20the%20door!%22},%22id%22:1}%22")
luup.inet.wget("http://192.168.1.12:8080/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22GUI.ShowNotification%22,%22params%22:{%22title%22:%22Front%20Doorbell%22,%22message%22:%22Someone%20at%20the%20door!%22},%22id%22:1}%22")
luup.inet.wget("http://192.168.1.10:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Player.PlayPause%22,%22params%22:{%22playerid%22:1},%22id%22:1}")
luup.inet.wget("http://192.168.1.10:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Player.PlayPause%22,%22params%22:{%22playerid%22:0},%22id%22:0}")
luup.inet.wget("http://192.168.1.10:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Addons.ExecuteAddon%22,%22params%22:{%22addonid%22:%22script.securitycam%22},%22id%22:%221%22}}")
luup.inet.wget("http://192.168.1.11:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Player.PlayPause%22,%22params%22:{%22playerid%22:1},%22id%22:1}")
luup.inet.wget("http://192.168.1.11:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Player.PlayPause%22,%22params%22:{%22playerid%22:0},%22id%22:0}")
luup.inet.wget("http://192.168.1.11:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Addons.ExecuteAddon%22,%22params%22:{%22addonid%22:%22script.securitycam%22},%22id%22:%221%22}}")
luup.inet.wget("http://192.168.1.12:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Player.PlayPause%22,%22params%22:{%22playerid%22:1},%22id%22:1}")
luup.inet.wget("http://192.168.1.12:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Player.PlayPause%22,%22params%22:{%22playerid%22:0},%22id%22:0}")
luup.inet.wget("http://192.168.1.12:80/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Addons.ExecuteAddon%22,%22params%22:{%22addonid%22:%22script.securitycam%22},%22id%22:%221%22}}")
(2014-01-09, 03:51)iolaus Wrote:(2014-01-08, 23:49)jmarshall Wrote: It's probably the render order of the dialogs. Each dialog has a <zorder> attribute that can be used for altering who renders on top of who. In the case where both <zorder>'s are the same, the first one open renders first, with the second on top (the usual case where you open a dialog from another).
By default, dialogs have <zorder> 1 and windows have <zorder> 0. It might be that either the Aeon fullscreeninfo dialog has <zorder> higher than 1, or that the order in which the dialogs pop up causes it to popup after the CAM dialog (assuming you're using a dialog for it!)
Is there any way to set the zorder on the WindowDialog from python?
(2014-01-11, 02:55)Gibby13 Wrote: How do you add more cameras?
(2014-01-11, 03:03)Gibby13 Wrote: I will take a look at the code for the url token feature, I didn't see it mentioned anywhere before. Will be easier to script/add more cameras, since I am at 5 and have more coming, only want 3 or 4 to actually pop up though I guess.
(2014-01-11, 03:08)iolaus Wrote:(2014-01-11, 03:03)Gibby13 Wrote: I will take a look at the code for the url token feature, I didn't see it mentioned anywhere before. Will be easier to script/add more cameras, since I am at 5 and have more coming, only want 3 or 4 to actually pop up though I guess.
I believe I put an example in the Changelog, may want to check there first.
(2014-01-11, 03:12)Gibby13 Wrote:(2014-01-11, 03:08)iolaus Wrote:(2014-01-11, 03:03)Gibby13 Wrote: I will take a look at the code for the url token feature, I didn't see it mentioned anywhere before. Will be easier to script/add more cameras, since I am at 5 and have more coming, only want 3 or 4 to actually pop up though I guess.
I believe I put an example in the Changelog, may want to check there first.
Yep see it there, checked that link and I am a tad confused, but going to try it out.