Skip to content

Commit

Permalink
fix(control) debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
smarthomeagentur committed Nov 27, 2024
1 parent 5cc4077 commit 67e66ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/hwcontrol.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ module.exports = {
await execAwait("ddcutil setvcp --display " + index + " D6 " + "03");
}

resolve("all devices sleeping");
resolve("[CONTROL] all devices sleeping");
});
},
setBalenaWake: async function () {
Expand All @@ -391,7 +391,11 @@ module.exports = {
}
//if set wair for beamer init
if (WAITREBOOT) {
console.log("[CONTROL] wait 60 sec for reboot (flag) ");
await delay(60000);
} else {
console.log("[CONTROL] reboot device...");
await delay(5000);
}
await this.setBalenaRestart();

Expand Down

0 comments on commit 67e66ff

Please sign in to comment.