diff --git a/lights.js b/lights.js index 8cbaa9b..5afd37b 100644 --- a/lights.js +++ b/lights.js @@ -98,6 +98,7 @@ function tick_pattern() { log.debug("TICKING PATTERN") let parsed = pattern.parsed; + log.info(`${JSON.stringify(pattern})} ${JSON.stringify(parsed)}`); if (parsed && parsed.length > 0) { for (let i = 0; i < cfg.leds; i++) { @@ -116,7 +117,7 @@ function tick_pattern() { } else { let result = functions[name].func(i, command.arg1, command.arg2); - log.info("no convert " + result); + log.info("no convert " + result); targets[command.arg1] = result; } }