@
PnD inmiddels heb ik homebridge werkend en is deze toegevoegd aan de EVE app.
Alleen nu het volgende.
Nu wil ik natuurlijk ook wat apparaten toevoegen...
ik wou nu namelijk mijn sony bravia tv toevoegen zodat ik deze via de app uit en aan kan zetten.
hiervoor heb ik npm install -g homebridge-philipstv ingetypt.
echter krijg ik op het einde wat foutmeldingen.
npm WARN checkPermissions Missing write access to /usr/lib/node_modules
/usr/lib
└─┬ homebridge-philipstv@0.3.80
├─┬ polling-to-event@2.1.0
│ ├─┬ debug@3.1.0
│ │ └── ms@2.0.0
│ ├── deep-equal@0.2.2
│ ├── extend@2.0.1
│ └── pauseable@0.1.7
├─┬ request@2.83.0
│ ├── aws-sign2@0.7.0
│ ├── aws4@1.6.0
│ ├── caseless@0.12.0
│ ├─┬ combined-stream@1.0.5
│ │ └── delayed-stream@1.0.0
│ ├── extend@3.0.1
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@2.3.1
│ │ └── asynckit@0.4.0
│ ├─┬ har-validator@5.0.3
│ │ ├─┬ ajv@5.5.1
│ │ │ ├── co@4.6.0
│ │ │ ├── fast-deep-equal@1.0.0
│ │ │ ├── fast-json-stable-stringify@2.0.0
│ │ │ └── json-schema-traverse@0.3.1
│ │ └── har-schema@2.0.0
│ ├─┬ hawk@6.0.2
│ │ ├── boom@4.3.1
│ │ ├─┬ cryptiles@3.1.2
│ │ │ └── boom@5.2.0
│ │ ├── hoek@4.2.0
│ │ └── sntp@2.1.0
│ ├─┬ http-signature@1.2.0
│ │ ├── assert-plus@1.0.0
│ │ ├─┬ jsprim@1.4.1
│ │ │ ├── extsprintf@1.3.0
│ │ │ ├── json-schema@0.2.3
│ │ │ └─┬ verror@1.10.0
│ │ │ └── core-util-is@1.0.2
│ │ └─┬ sshpk@1.13.1
│ │ ├── asn1@0.2.3
│ │ ├── bcrypt-pbkdf@1.0.1
│ │ ├── dashdash@1.14.1
│ │ ├── ecc-jsbn@0.1.1
│ │ ├── getpass@0.1.7
│ │ ├── jsbn@0.1.1
│ │ └── tweetnacl@0.14.5
│ ├── is-typedarray@1.0.0
│ ├── isstream@0.1.2
│ ├── json-stringify-safe@5.0.1
│ ├─┬ mime-types@2.1.17
│ │ └── mime-db@1.30.0
│ ├── oauth-sign@0.8.2
│ ├── performance-now@2.1.0
│ ├── qs@6.5.1
│ ├── safe-buffer@5.1.1
│ ├── stringstream@0.0.5
│ ├─┬ tough-cookie@2.3.3
│ │ └── punycode@1.4.1
│ ├── tunnel-agent@0.6.0
│ └── uuid@3.1.0
└── wake_on_lan@0.0.4
npm ERR! Linux 4.9.59-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "homebridge-philipstv"
npm ERR! node v7.10.1
npm ERR! npm v4.2.0
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! { Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/.npm/_logs/2017-12-04T16_26_02_413Z-debug.log
Geeft dus aan dat ik geen toegang heb, maar hoe krijg ik dit wel voor elkaar of zou ik het hiermee nog niet werkend kunnen krijgen?