« Return to Thread: Can't control x10 from RemoteLinc but can from webpage

Re: Can't control x10 from RemoteLinc but can from webpage

by Gregg Liming :: Rate this Message:

Reply to Author | View in Thread

Brock Palen wrote:

>   recently upgraded to my first insteon gear,  and am trying to  
> control an x10 appliance module connected to a lamp using a RemoteLinc  
> controller.
>
> I should point out that I have been able to pare the remote with the  
> plm and mh, and two light modules.
>
> I can control the x10 module from the mh webpage, but not form the  
> small code I wrote to control from the remotelinc.  Note I am trying  
> to have mh control the device,
>
> Here is what I see when I control (successfully) from the webpage:
>
> 06/28/09 12:51:21 AM [Insteon_PLM] x10 sending code: A2 as insteon  
> msg: 02636e00
> 06/28/09 12:51:21 AM [Insteon_PLM] x10 sending code: AJ as insteon  
> msg: 02636280
> 06/28/09 12:51:21 AM [Insteon_PLM] Command stack size: 1
> 06/28/09 12:51:22 AM [Insteon_PLM] Parsing serial data: 02636e0006
> 06/28/09 12:51:22 AM [Insteon_PLM] Parsing serial data: 0263628006
>
> Here is what happens when I try to control it from the remoteLinc
>
> 06/28/09 12:52:04 AM [Insteon_PLM] Parsing serial data:  
> 02500a2c85000002c71100
> 06/28/09 12:52:04 AM [Insteon_Device] command:11; type:alllink; group:  
> 02
> 06/28/09 12:52:04 AM [Insteon_Device] found: on
> 06/28/09 12:52:04 AM [Insteon_PLM] Processing message for  
> $silver_button_2
> 06/28/09 12:52:04 AM [Insteon_Device]  
> $silver_button_2::set_receive(on, Insteon_Link=HASH(0xb5f39a0))
> 06/28/09 12:52:04 AM silver remote on
> 06/28/09 12:52:04 AM [X10] Toggling X10_Item object $living_room_light  
> from off to on
> 06/28/09 12:52:04 AM [Insteon_PLM] x10 sending code: A2 as insteon  
> msg: 02636e00
> 06/28/09 12:52:04 AM [Insteon_PLM] x10 sending code: AJ as insteon  
> msg: 02636280
> 06/28/09 12:52:04 AM [Insteon_PLM] Command stack size: 1
> 06/28/09 12:52:04 AM [Insteon_PLM] Parsing serial data: 02636e0006
> 06/28/09 12:52:04 AM [Insteon_PLM] Parsing serial data: 0263628006
> 06/28/09 12:52:05 AM [Insteon_PLM] Parsing serial data:  
> 02500a2c850fd787431102
> 06/28/09 12:52:05 AM [Insteon_Device] command:11; type:cleanup; group:  
> 02
> 06/28/09 12:52:05 AM [Insteon_Device] found: on
> 06/28/09 12:52:05 AM [Insteon_PLM] Processing message for  
> $silver_button_2
>
>
> Note that the commands MH says it is sending are the same, but nothing  
> happens to the light.  Is this just insteon commands overwhelming the  
> network?

I suspect that the x10 signals that you are sending are colliding (due
to timing) with the final signals sent from the remotelinc.  Assuming
that you are using a "set" method to send signals to your x10, I would
switch to using "set_with_timer" to introduce a slight delay (e.g., 1
second).  In an insteon-only environment, you still might have
collisions, but the signals would be automatically resent.

>    What is that extra Parsing serial data lines?

The insteon protocol for linked devices starts with a broadcast which
accounts for the first parsed "on" and then sends out a direct "cleanup"
command to each linked responder which accounts for the second "on"
message.  In general, this is a good thing as broadcast messages are not
acknowledged and this is the insteon mechanism to attempt guaranteed
delivery.

> Thanks,  I searched but could not find a similar issue.
>
>
> 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: Can't control x10 from RemoteLinc but can from webpage