diff --git a/src/main.js b/src/main.js index 4d4db59..b45c020 100644 --- a/src/main.js +++ b/src/main.js @@ -58,6 +58,7 @@ setInterval(fn.routines.cycleAuger, config.augerTotalCycleTime); /***************************************************************************************/ process.comlink.on('stateChange', (oldState, state) => { fn.log(`ComLink: State change detected.`, 'INFO'); + fn.log(`ComLink: Old State: ${JSON.stringify(oldState.auger)}\nNew State: ${JSON.stringify(state.auger)}`, 'DEBUG'); fn.handlers.stateChange(oldState, state); });