ARCHIVE
LinuxMCE Forums
May 19, 2013, 02:54:33 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: 'Reporting child devices' event - how to use it ?  (Read 1125 times)
archived
Hello, I'm new here

Posts: 0


View Profile
« on: November 13, 2006, 10:40:33 pm »

Hi,

I'm writting device driver in Perl for my home automation system. I communicate with it over rs232 and have module detection feature, so I can get list of connected devices...

I see that Apex Destiny 6100 is using 'Reporting child devices' event. I'd like to get more info on that :

- does reporting child devices actually adds new devices to Pluto and does nothing if such device already exists ?

- what do I exactly have to do to be able to fire such event from my driver ?

Thanks in advance,

regards,

Rob.
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #1 on: November 15, 2006, 12:36:50 pm »

Hi Rob,
The command 'ReportChildDevices' is called each time the device is starting.
You have to report all the child devices which are available, the report has information about the type of child device, room, the internal id (as you will manage it, NOT pluto).
Ex: [internal id] \t [description] \t [room name] \t [device template] \t [floorplan id] \n
The internal id will be available as device data 'Port/Channel Number'.
Once you have sent your report as an answer(event) to the command, you will get all the child devices.
Regards,
Eugen
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #2 on: November 17, 2006, 07:24:47 pm »

Quote from: "eugen.c"

Hi Rob,
The command 'ReportChildDevices' is called each time the device is starting.
You have to report all the child devices which are available, the report has information about the type of child device, room, the internal id (as you will manage it, NOT pluto).
Ex: [internal id] \t [description] \t [room name] \t [device template] \t [floorplan id] \n

Hi,

I'm a bit rusty - device receives command from DCERoter. It responds with report. But I'm not sure how to report more devices and on which tcp port should I send this report and how to make distinction between devices descriptions (records). Can you please give some more info (even better example) ?


Quote from: "eugen.c"

The internal id will be available as device data 'Port/Channel Number'.
Once you have sent your report as an answer(event) to the command, you will get all the child devices.

Regards,
Eugen


Hmm see answer on upper question. Device responds with event. Can you please provide example command line with MessageSend for reporting 3 child devices ?

Thanks in advance,

regards,

Rob.
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.