Open TinajaLabs opened 5 years ago
When node-red starts up: [error] [smartplug-device:eddie] Error: Unauthorized: check username/password
[error] [smartplug-device:eddie] Error: Unauthorized: check username/password
eddie was the name applied to the device, SP-2101W (US Type), from within the EdiSmart app.
I've tried admin:1234, admin: as applied in the app. Nothing seems to work.
From the /node-red-contrib-smartplug/package.json:
{ "_from": "node-red-contrib-smartplug@2.0.0", "_id": "node-red-contrib-smartplug@2.0.0", "_inBundle": false, "_integrity": "sha1-b+nXdJ0pyTiZ35acKnfNnBvGWbo=", "_location": "/node-red-contrib-smartplug", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "node-red-contrib-smartplug@2.0.0", "name": "node-red-contrib-smartplug", "escapedName": "node-red-contrib-smartplug", "rawSpec": "2.0.0", "saveSpec": null, "fetchSpec": "2.0.0" }, "_requiredBy": [ "#USER", "/" ], "_resolved": "https://registry.npmjs.org/node-red-contrib-smartplug/-/node-red-contrib-smartplug-2.0.0.tgz", "_shasum": "6fe9d7749d29c93899df969c2a77cd9c1bc659ba", "_spec": "node-red-contrib-smartplug@2.0.0", "_where": "/home/pi/.node-red", "author": { "name": "Jochen Scheib", "email": "mail@jochen-scheib.de", "url": "www.jochen-scheib.de" }, "bugs": { "url": "https://github.com/mapero/node-red-contrib-smartplug/issues" }, "bundleDependencies": false, "dependencies": { "bluebird": "^3.5.0", "edimax-smartplug": "^0.0.20" }, "deprecated": false, "description": "Node-RED node to access edimax smartplug",https://www.youtube.com/watch?v=UKlq-9GfAK0 "engines": { "node": ">=5.0.0" }, "homepage": "https://github.com/mapero/node-red-contrib-smartplug#readme", "keywords": [ "node-red", "edimax", "smartplug", "wifi" ], "license": "MIT", "name": "node-red-contrib-smartplug", "node-red": { "nodes": { "smartplug": "smartplug.js" } }, "repository": { "type": "git", "url": "git+https://github.com/mapero/node-red-contrib-smartplug.git" }, "version": "2.0.0" }
The password is not any more "1234" but generated during the setup of the Smartplug with the EdiSmart App. See solution provided here: #22
When node-red starts up:
[error] [smartplug-device:eddie] Error: Unauthorized: check username/password
eddie was the name applied to the device, SP-2101W (US Type), from within the EdiSmart app.
I've tried admin:1234, admin: as applied in the app. Nothing seems to work.
From the /node-red-contrib-smartplug/package.json: