Release Surveillance Room - Your IP Camera Companion with extra Foscam HD Support
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


Messages In This Thread
RE: Surveillance Room - Your IP Camera Companion with extra Foscam HD Support - by sincze - 2016-07-24, 20:27
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
This forum uses Lukasz Tkacz MyBB addons.