Hi my peogram crash for timeout .... i use your module for sync my device razer with my led strip
error : C:\Users\pierr\Documents\Chroma\node_modules\magic-home\lib\Control.js:210
reject(new Error("Command timed out"));
^
Error: Command timed out
at Control._handleCommandTimeout (C:\Users\pierr\Documents\Chroma\node_modules\magic-home\lib\Control.js:210:12)
at Timeout._onTimeout (C:\Users\pierr\Documents\Chroma\node_modules\magic-home\lib\Control.js:237:12)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
my code :
const Chroma = require("razer-chroma-nodejs");
let currentColor;
const { Control, CustomMode } = require('magic-home');
let light = new Control("192.168.0.103");
Hi my peogram crash for timeout .... i use your module for sync my device razer with my led strip error : C:\Users\pierr\Documents\Chroma\node_modules\magic-home\lib\Control.js:210 reject(new Error("Command timed out")); ^
Error: Command timed out at Control._handleCommandTimeout (C:\Users\pierr\Documents\Chroma\node_modules\magic-home\lib\Control.js:210:12) at Timeout._onTimeout (C:\Users\pierr\Documents\Chroma\node_modules\magic-home\lib\Control.js:237:12) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7)
my code : const Chroma = require("razer-chroma-nodejs"); let currentColor;
const { Control, CustomMode } = require('magic-home'); let light = new Control("192.168.0.103");
/ Create effect / const waveEffect = () => { Chroma.effects.keyboard.wave(0, 5);
};
light.setPower(true).then(success => { // Load Chroma Chroma.util.init(() => { let effect = waveEffect();
});