logi-fix.js aktualisiert

This commit is contained in:
s-mendyka 2024-06-05 21:38:25 +02:00
parent 1b97501484
commit 4feb42c649

View File

@ -122,7 +122,7 @@ function sendColors(overrideColor) {
const ledsToSend = Math.min(4, RGBDataExtra.length/4);
packet = [0x11, 0xFF, 0x10, 0x1A].concat(RGBDataExtra.splice(0, ledsToSend*4));
device.set_endpoint(1, 0x0604, 0xff43); // Lighting IF
device.set_endpoint(1, 0x0602, 0xff43); // Lighting IF
device.write(packet, 20);
device.pause(1);
}