node-red-contrib-tapo-new-api
Version:
Unofficial node-RED node for connecting to TP-Link Tapo devices with new API. Currently limited to the P100 & P105 & P110 smart plugs and L510E smart bulbs.
72 lines (71 loc) • 2.35 kB
JSON
{
"name": "node-red-contrib-tapo-new-api",
"version": "0.5.4",
"description": "Unofficial node-RED node for connecting to TP-Link Tapo devices with new API. Currently limited to the P100 & P105 & P110 smart plugs and L510E smart bulbs.",
"author": "mbserran",
"license": "Apache",
"keywords": [
"node-red",
"tplink",
"p100",
"p105",
"p110",
"p115",
"L510E",
"klap",
"passthrough"
],
"main": "none",
"scripts": {
"test": "mocha \"src/nodes/test/*_spec.js\"",
"clean": "rimraf dist/*",
"tsc": "tsc",
"build": "npm-run-all clean tsc && npm run copy && npm run install:my-node",
"copy": "npm run copy:html && npm run copy:icons && npm run copy:locales && npm run copy:dist && npm run copy:nodes && npm run copy:package",
"copy:html": "cpx \"./src/nodes/*.html\" \"./dist\"",
"copy:icons": "cpx \"./src/nodes/icons/**/*\" \"./dist/icons\"",
"copy:locales": "cpx \"./src/nodes/locales/**/*\" \"./dist/locales\"",
"copy:dist": "cpx \"./dist/**/*\" \"./data/my-node/nodes\"",
"copy:nodes": "cpx \"./dist/**/*\" \"./nodes\"",
"copy:package": "cpx \"./package.json\" \"./data/my-node\"",
"install:my-node": "npm install ./data/my-node --prefix ./data",
"start": "node ./node_modules/node-red/red.js --port 1880 --userDir ./data",
"start:debug": "node --inspect-brk=0.0.0.0:9229 ./node_modules/node-red/red.js --userDir ./data"
},
"node-red": {
"version": ">=2.0.0",
"nodes": {
"tapo_actions": "nodes/tapo_actions.js"
}
},
"engines": {
"node": ">=15.0.0"
},
"dependencies": {
"axios": "^1.6.5",
"local-devices": ">=1.1.1",
"uuid": ">=8.3.2"
},
"devDependencies": {
"@types/node-red": "^1.2.1",
"@types/uuid": "^9.0.7",
"cpx": "^1.5.0",
"dotenv": "^16.0.1",
"mocha": "^10.0.0",
"node-red": "^3.1.3",
"node-red-node-test-helper": "^0.3.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.7.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mbserran/node-red-contrib-tapo-new-api.git"
},
"bugs": {
"url": "https://github.com/mbserran/node-red-contrib-tapo-new-api/issues"
},
"homepage": "https://github.com/mbserran/node-red-contrib-tapo-new-api#readme"
}