tune when successfully docked

This commit is contained in:
legop3
2026-05-17 19:07:38 -04:00
parent 7dc5ca1835
commit 3b02a97643
3 changed files with 10 additions and 2 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11,7 +11,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
<title>Roomba Rover</title>
<script type="module" crossorigin src="/assets/index-Fw10ZP-H.js"></script>
<script type="module" crossorigin src="/assets/index-vnQEm7kz.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CkqCBh_q.css">
</head>
<body>
@@ -141,6 +141,14 @@ export default function DriveDockAction({
useEffect(() => {
if (!manualAssistActive) return;
if (!charging) return;
actions.sendSong(
[
{ note: 79, duration: 10 },
{ note: 84, duration: 10 },
{ note: 88, duration: 14 },
],
{ slot: 1 },
);
actions.setManualDockAssistActive(false);
}, [actions, charging, manualAssistActive]);