Page 1 of 2

Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 1:18 pm
by Juggler
I love this plugin... it is truly magical to be able to sit, and with only a single remote turn on/off lights and my TV etc.

One question... I cannot get the dim buttons to work. Whenever I press either + or - on the remote, it turns the lights all the way on or off. Is there any way to uses these buttons to actually dim the devices?

cheers,
J.

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 1:37 pm
by FlyingDiver
What device or action do you have mapped to the normal light/outlet buttons on the remote?

As I recall, the Harmony will attempt to send a brighten/dim command to the last device turned on/off by the other buttons. If that's getting misinterpreted as a complete on/off, I might be able to fix it.

Turn on debug logging for the plugin, then turn on a mapped device, then attempt to dim it. Then post or send me the log excerpt for that sequence.

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 1:45 pm
by Juggler
I have an Insteon wall dimmer mapped to the button. The log output for turning on the device with the button, then pressing "-" are shown:

Code: Select all
LIFX Bridge Debug               lifxRespond, seq_num = 133, type = 117, target = 00:16:1c:0b:37:4b
LIFX Bridge Debug               LightSetPower command is for device: under walkway, payload = [('Power', 65535), ('Duration', 1000)]
LIFX Bridge                     Set on state of device 202061131 to 65535
Sent INSTEON                    "under walkway" on to 100
LIFX Bridge Debug               lifxRespond, seq_num = 134, type = 102, target = 00:16:1c:0b:37:4b
LIFX Bridge Debug               LightSetColor command is for device: under walkway, payload = [('Color', (18432, 33343, 52480, 48102)), ('Duration', 256011)]
LIFX Bridge                     Set brightness of device 202061131 to 52480
LIFX Bridge Debug               lifxRespond, seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               LightGet message, replying for: livingroom table lamp
LIFX Bridge Debug               LightGet message, replying for: livingroom uprights
LIFX Bridge Debug               LightGet message, replying for: under walkway
LIFX Bridge Debug               LightGet message, replying for: livingroom ceiling
Sent INSTEON                    "under walkway" on to 0
LIFX Bridge Debug               lifxRespond, seq_num = 136, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 136, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 136, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 136, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 136, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 136, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 136, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 136, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 136, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 135, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 136, type = 32, target = 00:00:00:00:00:00

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 1:47 pm
by FlyingDiver
OK, good info there. Let me look at the code and see if I can figure out what's going on.

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 1:50 pm
by Juggler
Thanks! Love the plugin!!!

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 1:52 pm
by FlyingDiver
I think I found a bug. :(

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 1:55 pm
by Juggler
Let me know if I can test anything...

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 1:58 pm
by FlyingDiver

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 2:22 pm
by Juggler
That seems to have done the trick!


Code: Select all
LIFX Bridge Debug               lifxRespond, seq_num = 147, type = 117, target = 00:16:1c:0b:37:4b
LIFX Bridge Debug               LightSetPower command is for device: under walkway, payload = [('Power', 65535), ('Duration', 1000)]
LIFX Bridge                     Set on state of device 202061131 to 65535
Sent INSTEON                    "under walkway" on to 100
LIFX Bridge Debug               lifxRespond, seq_num = 148, type = 102, target = 00:16:1c:0b:37:4b
LIFX Bridge Debug               LightSetColor command is for device: under walkway, payload = [('Color', (18432, 33343, 26112, 48051)), ('Duration', 256011)]
LIFX Bridge                     Set brightness of device 202061131 to 26112
LIFX Bridge Debug               lifxRespond, seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               LightGet message, replying for: livingroom table lamp
LIFX Bridge Debug               LightGet message, replying for: livingroom uprights
LIFX Bridge Debug               LightGet message, replying for: under walkway
LIFX Bridge Debug               LightGet message, replying for: livingroom ceiling
Sent INSTEON                    "under walkway" on to 39
LIFX Bridge Debug               lifxRespond, seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 149, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 150, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, seq_num = 151, type = 102, target = 00:16:1c:0b:37:4b
LIFX Bridge Debug               LightSetColor command is for device: under walkway, payload = [('Color', (18432, 33343, 52480, 48102)), ('Duration', 256011)]
LIFX Bridge                     Set brightness of device 202061131 to 52480
LIFX Bridge Debug               lifxRespond, seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               LightGet message, replying for: livingroom table lamp
LIFX Bridge Debug               LightGet message, replying for: livingroom uprights
LIFX Bridge Debug               LightGet message, replying for: under walkway
LIFX Bridge Debug               LightGet message, replying for: livingroom ceiling
Sent INSTEON                    "under walkway" on to 80
LIFX Bridge Debug               lifxRespond, seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 152, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 153, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, seq_num = 154, type = 117, target = 00:16:1c:0b:37:4b
LIFX Bridge Debug               LightSetPower command is for device: under walkway, payload = [('Power', 0), ('Duration', 1000)]

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 2:28 pm
by FlyingDiver
Good deal. I didn't have the mapping from the LIFX range (0-65535) to the Indigo range (0-100) in the right place.

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 4:17 pm
by jay (support)
Woohoo! I was eventually going to get around to asking... :wink:

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 5:05 pm
by FlyingDiver
For some unknown reason, I had it going one direction, but not the other.

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 6:39 pm
by Different Computers
That seems to be Lifx bridge, not Harmony Hub.

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 7:09 pm
by FlyingDiver
It's the LIFX bridge plugin, which enables using the home automation buttons on the Harmony Hub remotes to control Indigo devices. Which is different than using Indigo to control the Harmony Hub.

Yeah, it's confusing.

Re: Harmony Hub "dim buttons"

PostPosted: Tue Feb 21, 2017 7:40 pm
by Juggler
Should the dimming work with z-wave devices? I have a Leviton VRPD3-1LW (lamp module). It is behaving the same way, i.e. press the "-" button and it turns off.

Here is the debug:

Code: Select all
LIFX Bridge Debug               lifxRespond, seq_num = 181, type = 117, target = 00:16:63:a4:dd:69
LIFX Bridge Debug               LightSetPower command is for device: livingroom table lamp, payload = [('Power', 65535), ('Duration', 1000)]
LIFX Bridge                     Set on state of device 1654959465 to 65535
Z-Wave Debug                    SENT setMultiLevelValue: 01 0A 00 13 2B 03 26 01 FF 25 C7 F4
Z-Wave                          sent "livingroom table lamp" on
Sent INSTEON                    "living room 8 button" keypad button 4 on
LIFX Bridge Debug               lifxRespond, seq_num = 182, type = 102, target = 00:16:63:a4:dd:69
LIFX Bridge Debug               LightSetColor command is for device: livingroom table lamp, payload = [('Color', (18432, 33343, 0, 47872)), ('Duration', 256011)]
LIFX Bridge                     Set brightness of device 1654959465 to 0
Z-Wave Debug                    SENT setMultiLevelValue: 01 0A 00 13 2B 03 26 01 00 25 C8 04
Z-Wave                          sent "livingroom table lamp" set brightness to 0
LIFX Bridge Debug               lifxRespond, seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               LightGet message, replying for: livingroom table lamp
LIFX Bridge Debug               LightGet message, replying for: livingroom uprights
LIFX Bridge Debug               LightGet message, replying for: under walkway
LIFX Bridge Debug               LightGet message, replying for: livingroom ceiling
LIFX Bridge Debug               lifxRespond, seq_num = 184, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 184, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 184, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 184, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 184, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 184, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 184, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 184, type = 32, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 184, type = 32, target = 00:00:00:00:00:00
Sent INSTEON                    "living room 8 button" keypad button 4 off
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 183, type = 101, target = 00:00:00:00:00:00
LIFX Bridge Debug               lifxRespond, skipping repeat seq_num = 184, type = 32, target = 00:00:00:00:00:00