Hi Joe
I have set up exactly as you said but the logic doesn't seem to be working
Amend the dimmer to 78 this is the debug
Code: Select all
Masquerade Debug scaleMasqToBase: lowLimit = 0, highLimit = 50, reverse = False, input = 79, format = Hexidecimal, scaled = 27
Masquerade Debug actionControlDevice: "Living Room Music" Set Brightness to 79 (scaled = 27)
Russound Debug TX: F0 00 00 7F 00 00 70 05 02 02 00 00 F1 21 00 27 00 00 00 01 36 F7
Russound Debug RX: F0 00 00 7D 00 00 7F 06 27 00 F1 6F 01 10 18 F7
Russound Debug Target Controller: 00
Russound Debug Target Zone: 00
Russound Debug Target Keypad: 7D
Russound Debug Source Controller: 00
Russound Debug Source Zone: 00
Russound Debug Source Keypad: 7F
Russound Debug Message Type ID: 06 Rendered Display
Russound Debug Render Type: 10 Volume
Russound Debug Value Low Byte: 27
Russound Debug Value High Byte: 00
Russound Debug Updating Device: Russound Zone 1, State: Volume, Value: 78
Masquerade Debug scaleBaseToMasq: lowLimit = 0, highLimit = 100, reverse = False, input = 78, scaled = 78
Masquerade Debug dimmerDeviceUpdate: Russound Zone 1 (78) --> Living Room Music (78)
Slider set to 50
Code: Select all
Masquerade Debug scaleMasqToBase: lowLimit = 0, highLimit = 50, reverse = False, input = 51, format = Hexidecimal, scaled = 19
Masquerade Debug actionControlDevice: "Living Room Music" Set Brightness to 51 (scaled = 19)
Russound Debug TX: F0 00 00 7F 00 00 70 05 02 02 00 00 F1 21 00 19 00 00 00 01 28 F7
Russound Debug RX: F0 00 00 7D 00 00 7F 06 19 00 F1 6F 01 10 0A F7
Russound Debug Target Controller: 00
Russound Debug Target Zone: 00
Russound Debug Target Keypad: 7D
Russound Debug Source Controller: 00
Russound Debug Source Zone: 00
Russound Debug Source Keypad: 7F
Russound Debug Message Type ID: 06 Rendered Display
Russound Debug Render Type: 10 Volume
Russound Debug Value Low Byte: 19
Russound Debug Value High Byte: 00
Russound Debug Updating Device: Russound Zone 1, State: Volume, Value: 50
Masquerade Debug scaleBaseToMasq: lowLimit = 0, highLimit = 100, reverse = False, input = 50, scaled = 50
Masquerade Debug dimmerDeviceUpdate: Russound Zone 1 (50) --> Living Room Music (50)
Setting the plugin to 54
Code: Select all
Russound Debug Updating Device: Russound Zone 1, State: Volume, Value: 54
Masquerade Debug scaleBaseToMasq: lowLimit = 0, highLimit = 100, reverse = False, input = 54, scaled = 54
Masquerade Debug dimmerDeviceUpdate: Russound Zone 1 (54) --> Living Room Music (54)
So the scaling isn't working but all else seems ok if i now amend the scaling on both to 100
Now set dimmer to 57 and this happens and the dimmer shows 28
Code: Select all
Masquerade Debug validateDeviceConfigUi, typeID = masqDimmer
Masquerade Debug scaleMasqToBase: lowLimit = 0, highLimit = 100, reverse = False, input = 57, format = Hexidecimal, scaled = 39
Masquerade Debug actionControlDevice: "Living Room Music" Set Brightness to 57 (scaled = 39)
So it looks like the Hex is working but the dimmer scaling in not, could it be that the top value is also using Hex?
Sorry for your trouble
