From e2f20e46fa9c4f33e20e364674ff17b9c44b8721 Mon Sep 17 00:00:00 2001 From: KRKeegan Date: Thu, 6 Jun 2013 20:13:31 -0700 Subject: [PATCH] Insteon: Set Cmd2 to 00 in All Link Send Commands Per the spec, Cmd2 should be 00, was getting set to FF when on command was sent. --- lib/Insteon/BaseInsteon.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Insteon/BaseInsteon.pm b/lib/Insteon/BaseInsteon.pm index a0d50044c..84cfc665e 100644 --- a/lib/Insteon/BaseInsteon.pm +++ b/lib/Insteon/BaseInsteon.pm @@ -406,7 +406,10 @@ sub derive_message return undef; } - if ($p_extra) + if ($self->isa("Insteon::InterfaceController")) + { + $message->extra('00') #All PLM Scenes are Cmd2=00; + } elsif ($p_extra) { $message->extra($p_extra); } elsif ($subcommand) {