|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
control insteon lights from x10 remotesI have insteon lights in my bedroom, they work fine, and are
controlled by a scene defined as: IPLL, PLM:10, bed_both_scene, all_scenes, PLM SCENE_MEMBER, bedroom_light1, bed_both_scene, 100%, 2s SCENE_MEMBER, bedroom_light2, bed_both_scene, 100%, 2s I also have an x10 wireless remote I would like to use to control it, I defined it as: X10SL, A3, x10_bedroom_light, All_Lights, PLM, I then made the following code: if( $state = $x10_bedroom_light->state_now()){ $bed_both_scene->set($state); print_log "x10 said bedroom light $state"; } When I hit 'ON' I get the following logged: 07/01/09 11:04:10 PM XA3: x10_bedroom_light manual 07/01/09 11:04:10 PM x10 said bedroom light manual And the lights turn on, but I can't turn them off, why is the switch being set to 'manual' and not the actually ON and OFF codes being sent? If I remove the A3 device, and just watch the logs the PLM is correctly seeing them as A3 ON and A3 OFF, but ignores this information when I define a name to go with it. Thanks, Brock Palen brockp@... www.mlds-networks.com MLDS Owner Senior Tech. ------------------------------------------------------------------------------ ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: control insteon lights from x10 remotesOn Wed, Jul 01, 2009 at 11:34:15PM -0400, Brock Palen wrote:
> I have insteon lights in my bedroom, they work fine, and are > controlled by a scene defined as: > > IPLL, PLM:10, bed_both_scene, all_scenes, PLM > SCENE_MEMBER, bedroom_light1, bed_both_scene, 100%, 2s > SCENE_MEMBER, bedroom_light2, bed_both_scene, 100%, 2s > > I also have an x10 wireless remote I would like to use to control it, > I defined it as: > X10SL, A3, x10_bedroom_light, All_Lights, > PLM, > > I then made the following code: > if( $state = $x10_bedroom_light->state_now()){ > $bed_both_scene->set($state); > print_log "x10 said bedroom light $state"; > } > > > When I hit 'ON' I get the following logged: > > 07/01/09 11:04:10 PM XA3: x10_bedroom_light manual > 07/01/09 11:04:10 PM x10 said bedroom light manual I'm not too sure why you're getting manual. I have X10SL, L4, mbr_lamp2_x10, All_X10_lights|All_X10, PLM, and my code is if ($mbr_lamp2_x10->state_now eq ON) { print_log "Got on for mbr_lamp2_x10, resending as insteon command"; $mbr_lamp2->set(ON); } elsif ($mbr_lamp2_x10->state_now eq OFF) { print_log "Got off for mbr_lamp2_x10, resending as insteon command"; $mbr_lamp2->set(OFF); } Maybe you want to try X10A instead of X10SL? (or X10I?) Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ ------------------------------------------------------------------------------ ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: control insteon lights from x10 remotesBrock Palen wrote:
> I have insteon lights in my bedroom, they work fine, and are > controlled by a scene defined as: > > IPLL, PLM:10, bed_both_scene, all_scenes, PLM > SCENE_MEMBER, bedroom_light1, bed_both_scene, 100%, 2s > SCENE_MEMBER, bedroom_light2, bed_both_scene, 100%, 2s > > I also have an x10 wireless remote I would like to use to control it, > I defined it as: > X10SL, A3, x10_bedroom_light, All_Lights, > PLM, > > I then made the following code: > if( $state = $x10_bedroom_light->state_now()){ > $bed_both_scene->set($state); > print_log "x10 said bedroom light $state"; Try changing the above print_log statement to: print_log "x10 said bedroom light $state and state_level " . $x10_bedroom_light->state_level; If state_level gives the correct corresponding value, then you'll have to further qualify your code above. > } > > > When I hit 'ON' I get the following logged: > > 07/01/09 11:04:10 PM XA3: x10_bedroom_light manual > 07/01/09 11:04:10 PM x10 said bedroom light manual > > And the lights turn on, but I can't turn them off, why is the switch > being set to 'manual' and not the actually ON and OFF codes being > sent? If I remove the A3 device, and just watch the logs the PLM is > correctly seeing them as A3 ON and A3 OFF, but ignores this > information when I define a name to go with it. > > Thanks, > > > Brock Palen > brockp@... > www.mlds-networks.com > MLDS Owner Senior Tech. > > > > ------------------------------------------------------------------------------ > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > ------------------------------------------------------------------------------ ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: control insteon lights from x10 remotesOn Jul 2, 2009, at 8:55 AM, Gregg Liming wrote:
> Brock Palen wrote: >> I have insteon lights in my bedroom, they work fine, and are >> controlled by a scene defined as: >> >> IPLL, PLM:10, bed_both_scene, all_scenes, PLM >> SCENE_MEMBER, bedroom_light1, bed_both_scene, 100%, 2s >> SCENE_MEMBER, bedroom_light2, bed_both_scene, 100%, 2s >> >> I also have an x10 wireless remote I would like to use to control it, >> I defined it as: >> X10SL, A3, x10_bedroom_light, All_Lights, >> PLM, >> >> I then made the following code: >> if( $state = $x10_bedroom_light->state_now()){ >> $bed_both_scene->set($state); >> print_log "x10 said bedroom light $state"; > > Try changing the above print_log statement to: > > print_log "x10 said bedroom light $state and state_level " . > $x10_bedroom_light->state_level; > > If state_level gives the correct corresponding value, then you'll have > to further qualify your code above. Ok this is strange, I tried both X10A X10SL and X10I Used the following code: if ( $x10_bedroom_light->state_now()){ print_log "x10 said bedroom light " . $x10_bedroom_light- >state_now(); $bed_both_scene->set($x10_bedroom_light->state_now()); } In call cases I got: 07/02/09 10:39:47 PM x10 said bedroom light manual _but_ if I comment out $bed_both_scene->set($x10_bedroom_light->state_now()); I get 07/02/09 10:53:35 PM x10 said bedroom light off 07/02/09 10:53:41 PM x10 said bedroom light on The right values, thats really strange, why would including a line of code acting on the object (after the logging) affect the value seen? > > >> } >> >> >> When I hit 'ON' I get the following logged: >> >> 07/01/09 11:04:10 PM XA3: x10_bedroom_light manual >> 07/01/09 11:04:10 PM x10 said bedroom light manual >> >> And the lights turn on, but I can't turn them off, why is the switch >> being set to 'manual' and not the actually ON and OFF codes being >> sent? If I remove the A3 device, and just watch the logs the PLM is >> correctly seeing them as A3 ON and A3 OFF, but ignores this >> information when I define a name to go with it. >> >> Thanks, >> >> >> Brock Palen >> brockp@... >> www.mlds-networks.com >> MLDS Owner Senior Tech. >> >> >> >> ------------------------------------------------------------------------------ >> ________________________________________________________ >> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 >> > > > ------------------------------------------------------------------------------ > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > ------------------------------------------------------------------------------ ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: control insteon lights from x10 remotesOn Jul 2, 2009, at 8:55 AM, Gregg Liming wrote:
> Brock Palen wrote: >> I have insteon lights in my bedroom, they work fine, and are >> controlled by a scene defined as: >> >> IPLL, PLM:10, bed_both_scene, all_scenes, PLM >> SCENE_MEMBER, bedroom_light1, bed_both_scene, 100%, 2s >> SCENE_MEMBER, bedroom_light2, bed_both_scene, 100%, 2s >> >> I also have an x10 wireless remote I would like to use to control it, >> I defined it as: >> X10SL, A3, x10_bedroom_light, All_Lights, >> PLM, >> >> I then made the following code: >> if( $state = $x10_bedroom_light->state_now()){ >> $bed_both_scene->set($state); >> print_log "x10 said bedroom light $state"; > > Try changing the above print_log statement to: > > print_log "x10 said bedroom light $state and state_level " . > $x10_bedroom_light->state_level; > > If state_level gives the correct corresponding value, then you'll have > to further qualify your code above. Ok this is strange, I tried both X10A X10SL and X10I Used the following code: if ( $x10_bedroom_light->state_now()){ print_log "x10 said bedroom light " . $x10_bedroom_light- >state_now(); $bed_both_scene->set($x10_bedroom_light->state_now()); } In call cases I got: 07/02/09 10:39:47 PM x10 said bedroom light manual _but_ if I comment out $bed_both_scene->set($x10_bedroom_light->state_now()); I get 07/02/09 10:53:35 PM x10 said bedroom light off 07/02/09 10:53:41 PM x10 said bedroom light on The right values, thats really strange, why would including a line of code acting on the object (after the logging) affect the value seen? > > >> } >> >> >> When I hit 'ON' I get the following logged: >> >> 07/01/09 11:04:10 PM XA3: x10_bedroom_light manual >> 07/01/09 11:04:10 PM x10 said bedroom light manual >> >> And the lights turn on, but I can't turn them off, why is the switch >> being set to 'manual' and not the actually ON and OFF codes being >> sent? If I remove the A3 device, and just watch the logs the PLM is >> correctly seeing them as A3 ON and A3 OFF, but ignores this >> information when I define a name to go with it. >> >> Thanks, >> >> >> Brock Palen >> brockp@... >> www.mlds-networks.com >> MLDS Owner Senior Tech. >> >> >> >> ------------------------------------------------------------------------------ >> ________________________________________________________ >> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 >> > > > ------------------------------------------------------------------------------ > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > ------------------------------------------------------------------------------ ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
| Free embeddable forum powered by Nabble | Forum Help |