install them:
[root@golem]# rpm -Uvh *-1.1-3*.rpm
Preparing... ########################################### [100%]
1:libserializeclass ########################################### [ 13%]
2:libdce ########################################### [ 25%]
3:libplutoutils ########################################### [ 38%]
4:libplutomain ########################################### [ 50%]
5:dcerouter ########################################### [ 63%]
6:libra ########################################### [ 75%]
7:pluto ########################################### [ 88%]
8:pluto-debuginfo ########################################### [100%]
adjust ld.so.conf (not yet done by the rpm)
[root@golem bin]# more /etc/ld.so.conf.d/pluto.conf
/opt/pluto/lib
import a database (e.g.
http://svn.linuxmce.org/trac.cgi/browser/people/hari/mini/dumps)
create the core/dcerouter devices (mini-install.sh and related files from
http://svn.linuxmce.org/trac.cgi/browser/people/hari/mini/installer)
[root@golem installer]# ./mini-install.sh
Setting up your computer to act as a 'Core'
05 07/15/10 13:17:54.345 Called with: -d 7 <0xb76e1740>
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
1
Configuring devices
Running device 18
Running device 19
you could also mysqldump the pluto_main from a running (preferably fresh) installation
if you want, create some devices, e.g. for Z-Wave (ignore the installnewdevices error):
[root@golem bin]# ./CreateDevice -d 1754
05 07/15/10 12:50:22.686 Called with: -d 1754 <0xb7892740>
sh: /opt/pluto/bin/InstallNewDevice.sh: No such file or directory
20
in this example don't forget to set the DeviceData for the serial port (in pluto_main do a "update Device_DeviceData set IK_DeviceData='/dev/ttyUSB0' where FK_Device=20 and FK_DeviceData=37")
Right now the GeneralInfoPlugin is not yet available so you need to create the Z-Wave child devices manually, I'd recommend to run the pluto_admin somewhere.
start DCERouter:
[root@golem bin]# cd /opt/pluto/bin
[root@golem bin]# ./DCERouter
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
www.plutohome.com
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the GNU Public License, available at:
http://www.fsf.org/licensing/licenses/gpl.html
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Public License for more details.
---------------
01 07/15/10 14:02:41.420 Can't open plug-in file './File_Grids_Plugin.so': ./File_Grids_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.420 Cannot load plug-in for device: 3. Be sure the file File_Grids_Plugin exists <0xb7777740>
01 07/15/10 14:02:41.420 Can't open plug-in file './General_Info_Plugin.so': ./General_Info_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.420 Cannot load plug-in for device: 4. Be sure the file General_Info_Plugin exists <0xb7777740>
01 07/15/10 14:02:41.420 Can't open plug-in file './Climate_Plugin.so': ./Climate_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.420 Cannot load plug-in for device: 5. Be sure the file Climate_Plugin exists <0xb7777740>
01 07/15/10 14:02:41.420 Can't open plug-in file './Datagrid_Plugin.so': ./Datagrid_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.420 Cannot load plug-in for device: 6. Be sure the file Datagrid_Plugin exists <0xb7777740>
01 07/15/10 14:02:41.420 Can't open plug-in file './Infrared_Plugin.so': ./Infrared_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.420 Cannot load plug-in for device: 7. Be sure the file Infrared_Plugin exists <0xb7777740>
05 07/15/10 14:02:41.442 Loaded plug-in device: 8 master device: 32 -- ./Lighting_Plugin.so <0xb7777740>
01 07/15/10 14:02:41.442 Can't open plug-in file './Orbiter_Plugin.so': ./Orbiter_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.442 Cannot load plug-in for device: 9. Be sure the file Orbiter_Plugin exists <0xb7777740>
01 07/15/10 14:02:41.442 Can't open plug-in file './Media_Plugin.so': ./Media_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.442 Cannot load plug-in for device: 10. Be sure the file Media_Plugin exists <0xb7777740>
01 07/15/10 14:02:41.442 Can't open plug-in file './Telecom_Plugin.so': ./Telecom_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.442 Cannot load plug-in for device: 11. Be sure the file Telecom_Plugin exists <0xb7777740>
01 07/15/10 14:02:41.442 Can't open plug-in file './Event_Plugin.so': ./Event_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.442 Cannot load plug-in for device: 12. Be sure the file Event_Plugin exists <0xb7777740>
01 07/15/10 14:02:41.442 Can't open plug-in file './Security_Plugin.so': ./Security_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.442 Cannot load plug-in for device: 13. Be sure the file Security_Plugin exists <0xb7777740>
01 07/15/10 14:02:41.442 Can't open plug-in file './Plug_And_Play_Plugin.so': ./Plug_And_Play_Plugin.so: cannot open shared object file: No such file or directory <0xb7777740>
01 07/15/10 14:02:41.442 Cannot load plug-in for device: 14. Be sure the file Plug_And_Play_Plugin exists <0xb7777740>
05 07/15/10 14:02:41.458 Loaded plug-in device: 23 master device: 2032 -- ./RPC_Plugin.so <0xb7777740>
Error doing statfs on '/opt/pluto/bin/plugin-inject/'.
05 07/15/10 14:02:41.540 Plugin 8 activated <0xb7777740>
05 07/15/10 14:02:41.624 Plugin 23 activated <0xb7777740>
start the ZWave DCE Device:
[root@golem bin]# ./ZWave -d 20
ZWave, open edition, v.0.2
Visit www.linuxmce.org for source code and license information
36 07/15/10 14:07:13.433 Initialization... <0xb7737740>
36 07/15/10 14:07:13.433 Open serial port /dev/ttyUSB0 <0xb7737740>
36 07/15/10 14:07:13.443 Get version <0xb7737740>
36 07/15/10 14:07:13.443 receiveFunction started <0xb7736b70>
36 07/15/10 14:07:13.443 Get home/node id <0xb7737740>
use the RPC Plugin or MessageSend to control stuff...
br Hari