LinuxMCE Forums
May 19, 2013, 06:06:47 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: RPC Plugin overview  (Read 4252 times)
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« on: July 15, 2010, 03: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:
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:
ID|Description
1|Flur
2|Wohnzimmer
3|Schlafzimmer

http://192.168.80.1:8088/jsondata?callback=mycallback
Code:
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..
Logged

rock your home - http://www.agocontrol.com home automation
Megart.vlad
Newbie
*
Posts: 9


View Profile
« Reply #1 on: July 29, 2010, 07: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.
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« Reply #2 on: July 29, 2010, 09: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
Logged

rock your home - http://www.agocontrol.com home automation
pw_ktp
Newbie
*
Posts: 5


View Profile
« Reply #3 on: August 16, 2010, 12: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.
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« Reply #4 on: August 16, 2010, 08:45:07 pm »

No, not in 0710. Available in the standalone dce variant and 0810.
Logged

rock your home - http://www.agocontrol.com home automation
Megart.vlad
Newbie
*
Posts: 9


View Profile
« Reply #5 on: September 04, 2010, 07:06:27 pm »

Can I start Scenarios from Web with help of RPC plugin?
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« Reply #6 on: September 04, 2010, 08:11:33 pm »

not yet, but this will follow soon..
Logged

rock your home - http://www.agocontrol.com home automation
Megart.vlad
Newbie
*
Posts: 9


View Profile
« Reply #7 on: September 06, 2010, 03: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, 09:04:14 pm by Megart.vlad » Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« Reply #8 on: September 09, 2010, 03: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
Logged

rock your home - http://www.agocontrol.com home automation
posde
Administrator
LinuxMCE God
*****
Posts: 2620


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #9 on: September 09, 2010, 03:29:58 pm »

possy: did we package that already?

Nope, doesn't look like it.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!