Re: Homematic Interface Layer für Hue Lampen und alles ander
Verfasst: 06.12.2016, 19:10
Ja das geht
Heimautomation mit ELV HomeMatic und FHZ Funk-Hauszentralen
https://homematic-forum.de/forum/
Code: Alles auswählen
$listDevices$
Code: Alles auswählen
{"ccu_ip":"192.168.178.89",
"web_http_port":8182,
"plugins": [
{
"type":"HuePlugin",
"name":"HueMain",
"hue_bridge_ip":"192.168.178.44",
"hue_username":"meinhuebenutzer"
},
{
"type":"LightifyPlugin",
"name":"Osram",
"ip": "192.168.178.42"
}
]
}
Code: Alles auswählen
[2016-12-06 22:13:51] Homematic Virtual Interface Core
[2016-12-06 22:13:51] 2016 by thkl https://github.com/thkl/Homematic-Virtual-Interface
[2016-12-06 22:13:51] ================================================================
[2016-12-06 22:13:51] [Homematic Virtual Interface.Config] try to load config : /root/.hm_virtual_interface/config.json
[2016-12-06 22:13:51] [HomematicLogicalLayer] welcome. will create a interface layer for CCU at 192.168.178.89
[2016-12-06 22:13:51] [HomematicLogicalLayer] MyIP is 192.168.178.102
[2016-12-06 22:13:51] [Homematic Virtual Interface.Server] Loaded plugin: HuePlugin
[2016-12-06 22:13:52] [Homematic Virtual Interface.Server] Loaded plugin: LightifyPlugin
[2016-12-06 22:13:52] [HuePlugin - HueMain] Init HueMain
[2016-12-06 22:13:52] [HuePlugin - HueMain] Hue Bridge Init at 192.168.178.44
[2016-12-06 22:13:52] [HuePlugin - HueMain] initialization completed
[2016-12-06 22:13:52] [Homematic Virtual Interface.Server] HueMain initialized.
[2016-12-06 22:13:52] [LightifyPlugin - Osram] Init Osram
[2016-12-06 22:13:52] [Homematic Virtual Interface.Server] Osram initialized.
[2016-12-06 22:13:52] [Homematic Virtual Interface.ConfigurationServer] Configuration Server is listening on: Port 8182
Code: Alles auswählen
pi@raspberrypi:~/Homematic-Virtual-Interface $ sudo npm run dev
> Homematic-Virtual-Interface@0.0.6 dev /home/pi/Homematic-Virtual-Interface
> DEBUG=* node lib/index.js -D || true
[2016-12-07 14:23:31] Homematic Virtual Interface Core
[2016-12-07 14:23:31] 2016 by thkl https://github.com/thkl/Homematic-Virtual-Interface
[2016-12-07 14:23:31] ================================================================
[2016-12-07 14:23:31] [Homematic Virtual Interface.Server] Starting up
[2016-12-07 14:23:31] [Homematic Virtual Interface.Config] try to load config : /root/.hm_virtual_interface/config.json
[2016-12-07 14:23:31] [Homematic Virtual Interface.Config] try to load persistent storage : /root/.hm_virtual_interface/persist.json
[2016-12-07 14:23:31] [Homematic Virtual Interface.ConfigurationServer] Configuration Server Initializing on Port 8182
[2016-12-07 14:23:31] [HomematicLogicalLayer] welcome. will create a interface layer for CCU at 192.168.178.89
[2016-12-07 14:23:32] [HomematicLogicalLayer] Adding new Consumer
[2016-12-07 14:23:32] [HomematicLogicalLayer] MyIP is 192.168.178.102
[2016-12-07 14:23:32] [HomematicLogicalLayer] XML-RPC server for interface Homematic Virtual Interface is listening on port 7000
[2016-12-07 14:23:32] [Homematic Virtual Interface.ConfigurationServer] Plugin Paths : [ '/home/pi/Homematic-Virtual-Interface/lib/node_modules',
'/home/pi/Homematic-Virtual-Interface/node_modules',
'/home/pi/node_modules',
'/home/node_modules',
'/node_modules',
'/usr/local/lib/node_modules',
'/usr/lib/node_modules',
'/home/pi/Homematic-Virtual-Interface/lib/../plugins/' ]
[2016-12-07 14:23:32] [Homematic Virtual Interface.Server] Loaded plugin: HuePlugin
[2016-12-07 14:23:32] [Homematic Virtual Interface.Server] Loaded plugin: LightifyPlugin
[2016-12-07 14:23:32] [HuePlugin - HueMain] Init HueMain
[2016-12-07 14:23:32] [HuePlugin - HueMain] Hue Bridge Init at 192.168.178.44
[2016-12-07 14:23:32] [HuePlugin - HueMain] initialization completed
[2016-12-07 14:23:32] [Homematic Virtual Interface.Server] HueMain initialized.
[2016-12-07 14:23:32] [LightifyPlugin - Osram] Init Osram
[2016-12-07 14:23:32] [Homematic Virtual Interface.Server] Osram initialized.
[2016-12-07 14:23:32] [Homematic Virtual Interface.ConfigurationServer] Configuration Server is listening on: Port 8182
follow-redirects options { maxRedirects: 5,
protocol: 'http:',
host: '192.168.178.44',
port: '80',
path: '/api/+++++++++++++++++++++++++/lights',
method: 'GET',
headers: { Accept: 'application/json', 'User-Agent': 'axios/0.8.1' },
agent: undefined,
auth: undefined,
userCallback: [Function: handleResponse] } +0ms
follow-redirects options { maxRedirects: 5,
protocol: 'http:',
host: '192.168.178.44',
port: '80',
path: '/api/++++++++++++++++++++++++++++/groups',
method: 'GET',
headers: { Accept: 'application/json', 'User-Agent': 'axios/0.8.1' },
agent: undefined,
auth: undefined,
userCallback: [Function: handleResponse] } +34ms
follow-redirects options { maxRedirects: 5,
protocol: 'http:',
host: '192.168.178.44',
port: '80',
path: '/api/ZwL29x5QKGEbWM6i9ztNjGusmEIxBCvYHLTWCfp6/scenes',
method: 'GET',
headers: { Accept: 'application/json', 'User-Agent': 'axios/0.8.1' },
agent: undefined,
auth: undefined,
userCallback: [Function: handleResponse] } +16ms
[2016-12-07 14:23:32] [HuePlugin - HueMain] Create new Light Wohnzimmer RGB
[2016-12-07 14:23:32] [HuePlugin - HueMain] Config is valid
[2016-12-07 14:23:32] [HuePlugin - HueMain] Setup new HUE Bridged Device HUE0000
[2016-12-07 14:23:32] [HuePlugin - HueMain] Reload Lamp Configuration ...
[2016-12-07 14:23:32] [HuePlugin - HueMain] Refresh Rate is 60000 ms
[2016-12-07 14:23:32] [HuePlugin - HueMain] Serial 00:17:88:01:00:e8:63:e7-0b
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00004:0 of type MAINTENANCE
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00004:1 of type DIMMER
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00004:2 of type RGBW_COLOR
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00004:3 of type RGBW_AUTOMATIC
[2016-12-07 14:23:32] [HomematicLogicalLayer] Add new Device to HomematicLogicLayer HUE00004
[2016-12-07 14:23:32] [HomematicLogicalLayer] Pushed to list
[2016-12-07 14:23:32] [HuePlugin - HueMain] Create new Light Wohnzimmer RGB2
[2016-12-07 14:23:32] [HuePlugin - HueMain] Config is valid
[2016-12-07 14:23:32] [HuePlugin - HueMain] Setup new HUE Bridged Device HUE0000
[2016-12-07 14:23:32] [HuePlugin - HueMain] Reload Lamp Configuration ...
[2016-12-07 14:23:32] [HuePlugin - HueMain] Refresh Rate is 60000 ms
[2016-12-07 14:23:32] [HuePlugin - HueMain] Serial 00:17:88:01:00:f1:19:ec-0b
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00006:0 of type MAINTENANCE
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00006:1 of type DIMMER
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00006:2 of type RGBW_COLOR
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00006:3 of type RGBW_AUTOMATIC
[2016-12-07 14:23:32] [HomematicLogicalLayer] Add new Device to HomematicLogicLayer HUE00006
[2016-12-07 14:23:32] [HomematicLogicalLayer] Pushed to list
[2016-12-07 14:23:32] [HuePlugin - HueMain] Create new Light Terrassenlicht
[2016-12-07 14:23:32] [HuePlugin - HueMain] Config is valid
[2016-12-07 14:23:32] [HuePlugin - HueMain] Setup new HUE Bridged Device HUE0000
[2016-12-07 14:23:32] [HuePlugin - HueMain] Reload Lamp Configuration ...
[2016-12-07 14:23:32] [HuePlugin - HueMain] Refresh Rate is 60000 ms
[2016-12-07 14:23:32] [HuePlugin - HueMain] Serial 00:17:88:01:00:de:03:23-0b
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00007:0 of type MAINTENANCE
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00007:1 of type DIMMER
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00007:2 of type RGBW_COLOR
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00007:3 of type RGBW_AUTOMATIC
[2016-12-07 14:23:32] [HomematicLogicalLayer] Add new Device to HomematicLogicLayer HUE00007
[2016-12-07 14:23:32] [HomematicLogicalLayer] Pushed to list
[2016-12-07 14:23:32] [HuePlugin - HueMain] Create new Light Terrassenlampe
[2016-12-07 14:23:32] [HuePlugin - HueMain] Config is valid
[2016-12-07 14:23:32] [HuePlugin - HueMain] Setup new HUE Bridged Device HUE0000
[2016-12-07 14:23:32] [HuePlugin - HueMain] Reload Lamp Configuration ...
[2016-12-07 14:23:32] [HuePlugin - HueMain] Refresh Rate is 60000 ms
[2016-12-07 14:23:32] [HuePlugin - HueMain] Serial 00:17:88:01:00:d9:6a:f6-0b
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00008:0 of type MAINTENANCE
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00008:1 of type DIMMER
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00008:2 of type RGBW_COLOR
[2016-12-07 14:23:32] [HomematicChannel] creating new channel HUE00008:3 of type RGBW_AUTOMATIC
[2016-12-07 14:23:32] [HomematicLogicalLayer] Add new Device to HomematicLogicLayer HUE00008
..........
Ich versuche das gerade mal auf einen Laptop mit Debian Wheezy zu installieren und habe folgende fragen:thkl hat geschrieben:
- auf den PI nach /home/pi ssh'en
- Repository clonen mit git clone https://github.com/thkl/Homematic-Virtual-Interface.git
- mit cd Homematic-Virtual-Interface ins Verzeichnis wechseln
- ./install.sh ausführen um die notwendigen Module nachzuinstallieren und die leere config anzulegen
- mit cd .hm_virtual_interface ins config Verzeichnis wechseln und
- mit nano config.json die config.sjon editieren. Einträge
Code: Alles auswählen
root@debian-probook:/home/Homematic-Virtual-Interface# ls -ll
insgesamt 40
drwxr-xr-x 4 root root 4096 Dez 7 17:25 addon
drwxr-xr-x 2 root root 4096 Dez 7 17:25 bin
drwxr-xr-x 2 root root 4096 Dez 7 17:25 devices
-rw-r--r-- 1 root root 1284 Dez 7 17:25 hvl_addon.tar.gz
-rw-r--r-- 1 root root 633 Dez 7 17:25 install.sh
drwxr-xr-x 3 root root 4096 Dez 7 17:25 lib
-rw-r--r-- 1 root root 711 Dez 7 17:25 package.json
drwxr-xr-x 6 root root 4096 Dez 7 17:25 plugins
-rw-r--r-- 1 root root 764 Dez 7 17:25 README.md
drwxr-xr-x 3 root root 4096 Dez 7 17:25 www
root@debian-probook:/home/Homematic-Virtual-Interface#
Code: Alles auswählen
mirko@debian-probook:/home/Homematic-Virtual-Interface$ ls
addon devices install.sh package.json README.md
bin hvl_addon.tar.gz lib plugins www
mirko@debian-probook:/home/Homematic-Virtual-Interface$ ./install.sh
Root path is /home/Homematic-Virtual-Interface
Installing root dependencies in /home/Homematic-Virtual-Interface
Installing dependencies for plugin in plugins/HuePlugin
npm WARN checkPermissions Missing write access to /home/Homematic-Virtual-Interf ace/plugins/HuePlugin
homematic-virtual-huedevice@0.0.1 /home/Homematic-Virtual-Interface/plugins/HueP lugin
└─┬ node-hue-api@2.3.0
├─┬ axios@0.8.1
│ └─┬ follow-redirects@0.0.7
│ ├─┬ debug@2.3.3
│ │ └── ms@0.7.2
│ └── stream-consume@0.1.0
├── deep-extend@0.4.1
├── q@1.4.1
├── traits@0.4.0
└─┬ xml2js@0.4.17
├── sax@1.2.1
└─┬ xmlbuilder@4.2.1
└── lodash@4.17.2
npm ERR! Linux 3.2.0-4-686-pae
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path /home/Homematic-Virtual-Interface/plugins/HuePlugin
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/home/Homematic-Virtual-Inter face/plugins/HuePlugin'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, access '/home/Homematic-Virtual-In terface/plugins/HuePlugin'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/home/Homematic-Virtual-Interface/plugins/HuePlugin' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Linux 3.2.0-4-686-pae
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path npm-debug.log.4279061317
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.4279061317'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, open 'npm-debug.log.4279061317'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: 'npm-debug.log.4279061317' }
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/Homematic-Virtual-Interface/plugins/HuePlugin/npm-debug.log
Installing dependencies for plugin in plugins/LightifyPlugin
npm WARN checkPermissions Missing write access to /home/Homematic-Virtual-Interf ace/plugins/LightifyPlugin
homematic-virtual-lightifydevice@0.0.1 /home/Homematic-Virtual-Interface/plugins /LightifyPlugin
└─┬ node-lightify@0.0.9
├── moment@2.17.1
└─┬ promise@7.1.1
└── asap@2.0.5
npm ERR! Linux 3.2.0-4-686-pae
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path /home/Homematic-Virtual-Interface/plugins/LightifyPlugin
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/home/Homematic-Virtual-Inter face/plugins/LightifyPlugin'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, access '/home/Homematic-Virtual-In terface/plugins/LightifyPlugin'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/home/Homematic-Virtual-Interface/plugins/LightifyPlugin' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Linux 3.2.0-4-686-pae
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path npm-debug.log.3554179826
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.3554179826'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, open 'npm-debug.log.3554179826'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: 'npm-debug.log.3554179826' }
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/Homematic-Virtual-Interface/plugins/LightifyPlugin/npm-debug. log
Installing dependencies for plugin in plugins/NetAtmoPlugin
npm WARN checkPermissions Missing write access to /home/Homematic-Virtual-Interf ace/plugins/NetAtmoPlugin
homematic-virtual-netatmodevice@0.0.1 /home/Homematic-Virtual-Interface/plugins/ NetAtmoPlugin
└─┬ netatmo@2.0.0
├── moment@2.17.1
└─┬ request@2.79.0
├── aws-sign2@0.6.0
├── aws4@1.5.0
├── caseless@0.11.0
├─┬ combined-stream@1.0.5
│ └── delayed-stream@1.0.0
├── extend@3.0.0
├── forever-agent@0.6.1
├─┬ form-data@2.1.2
│ └── asynckit@0.4.0
├─┬ har-validator@2.0.6
│ ├─┬ chalk@1.1.3
│ │ ├── ansi-styles@2.2.1
│ │ ├── escape-string-regexp@1.0.5
│ │ ├─┬ has-ansi@2.0.0
│ │ │ └── ansi-regex@2.0.0
│ │ ├── strip-ansi@3.0.1
│ │ └── supports-color@2.0.0
│ ├─┬ commander@2.9.0
│ │ └── graceful-readlink@1.0.1
│ ├─┬ is-my-json-valid@2.15.0
│ │ ├── generate-function@2.0.0
│ │ ├─┬ generate-object-property@1.2.0
│ │ │ └── is-property@1.0.2
│ │ ├── jsonpointer@4.0.0
│ │ └── xtend@4.0.1
│ └─┬ pinkie-promise@2.0.1
│ └── pinkie@2.0.4
├─┬ hawk@3.1.3
│ ├── boom@2.10.1
│ ├── cryptiles@2.0.5
│ ├── hoek@2.16.3
│ └── sntp@1.0.9
├─┬ http-signature@1.1.1
│ ├── assert-plus@0.2.0
│ ├─┬ jsprim@1.3.1
│ │ ├── extsprintf@1.0.2
│ │ ├── json-schema@0.2.3
│ │ └── verror@1.3.6
│ └─┬ sshpk@1.10.1
│ ├── asn1@0.2.3
│ ├── assert-plus@1.0.0
│ ├── bcrypt-pbkdf@1.0.0
│ ├─┬ dashdash@1.14.1
│ │ └── assert-plus@1.0.0
│ ├── ecc-jsbn@0.1.1
│ ├─┬ getpass@0.1.6
│ │ └── assert-plus@1.0.0
│ ├── jodid25519@1.0.2
│ ├── jsbn@0.1.0
│ └── tweetnacl@0.14.4
├── is-typedarray@1.0.0
├── isstream@0.1.2
├── json-stringify-safe@5.0.1
├─┬ mime-types@2.1.13
│ └── mime-db@1.25.0
├── oauth-sign@0.8.2
├── qs@6.3.0
├── stringstream@0.0.5
├─┬ tough-cookie@2.3.2
│ └── punycode@1.4.1
├── tunnel-agent@0.4.3
└── uuid@3.0.1
npm ERR! Linux 3.2.0-4-686-pae
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path /home/Homematic-Virtual-Interface/plugins/NetAtmoPlugin
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/home/Homematic-Virtual-Inter face/plugins/NetAtmoPlugin'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, access '/home/Homematic-Virtual-In terface/plugins/NetAtmoPlugin'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/home/Homematic-Virtual-Interface/plugins/NetAtmoPlugin' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Linux 3.2.0-4-686-pae
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path npm-debug.log.3406867494
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.3406867494'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, open 'npm-debug.log.3406867494'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: 'npm-debug.log.3406867494' }
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/Homematic-Virtual-Interface/plugins/NetAtmoPlugin/npm-debug.l og
Installing dependencies for plugin in plugins/SonosPlugin
npm WARN checkPermissions Missing write access to /home/Homematic-Virtual-Interface/plugins/SonosPlugin
homematic-virtual-sonosdevice@0.0.1 /home/Homematic-Virtual-Interface/plugins/SonosPlugin
├─┬ sonos@0.12.1 (git://github.com/thkl/node-sonos.git#c78f06ccfb7269148e8f26bd8d5fe8ce40fe0bae)
│ ├─┬ debug@2.3.3
│ │ └── ms@0.7.2
│ ├── ip@1.1.4
│ ├─┬ request@2.79.0
│ │ ├── aws-sign2@0.6.0
│ │ ├── aws4@1.5.0
│ │ ├── caseless@0.11.0
│ │ ├─┬ combined-stream@1.0.5
│ │ │ └── delayed-stream@1.0.0
│ │ ├── extend@3.0.0
│ │ ├── forever-agent@0.6.1
│ │ ├─┬ form-data@2.1.2
│ │ │ └── asynckit@0.4.0
│ │ ├─┬ har-validator@2.0.6
│ │ │ ├─┬ chalk@1.1.3
│ │ │ │ ├── ansi-styles@2.2.1
│ │ │ │ ├── escape-string-regexp@1.0.5
│ │ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ │ └── ansi-regex@2.0.0
│ │ │ │ ├── strip-ansi@3.0.1
│ │ │ │ └── supports-color@2.0.0
│ │ │ ├─┬ commander@2.9.0
│ │ │ │ └── graceful-readlink@1.0.1
│ │ │ ├─┬ is-my-json-valid@2.15.0
│ │ │ │ ├── generate-function@2.0.0
│ │ │ │ ├─┬ generate-object-property@1.2.0
│ │ │ │ │ └── is-property@1.0.2
│ │ │ │ ├── jsonpointer@4.0.0
│ │ │ │ └── xtend@4.0.1
│ │ │ └─┬ pinkie-promise@2.0.1
│ │ │ └── pinkie@2.0.4
│ │ ├─┬ hawk@3.1.3
│ │ │ ├── boom@2.10.1
│ │ │ ├── cryptiles@2.0.5
│ │ │ ├── hoek@2.16.3
│ │ │ └── sntp@1.0.9
│ │ ├─┬ http-signature@1.1.1
│ │ │ ├── assert-plus@0.2.0
│ │ │ ├─┬ jsprim@1.3.1
│ │ │ │ ├── extsprintf@1.0.2
│ │ │ │ ├── json-schema@0.2.3
│ │ │ │ └── verror@1.3.6
│ │ │ └─┬ sshpk@1.10.1
│ │ │ ├── asn1@0.2.3
│ │ │ ├── assert-plus@1.0.0
│ │ │ ├── bcrypt-pbkdf@1.0.0
│ │ │ ├─┬ dashdash@1.14.1
│ │ │ │ └── assert-plus@1.0.0
│ │ │ ├── ecc-jsbn@0.1.1
│ │ │ ├─┬ getpass@0.1.6
│ │ │ │ └── assert-plus@1.0.0
│ │ │ ├── jodid25519@1.0.2
│ │ │ ├── jsbn@0.1.0
│ │ │ └── tweetnacl@0.14.4
│ │ ├── is-typedarray@1.0.0
│ │ ├── isstream@0.1.2
│ │ ├── json-stringify-safe@5.0.1
│ │ ├─┬ mime-types@2.1.13
│ │ │ └── mime-db@1.25.0
│ │ ├── oauth-sign@0.8.2
│ │ ├── qs@6.3.0
│ │ ├── stringstream@0.0.5
│ │ ├─┬ tough-cookie@2.3.2
│ │ │ └── punycode@1.4.1
│ │ ├── tunnel-agent@0.4.3
│ │ └── uuid@3.0.1
│ ├─┬ upnp-client@0.0.1
│ │ └── step@0.0.6
│ └─┬ xml2js@0.4.17
│ ├── sax@1.2.1
│ └─┬ xmlbuilder@4.2.1
│ └── lodash@4.17.2
└── underscore@1.8.3
npm ERR! Linux 3.2.0-4-686-pae
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path /home/Homematic-Virtual-Interface/plugins/SonosPlugin
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/home/Homematic-Virtual-Interface/plugins/SonosPlugin'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, access '/home/Homematic-Virtual-Interface/plugins/SonosPlugin'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/home/Homematic-Virtual-Interface/plugins/SonosPlugin' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Linux 3.2.0-4-686-pae
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path npm-debug.log.2287860731
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.2287860731'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, open 'npm-debug.log.2287860731'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: 'npm-debug.log.2287860731' }
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/Homematic-Virtual-Interface/plugins/SonosPlugin/npm-debug.log
Config is here skipping this step
mirko@debian-probook:/home/Homematic-Virtual-Interface$
Code: Alles auswählen
root@debian-probook:/home/mirko/Homematic-Virtual-Interface# ls -ll
insgesamt 40
drwxrwxrwx 4 root root 4096 Dez 6 22:19 addon
drwxrwxrwx 2 root root 4096 Dez 6 22:19 bin
drwxrwxrwx 2 root root 4096 Dez 6 22:19 devices
-rwxrwxrwx 1 root root 1284 Dez 6 22:19 hvl_addon.tar.gz
-rwxrwxrwx 1 root root 633 Dez 6 22:19 install.sh
drwxrwxrwx 3 root root 4096 Dez 6 22:19 lib
-rwxrwxrwx 1 root root 711 Dez 6 22:19 package.json
drwxrwxrwx 6 root root 4096 Dez 6 22:19 plugins
-rwxrwxrwx 1 root root 764 Dez 6 22:19 README.md
drwxrwxrwx 3 root root 4096 Dez 6 22:19 www
root@debian-probook:/home/mirko/Homematic-Virtual-Interface#
Code: Alles auswählen
mirko@debian-probook:~/Homematic-Virtual-Interface$ locate config.json
/home/mirko/.hm_virtual_interface/config.json
/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/commit_queue/cq_config.json
mirko@debian-probook:~/Homematic-Virtual-Interface$ cd ..
mirko@debian-probook:~$ ls
Arbeitsfläche Downloads node-v4.6.0.tar.gz Vorlagen
Bilder Homematic-Virtual-Interface Öffentlich
Dokumente Musik Videos
mirko@debian-probook:~$ pwd
/home/mirko
mirko@debian-probook:~$ cd .hm_virtual_interface/
mirko@debian-probook:~/.hm_virtual_interface$ ls
config.json
mirko@debian-probook:~/.hm_virtual_interface$ ls -ll
insgesamt 0
Leider kommt vom LF gar keine Rückmeldung. Ich schau mal ob ich da mal ein Testscript bauen kannGuybrushix hat geschrieben:Reicht das so ?