From: David N. <dno...@ya...> - 2011-04-05 19:48:30
|
I haven't used the cm11, but it was my understanding that it was one of the few powerline interfaces that could send all the extended x10 commands. It's possible the command is implemented, but not working. What does the command you are trying to send do? David On 4/5/2011 6:47 AM, Jan Spudich wrote: > Hi David, > > thank you for your answer. An instance of *X10_Item* with a > configuration string */&P(\d+)/* produces X10 extended command *type > 3* (lines 235 through 266 of ControlX10::CM11 as distributed in > MH-2.105). As I wrote in my original question, I need to produce X10 > extended code *type 0*. Based on my quick initial review of the code I > fear that *ControlX10::CM11* cannot produce X10 extended code type 0. > But I wonder why *%table_fcodes* (in ControlX10::CM11) features the > EXTENDED_CODE entry. And that's why I posted my question on this forum. > > Best Regards, > Jan > > > > > On Tue, Apr 5, 2011 at 11:34 AM, David Norwood <dno...@ya... > <mailto:dno...@ya...>> wrote: > > I actually updated a FAQ entry about this years ago, before I > switched to insteon: > > http://misterhouse.sourceforge.net/faq.html#2_15__what_is_the_format_of_misterhouse_x10_codes > > > I assume what you want to do it set the lm14a to a direct dim > level (I hate the term "preset dim"). I think the command you > want is "set $item &P32'", which will set the lamp or about 50% > brightness. I think if you define the item with the lm14 option > in your mht file, then you can use "set $item '50%'" and the > software will generate the correct extended command. > Unfortunately, the are at least 3 ways to do dimming with x10 but > no way to ask the module which methods it supports. > > We should move the FAQ list from svn (and distribution) to the > wiki. It will be seen more there and more likely to be updated. > > David > > > On 4/4/2011 1:38 AM, Jan Spudich wrote: >> Hi all, >> >> I have been using MH for few years to automate our house but I >> have not used this forum. Therefore I apologize if I fail to >> follow any of the forum etiquette rules. I seek a word of advise >> on a subject of X-10 extended code in MH and CM11. I searched >> this forum and found only this post (X10 Extended commands) >> <http://old.nabble.com/X10-Extended-commands-to16875690.html#a16882779>which >> touches the subject. However, it does not resolve my problem and >> therefore I kindly ask the experts around for help: my intention >> is to use X-10 extended code type 0 to drive SW10 shutter >> controller using the CM11 interface. The desired X-10 message >> looks like this: >> >> 1. start code - 4 cycles >> 2. house code - 4 bits (8 cycles) >> 3. key code - 5 bits (10 cycles) >> 4. unit code - 4 bits (8 cycles) >> 5. data - 8 bits (16 cycles) >> 6. command - 8 bits (16 cycles) >> >> Which method with what parameters I should use to make CM11 >> produce the X-10 message outlined above? >> >> So far, I have been trying to use the following code (with some >> variations): >> >> X10_Item::set('EEXTENDED_CODEE0F01') >> ^ ^ ^^ ^ >> | | || +---- command >> | | |+------ data >> | | +------- house code >> | +----------------- MH function code as defined >> in ControlX10::CM11 >> +--------------------- house code >> >> but MH reports an error. >> >> Thank you for your possible guidance. >> >> Best Regards, >> Jan >> >> >> ------------------------------------------------------------------------------ >> Create and publish websites with WebMatrix >> Use the most popular FREE web apps or write code yourself; >> WebMatrix provides all the features you need to develop and >> publish your website.http://p.sf.net/sfu/ms-webmatrix-sf >> >> >> ________________________________________________________ >> To unsubscribe from this list, go to:http://sourceforge.net/mail/?group_id=1365 >> > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > > > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > |