Skip to content

Commit

Permalink
tapo: initial commit of two way audio
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 8, 2023
1 parent fdc7519 commit 70c6fe4
Show file tree
Hide file tree
Showing 14 changed files with 1,120 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/tapo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
out/
node_modules/
dist/
.venv
10 changes: 10 additions & 0 deletions plugins/tapo/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.DS_Store
out/
node_modules/
*.map
fs
src
.vscode
dist/*.js
.venv
test
24 changes: 24 additions & 0 deletions plugins/tapo/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Scrypted Debugger",
"address": "${config:scrypted.debugHost}",
"port": 10081,
"request": "attach",
"skipFiles": [
"**/plugin-remote-worker.*",
"<node_internals>/**"
],
"preLaunchTask": "scrypted: deploy+debug",
"sourceMaps": true,
"localRoot": "${workspaceFolder}/out",
"remoteRoot": "/plugin/",
"type": "node"
},

]
}
4 changes: 4 additions & 0 deletions plugins/tapo/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

{
"scrypted.debugHost": "127.0.0.1",
}
20 changes: 20 additions & 0 deletions plugins/tapo/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "scrypted: deploy+debug",
"type": "shell",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
"command": "npm run scrypted-vscode-launch ${config:scrypted.debugHost}",
},
]
}
9 changes: 9 additions & 0 deletions plugins/tapo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Tapo Camera Plugin

This plugin adds two way audio support for Tapo cameras. This plugin does not import cameras into Scrypted. Use the ONVIF plugin to import Tapo cameras, and then use this plugin to add two way audio support.

# Setup

1. Add the Tapo Camera using the ONVIF Plugin.
2. Enable ONVIF Two Way Audio on the camera.
3. Enable the Tapo Two Way Audio extension.
Loading

0 comments on commit 70c6fe4

Please sign in to comment.