« Return to Thread: control insteon lights from x10 remotes

Re: control insteon lights from x10 remotes

by Gregg Liming :: Rate this Message:

Reply to Author | View in Thread

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.

> }
>
>
> 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

 « Return to Thread: control insteon lights from x10 remotes