Bulek,
REREAD my last message.
my device = 50
to set state to "ON"
cmd = Command.new(50,50,1,1,192) # 192 = ON
cmd.params[120]="1" # retransmit
SendCommand(cmd)
to set my devices state to 50%:
cmd = Command.new(50,50,1, 1,76, 184) #184 = SetLevel
cmd.params[76] = "50" #State to be set
cmd.params[120]="1" #retransmit
SendCommand(cmd)
now in your Process Recieve Command for Child:
if cmd.to = cmd.from
#ignore this command
end
That will set your state.
My underscore key is broken, so I didn't add those.
Take a look at my Insteon code for more examples.