Author Topic: Fedora 12 Packages  (Read 17025 times)

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Fedora 12 Packages
« on: July 15, 2010, 03:50:58 pm »
Fedora 12 i686 binary packages are available here: http://www.linuxmce.org/standalone/f12/rpms/

Be aware that the included CreateDevice binary (DCERouter package) is PPL and *NOT GPL* (yet).

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

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Fedora 12 Packages
« Reply #1 on: July 15, 2010, 04:09:59 pm »
How those packages can be used?
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Fedora 12 Packages
« Reply #2 on: July 15, 2010, 04:25:25 pm »
install them:
Code: [Select]
[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)
Code: [Select]
[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)
Code: [Select]
[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):
Code: [Select]
[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:
Code: [Select]
[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:
Code: [Select]
[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
« Last Edit: July 15, 2010, 04:31:21 pm by hari »
rock your home - http://www.agocontrol.com home automation

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Fedora 12 Packages
« Reply #3 on: July 15, 2010, 04:29:48 pm »
Thanks for explanation, Hari. Sounds very interesting. Based on that mini installation some stand alone controller can be built.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Fedora 12 Packages
« Reply #4 on: July 15, 2010, 04:34:43 pm »
yeah, that was my intention. All parts besides "CreateDevice" are GPL. I did not yet rewrite the GeneralInfoPlugin as it just uses the CreateDevice parts for device creation. I've contacted the copyright holder of the Pluto stack and asked if we can have the createdevice sources as GPL. If not, I'm going to rewrite the needed bits and redo a small GI Plugin.

The lighting plugin is also rewritten, it basically just contains the status updates for now.

more to come :-)

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

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Fedora 12 Packages
« Reply #5 on: October 29, 2010, 04:50:00 pm »
Hi Hari,

I'm trying to install mini LMCE. But I get that error:
Code: [Select]
./mce-install-common.sh: line 62: /opt/pluto/bin/CreateDevice: No such file or directoryCould you tell me, pelase, what RPM should contain the CreateDevice binary?

TIA
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Fedora 12 Packages
« Reply #6 on: January 30, 2011, 10:58:57 am »
yeah, that was my intention. All parts besides "CreateDevice" are GPL. I did not yet rewrite the GeneralInfoPlugin as it just uses the CreateDevice parts for device creation. I've contacted the copyright holder of the Pluto stack and asked if we can have the createdevice sources as GPL. If not, I'm going to rewrite the needed bits and redo a small GI Plugin.

The lighting plugin is also rewritten, it basically just contains the status updates for now.

more to come :-)

br Hari
Update: Found answers to several my questions in other forum posts. Have collected varios posts and createw wiki page with condensed info and links to resources... But still interested in below question..

First, thanks for great effort...

perhaps any updates on status of CreateDevice and GI plugin ?

- I guess that for now, one has to compile CreateDevice by hand... Any notes to help on that ?
- or maybe if you choose to create device without CreateDevice - how difficult it is (simple mysql operation) ?

Thanks in advance,

regards,
Bulek.
« Last Edit: January 30, 2011, 11:37:08 am by bulek »
Thanks in advance,

regards,

Bulek.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Fedora 12 Packages
« Reply #7 on: January 30, 2011, 05:47:06 pm »
perhaps any updates on status of CreateDevice and GI plugin ?
GPL now and included in the most recent revision of the mini branch

Quote
- I guess that for now, one has to compile CreateDevice by hand... Any notes to help on that ?
should be compiled with the latest makefile

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