From: Bill D. <dr...@dm...> - 2013-11-19 19:07:23
|
Very helpful. This is actually both the clearest and shortest explanation of surrogate links I've read yet! On Tue, Nov 19, 2013 at 12:47 PM, Kevin Robert Keegan <ke...@kr...>wrote: > Not sure what "other than A" means. > I don't know why, but I've always understood the the top, left button on a KeypadLinc which controls the physically attached load, didn't need the surrogate link. It's that top, left button that I was referring to by writing "other than A." Is my understanding incorrect? > But yes surrogate links are still necessary if you want to do this: > > $kpl_kitchen_c->set(ON); > > But if you don't control the button state that way, they are not > necessary. For example, the following setup will work: > > INSTEON_ICONTROLLER, 10, my_scene, all_scenes > SCENE_MEMBER, kpl_kitchen_c, my_scene > SCENE_MEMBER, other_light, my_scene > > $my_scene->set(ON); > > This will work, and the keypadlinc button light will turn on ( as will the > other_light). > This is so clear and the SCENE_BUILD lines in .mht files are so much easier to use than the SCENE_Member lines. I'd say that the surrogate link could be considered deprecated. For example, wouldn't this work just as well?: INSTEON_ICONTROLLER, 10, my_scene, all_scenes SCENE_BUILD, kpl_kitchen_c, 1, 1, my_scene SCENE_BUILD, other_light, 1, 1, my_scene Of course, this is a very simple Insteon scene (and the SCENE_MEMBER version leaves out the device links.) A more complex scene would only require one SCENE_BUILD line for each device, but would require one SCENE_MEMBER line for each link. This means that the total number of SCENE_MEMBER lines would grow as much faster. I do have a few surrogates lines left that I'll be trying to eliminate. I remember Marc Merlin writing about this, but I didn't get it then. Surrogate links are of course not necessary if you don't intend to control > the button state from MH at all. > I was never clear on this. Thanks for clearing things up. > On Mon, Nov 18, 2013 at 6:10 PM, Bill Dripps <dr...@dm...> wrote: > >> Are surrogate links still necessary to get keypadlinc buttons other >> than A working properly? >> >> Thanks, >> Bill >> >> >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech innovation. >> Intel(R) Software Adrenaline delivers strategic insight and game-changing >> conversations that shape the rapidly evolving mobile landscape. Sign up >> now. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> ________________________________________________________ >> To unsubscribe from this list, go to: >> http://sourceforge.net/mail/?group_id=1365 >> >> >> > Thanks, Bill |