diff --git a/lpf2hub.ts b/lpf2hub.ts index 91a81a5..af4fac0 100644 --- a/lpf2hub.ts +++ b/lpf2hub.ts @@ -97,7 +97,11 @@ export class LPF2Hub extends Hub { if (color === false) { color = 0; } - data = Buffer.from([0x08, 0x00, 0x81, 0x32, 0x11, 0x51, 0x00, color]); + if (this.type === Consts.Hubs.POWERED_UP_REMOTE) { + data = Buffer.from([0x08, 0x00, 0x81, 0x34, 0x11, 0x51, 0x00, color]); + } else { + data = Buffer.from([0x08, 0x00, 0x81, 0x32, 0x11, 0x51, 0x00, color]); + } this._writeMessage(Consts.BLECharacteristics.BOOST_ALL, data); return resolve(); });