Author Topic: RPC Plugin overview  (Read 5404 times)

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
RPC Plugin overview
« on: July 15, 2010, 04:01:58 pm »
The actual version of the RPC plugin supports the following requests (assuming 127.0.0.1 for the IP):

http://127.0.0.1:8088/status
Code: [Select]
ID|Room|Category|Template|Description|State
1|0|7|7|CORE|
2|0|1|1|DCERouter|
3|0|14|10|File Grids Plug-in|
4|0|61|27|General Info Plug-in|
5|0|68|31|Climate Plug-in|
6|0|66|9|Datagrid Plug-in|
7|0|78|39|Infrared Plug-in|
8|0|67|32|Lighting Plug-in|
9|0|56|12|Orbiter Plug-in|
10|0|15|2|Media Plug-in|
11|0|69|34|Telecom Plug-in|
12|0|99|52|Event Plug-in|
13|0|70|33|Security Plug-in|
14|0|159|1809|Plug And Play Plug-in|
15|0|65|26|App Server|
16|0|156|1808|HAL|
17|0|60|1977|UPnP Server|
18|0|88|45|Asterisk|
19|0|101|57|Text To Speech|
20|0|81|1754|ZWave|
21|0|82|1820|ZWave Embedded Climate Interfa|
22|0|80|1922|ZWave Embedded Security Interf|
23|0|4|2032|RPC Plugin|
336|2|73|38|Wohnzimmer|OFF/0
338|2|73|38|Lava Lampe|ON/100

http://192.168.80.1:8088/rooms
Code: [Select]
ID|Description
1|Flur
2|Wohnzimmer
3|Schlafzimmer

http://192.168.80.1:8088/jsondata?callback=mycallback
Code: [Select]
mycallback (
{ "devices": [
{ "id": 1, "room": 1, "category": 7, "template": 7, "description": "CORE", "state": "" },
{ "id": 2, "room": 1, "category": 1, "template": 1, "description": "DCERouter", "state": "" },
{ "id": 3, "room": 1, "category": 14, "template": 10, "description": "File Grids Plug-in", "state": "" },
{ "id": 4, "room": 1, "category": 61, "template": 27, "description": "General Info Plug-in", "state": "" },
{ "id": 5, "room": 1, "category": 68, "template": 31, "description": "Climate Plug-in", "state": "" },
{ "id": 6, "room": 1, "category": 66, "template": 9, "description": "Datagrid Plug-in", "state": "" },
{ "id": 7, "room": 1, "category": 78, "template": 39, "description": "Infrared Plug-in", "state": "" },
{ "id": 8, "room": 1, "category": 67, "template": 32, "description": "Lighting Plug-in", "state": "" },

[...]

{ "id": 336, "room": 2, "category": 73, "template": 38, "description": "Wohnzimmer", "state": "OFF/0" },
{ "id": 338, "room": 2, "category": 73, "template": 38, "description": "Lava Lampe", "state": "ON/100" },
] } );

switch on device 338 (off is also supported):
http://192.168.80.1:8088/control?device=338&command=on

set level 50 for device 338:
http://192.168.80.1:8088/control?device=338&command=setlevel&parameter=50

more to come..
rock your home - http://www.agocontrol.com home automation

Megart.vlad

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: RPC Plugin overview
« Reply #1 on: July 29, 2010, 08:44:07 am »
It is very interesting. The plug-in needs to be install for use?
I search a way of creation the user interface for simple users only, without administrations.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: RPC Plugin overview
« Reply #2 on: July 29, 2010, 10:24:29 am »
It is very interesting. The plug-in needs to be install for use?
I search a way of creation the user interface for simple users only, without administrations.
you need to create a new device below the core, select the RPC plugin in the device template selector and make sure that the RPCPlugin.so file resides in the pluto/bin directory

br Hari
rock your home - http://www.agocontrol.com home automation

pw_ktp

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: RPC Plugin overview
« Reply #3 on: August 16, 2010, 01:51:58 pm »
It is very interesting. The plug-in needs to be install for use?
I search a way of creation the user interface for simple users only, without administrations.
you need to create a new device below the core, select the RPC plugin in the device template selector and make sure that the RPCPlugin.so file resides in the pluto/bin directory

br Hari

Hi I really want to try this out - it is in the 710 release ? I using 710 as the lighting wizards wasnt working for me in 810.

If not how can install and use it.??

also how can i control things like lights from the command line??

derailed-rhouse isnt working for me, - is there any other methods ? php , perl methods of control??

thank you.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: RPC Plugin overview
« Reply #4 on: August 16, 2010, 09:45:07 pm »
No, not in 0710. Available in the standalone dce variant and 0810.
rock your home - http://www.agocontrol.com home automation

Megart.vlad

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: RPC Plugin overview
« Reply #5 on: September 04, 2010, 08:06:27 pm »
Can I start Scenarios from Web with help of RPC plugin?

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: RPC Plugin overview
« Reply #6 on: September 04, 2010, 09:11:33 pm »
not yet, but this will follow soon..
rock your home - http://www.agocontrol.com home automation

Megart.vlad

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: RPC Plugin overview
« Reply #7 on: September 06, 2010, 04:15:53 pm »
It is very interesting. The plug-in needs to be install for use?
I search a way of creation the user interface for simple users only, without administrations.
you need to create a new device below the core, select the RPC plugin in the device template selector and make sure that the RPCPlugin.so file resides in the pluto/bin directory

br Hari

I install plugin, but RPCPlugin.so file is not resides in the pluto/bin directory.
Can I install it's manually?
« Last Edit: September 07, 2010, 10:04:14 pm by Megart.vlad »

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: RPC Plugin overview
« Reply #8 on: September 09, 2010, 04:18:41 pm »
It is very interesting. The plug-in needs to be install for use?
I search a way of creation the user interface for simple users only, without administrations.
you need to create a new device below the core, select the RPC plugin in the device template selector and make sure that the RPCPlugin.so file resides in the pluto/bin directory

br Hari

I install plugin, but RPCPlugin.so file is not resides in the pluto/bin directory.
Can I install it's manually?


did you install the package?

possy: did we package that already?

br Hari
rock your home - http://www.agocontrol.com home automation

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3013
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: RPC Plugin overview
« Reply #9 on: September 09, 2010, 04:29:58 pm »
possy: did we package that already?

Nope, doesn't look like it.