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

Main Menu

Fedora 12 Packages

Started by hari, July 15, 2010, 03:50:58 PM

Previous topic - Next topic

hari

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 - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

nite_man

How those packages can be used?
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

hari

#2
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
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

nite_man

Thanks for explanation, Hari. Sounds very interesting. Based on that mini installation some stand alone controller can be built.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

hari

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 - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

nite_man

Hi Hari,

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

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

bulek

#6
Quote from: hari 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
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.
Thanks in advance,

regards,

Bulek.

hari

Quote from: bulek on January 30, 2011, 10:58:57 AM
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 - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation