From b9ef486448ef1ae37b3e18cb11419ed3d7e6a7a1 Mon Sep 17 00:00:00 2001 From: samerbam Date: Wed, 6 Sep 2023 20:26:19 -0400 Subject: [PATCH] Alarm inital copy from Timer, Inital Phone skill, readme updates --- README.md | 6 ++++++ backend/api.py | 3 ++- frontend/main.py | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d7c4d2b..1293b07 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ - [ ] Wolfram - [x] NLP - [x] Speech to Text (frontend for sure) +- [x] Phone + - [x] inital implementation where the number is sent to the phone + - [ ] NLP name to check contact + - [ ] iCloud Contact API - [ ] API - [ ] Authentication - [ ] General API @@ -41,6 +45,8 @@ More examples (includes jwt authentication, though this is in node.js, still use ## Ideas * Dashboard with api call counts (would require linking into all active skills, callbacks with class inheritance maybe?) +* Phone calls from Jarvis speaker +* JARVIS, initiate the House Party Protocol (takeover screen and show retro style text interface, possibly showing data from dashboard) ## Wants, but limitations prevent diff --git a/backend/api.py b/backend/api.py index 8408683..415ec40 100644 --- a/backend/api.py +++ b/backend/api.py @@ -1 +1,2 @@ -#using FastAPI because I used that for ThermalTodos with auth0 auth and dont want to relearn auth0 \ No newline at end of file +#using FastAPI because I used that for ThermalTodos with auth0 auth and dont want to relearn auth0 +#https://fastapi.tiangolo.com/advanced/websockets/#handling-disconnections-and-multiple-clients \ No newline at end of file diff --git a/frontend/main.py b/frontend/main.py index 2b97b61..1686430 100644 --- a/frontend/main.py +++ b/frontend/main.py @@ -27,4 +27,5 @@ while True: # TODO: Make api request to backend with resulting text in callback function. # Use to connect to backend with bi-directional communication, allows for alarms/timers/etc to work: -# https://pypi.org/project/websocket-client/ \ No newline at end of file +# https://pypi.org/project/websocket-client/ +# https://websockets.readthedocs.io/en/stable/ \ No newline at end of file