mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 10:00:46 -04:00
better improve
This commit is contained in:
@@ -84,7 +84,7 @@ async function raiseLift() {
|
|||||||
|
|
||||||
const idleActions = [
|
const idleActions = [
|
||||||
turnOffRoomControls,
|
turnOffRoomControls,
|
||||||
dockAllRovers,
|
// dockAllRovers,
|
||||||
disableAllRoverNightVision,
|
disableAllRoverNightVision,
|
||||||
sendNeatoHome,
|
sendNeatoHome,
|
||||||
raiseLift,
|
raiseLift,
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const liftConfig = haConfig.lift || {};
|
|||||||
|
|
||||||
const upSwitchId = String(liftConfig.upSwitch || '').trim();
|
const upSwitchId = String(liftConfig.upSwitch || '').trim();
|
||||||
const downSwitchId = String(liftConfig.downSwitch || '').trim();
|
const downSwitchId = String(liftConfig.downSwitch || '').trim();
|
||||||
const interlockMs = Math.max(250, Number(liftConfig.interlockMs) || 4000);
|
const interlockMs = Math.max(250, Number(liftConfig.interlockMs) || 9000);
|
||||||
const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 3000);
|
const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 15000);
|
||||||
|
|
||||||
const state = {
|
const state = {
|
||||||
busy: false,
|
busy: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user