-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hey omi, using the device's programmable button (#1399)
Issue: #1388 ## Feature - "hey omi" should be triggered with a long press of the button on the omi device and the query should be collected while the user is holding the button. - turnon/turnoff of the device should be switched to short click - after the button is released, we send the question/prompt to LLM, while passing all {facts} and {conversations/memories}, chat history and current conversation - 4 the answer should be shown in the chat and sent via notification ## Usages - Long press to start the voice command (as a message for now), you will feel the haptic feedback - Release to send it, then wait for Omi's response. - To turn the device on / off, use a single tap ## TODOs - [x] "hey omi" should be triggered with a long press of the button on the omi device and the query should be collected while the user is holding the button. - [x] turnon/turnoff of the device should be switched to short click - [x] after the button is released, we send the question/prompt to LLM, while passing all {facts} and {conversations/memories}, chat history and current conversation - [x] 4 the answer should be shown in the chat and sent via notification - [x] firmware: fix the button changes not notify sometime -> implement the haptic then control it from the app + add new issue for firmware fixes: #1412 ## Deploy plan - [ ] deploy backend - [ ] deploy firmware - [ ] deploy mobile app
- Loading branch information
Showing
14 changed files
with
487 additions
and
39 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,6 @@ void play_haptic_milli(uint32_t duration); | |
|
||
void speaker_off(); | ||
|
||
#endif | ||
void register_speaker_service(); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.