Continued attempts to debug improper light color when lights were off
This commit is contained in:
@@ -330,6 +330,16 @@ let sendReset = {
|
|||||||
"delay": delay
|
"delay": delay
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let sendDebug = {
|
||||||
|
"topic": "debug",
|
||||||
|
"colorName1": colorName1,
|
||||||
|
"colorName2": colorName2,
|
||||||
|
"lifxData": lifxData,
|
||||||
|
"effectLifx": effectLifx,
|
||||||
|
"basement1": basement1,
|
||||||
|
"basement2": basement2
|
||||||
|
}
|
||||||
|
|
||||||
// Send backup messages
|
// Send backup messages
|
||||||
if (stateLivingRoom === 'on' && alertFirstFloor === false) {
|
if (stateLivingRoom === 'on' && alertFirstFloor === false) {
|
||||||
node.send([backupLivingRoom,null,null,null,null,null])
|
node.send([backupLivingRoom,null,null,null,null,null])
|
||||||
@@ -345,7 +355,7 @@ if (stateBasement === 'on' && alertBasement === false) {
|
|||||||
|
|
||||||
// Send effect messages
|
// Send effect messages
|
||||||
if (effectBasement === true) {
|
if (effectBasement === true) {
|
||||||
node.send([null,null,null,null,[sendAdaptiveBasement,sendBasementLights,sendBasementStripFX,sendBasementStrip1,sendBasementStrip2],null])
|
node.send([null,null,null,null,[sendAdaptiveBasement,sendBasementLights,sendBasementStripFX,sendBasementStrip1,sendBasementStrip2,sendDebug],null])
|
||||||
}
|
}
|
||||||
|
|
||||||
if (effectFirstFloor === true) {
|
if (effectFirstFloor === true) {
|
||||||
|
|||||||
Reference in New Issue
Block a user