ARCHIVE
LinuxMCE Forums
May 24, 2013, 06:14:56 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: Connecting to DCE router with Perl and Misterhouse  (Read 3781 times)
archived
Hello, I'm new here

Posts: 0


View Profile
« on: March 10, 2005, 08:47:17 am »

Hi,

I've just installed Pluto and I see that I will have to learn a lot about it, to be able to contribute.

We had quite some discussion about integration of Pluto and Misterhouse (www.misterhouse.com) and this could be the first step.

I'd like to connnect to DCE router with Perl (probably over TCP socket) and would like to receive all messages from router, just to get some more knowledge about DCE Router operation.

On next step, I'd like to enhance this - so that MH could also send some commands, events to router and on next step MH act as parent device to all devices it currently supports.

One of the more interesting things I'd like to do through MH is whole house audio in SW (with speech announcements, VOIP calls, etc...) all through multi channel outputs on core....

Also I'm planning to do some more research work on adaptive house field (I'm post Ph.D researcher in speech processing and inteligent user speech interfaces).

So I kindly ask for some help on this one ....

Regards,

Tinia.
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #1 on: March 12, 2005, 02:07:42 pm »

Hi,

DCERouter is actually a pretty simple program.  All it does, essentially, is take a message (see DCE/Message.cpp) and route it the destination device(s).  It also handles "interceptors" (ie my device wants to be notified every time a sensor is tripped).

The easiest way to see what's happening is to tail /var/log/pluto/DCERouter.newlog.  Every DCE Device logs it's output to that directory.  If a device is restarted, the scripts move the .newlog contents to .log ,and start a .newlog file again.  At bootup, all the logs are compressed into an archive in /var/log/pluto/archive.  So you can just tail the .newlog for the module you're interested.  Optionall you could do a screen -ls, and tehn a screen -r to attach to the screen session -- all devices, including DCERouter run in screen sessions.
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #2 on: September 21, 2005, 04:59:12 am »

Lol, okay i get it now.
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!
Pluto provided a snapshot of their forums with approximately 5,000 posts in February, 2007 when LinuxMCE branched off. Browse those forum posts in the Archive section. Those posts have been included in the search engine and can be found with keyword searches.