Hi I'm very close to releasing a ruby/GSD interface to HAI's ( http://www.homeauto.com
) Omni line of home automation controllers. As it stands I have the networking, 128 bit aes encryption, lights, security, thermostats and aux sensors working. I just have a few questions I'm hoping a GSD guru might help me out with.
1. How or who calls "#756 Report Child Devices" ? I can call this manually but I would assume LinuxMCE would do this for me. My code will auto discover children, I would assume this is the right place to put it. Right now its not automatically being called.
2. On startup or reload LinuxMCE needs to know the state of lights, temps, etc.... Is this something that should be done in "#355 Process Initialize" or is there another method for reporting state? If so, again what triggers linuxmce to do this?
3. How or where can I found out how methods are called and who calls them? I don't understand the relationship between "command groups", "events" and the "device category" and how they effect what GSD methods get called and by what. Could someone explain this a little more?
For what its worth my device is in the "Interfaces - Security Interface #80" and has the "Ruby Internal Commands" and "Security Panel" command groups. It also has "Alarm panel mode change #67", "Reporting Child Devices #54" and "Sensor Tripped #9" events.