From: Neil C. <nc...@li...> - 2007-09-21 22:57:54
|
Jason Sharpee wrote: > Hi All, > > After a couple of days of fixing some field test bugs, I have checked > in my initial Insteon PLM support (only supports X10 at this time). > Please read the code file for usage. Essentially all you need to do is > define the Insteon_PLM object in items.mht and change the interface to the > instance name: > > <items.mht> > INSTEON_PLM, myPLM > X10SL, L7, x10_butler, ,myPLM > > > Files updated: read_table_a, Insteon_PLM, X10_Items > > Notes: > > - Sending X10 commands seems to work rather well. I think it will support > all X10_Items including the super classes and their specialized command > sets. Very cool! I'll update in a moment to see what work you've done and to see if I can match your work (keeping things similar between the PLM, PLS (Serial) and PLU (USB)). I have code that makes writing the code between the PLS and PLU look the same. The difference is in the final read/write routines (sread/swrite and uread and uwrite). Thanks! > - Receiving X10 commands doesnt appear to work correctly all the time, > however, I believe I am simply using the wrong hash table of commands. > I dont have any devices that actually send x10 back to the PC so I didnt > really test this well.. Let me know. Im not exactly sure how MH expects > the X10 "string" to be passed to it. I think the answer is XA1AJ for A1 On being sent back to MH. I'm trying to find my old code for adding the old Insteon driver to MH but I don't know where I put it at the moment. I'll find it as I need to see how I pass Insteon and X10 back to MH. I figured it out a while ago and I think I can still make use of the code with the Device_Item class. It now seems a lot simpler (unless I'm wrong, then it's much harder ;-). > - Insteon support is being worked on currently, ill let everyone know when > I have an update for that. The framework is in this version, I just dont > have all of the code copied from my proof of concept into the class yet. Thanks again -- Linux Home Automation Neil Cherry nc...@li... http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies |