Da kommt dann das da ... habe gleich danach trotzdem noch die getpassword.js gestartet, die aber vor der Ausgabe des PW abbricht.thkl hat geschrieben: Aber Du könntest mal HVL im Debug starten
Gesendet von meinem SM-T800 mit Tapatalk
Moderator: Co-Administratoren
Da kommt dann das da ... habe gleich danach trotzdem noch die getpassword.js gestartet, die aber vor der Ausgabe des PW abbricht.thkl hat geschrieben: Aber Du könntest mal HVL im Debug starten
Code: Alles auswählen
/usr/local/addons/hvl/node/bin/node /usr/local/addons/hvl/node_modules/homematic-virtual-interface/lib/index.js -D -C /usr/local/etc/config/hvl/
So zur Sicherheit habe ich zunächst noch mal alles deinstalliert und neu installiert, dann das Plugin mit:thkl hat geschrieben:Nunja mit etwas Hilfe kann ich das LF auch anpassen. Siehe vorheriger Beitrag.
Einmal Debug Modus .. dann wirft das Plugin zumindest schon mal die Lampen ins LogFile die es findet.
Ggf benutzt du Lampen die ich bei der Erstellung noch nicht kannte.
Code: Alles auswählen
node /home/pi/node_modules/homematic-virtual-interface/lib/index.js -D
Code: Alles auswählen
[2017-12-03 18:46:09.855] [Core][INFO] Homematic Virtual Interface Core
[2017-12-03 18:46:09.877] [Core][INFO] 2017 by thkl https://github.com/thkl/Homematic-Virtual-Interface
[2017-12-03 18:46:09.888] [Core][INFO] running on node version v6.10.3
[2017-12-03 18:46:09.888] [Core][INFO] ================================================================
Set Loglevel to Debug
SetFileTransport to /home/pi/.hm_virtual_interface/logs/log.db
[2017-12-03 18:46:10.148] [Core][INFO] Launching
[2017-12-03 18:46:11.744] [VirtualPlugin][DEBUG] Adding /home/pi/node_modules/homematic-virtual-interface/lib/../plugins/ to path
[2017-12-03 18:46:11.758] [Homematic Virtual Interface.Server][DEBUG] Starting up
[2017-12-03 18:46:12.006] [Config][INFO] try to load config : /home/pi/.hm_virtual_interface/config.json
[2017-12-03 18:46:12.010] [Config][DEBUG] try to load persistent storage : /home/pi/.hm_virtual_interface/persist.json
[2017-12-03 18:46:12.014] [Homematic Virtual Interface.Server][INFO] running on node version v6.10.3
[2017-12-03 18:46:12.016] [Homematic Virtual Interface.Server][INFO] hello from the flight deck. my path is /home/pi/node_modules/homematic-virtual-interface
[2017-12-03 18:46:12.018] [Homematic Virtual Interface.Server][INFO] starting point was /home/pi/node_modules/homematic-virtual-interface/lib
[2017-12-03 18:46:12.060] [Homematic Virtual Interface.Server][INFO] Trying to load Localization from /home/pi/node_modules/homematic-virtual-interface/lib/Localizable.strings
[2017-12-03 18:46:12.065] [HomematicLogicalLayer][INFO] Welcome. will create a interface layer for CCU at 192.168.178.20
[2017-12-03 18:46:12.073] [HomematicLogicalLayer][INFO] init consumer {"hostname":"192.168.178.20","port":"9292","path":"/bidcos","callbackid":"HVL_java"}
[2017-12-03 18:46:12.079] [HomematicLogicalLayer][INFO] init stored consumer with host 192.168.178.20 at port 9292 path /bidcos
[2017-12-03 18:46:12.085] [HomematicLogicalLayer][DEBUG] Adding new Consumer
[2017-12-03 18:46:12.091] [HomematicLogicalLayer][INFO] []
[2017-12-03 18:46:12.103] [Config][INFO] MyIP is 192.168.178.57
[2017-12-03 18:46:12.112] [HomematicLogicalLayer][INFO] XML-RPC server for interface Homematic Virtual Interface is listening on 192.168.178.57:7000
[2017-12-03 18:46:12.114] [HomematicLogicalLayer][INFO] CCU RPC message timeout set to 300000 ms
[2017-12-03 18:46:12.780] [Homematic Virtual Interface.Server][INFO] Pinging CCU
[2017-12-03 18:46:12.798] [Homematic Virtual Interface.Server][INFO] Reload .. shutdown all plugins
[2017-12-03 18:46:13.126] [Homematic Virtual Interface.Server][INFO] Loaded plugin: homematic-virtual-lightifydevice
[2017-12-03 18:46:13.132] [homematic-virtual-lightifydevice - Lightify][INFO] Init Lightify
[2017-12-03 18:46:13.138] [Homematic Virtual Interface.Server][INFO] Lightify initialized. Document Path is /home/pi/node_modules/homematic-virtual-lightifydevice Plugin Instance: 0
[2017-12-03 18:46:13.141] [Homematic Virtual Interface.Server][DEBUG] Plugin Name Lightify
[2017-12-03 18:46:13.196] [ConfigurationServer][DEBUG] Configuration Server Initializing on Port 8182
[2017-12-03 18:46:13.210] [ConfigurationServer][INFO] Configuration Server is listening on: Port 8182
[2017-12-03 18:46:13.364] [Homematic Virtual Interface.Server][INFO] CCU is alive
[2017-12-03 18:46:13.432] [HomematicLogicalLayer][INFO] My Interface Name at your CCU is HVL
[2017-12-03 18:46:13.435] [HomematicLogicalLayer][INFO] apply interface Name HVL to all devices
[2017-12-03 18:46:37.451] [Homematic Virtual Interface.Server][DEBUG] Server HTTP Request /plugins/?do=version&plugin=homematic-virtual-interface parsed /plugins/ {"do":"version","plugin":"homematic-virtual-interface"}
[2017-12-03 18:46:38.457] [Homematic Virtual Interface.Server][DEBUG] Get Version for homematic-virtual-interface result {"version":"0.2.64","remark":""}
[2017-12-03 18:46:42.178] [Homematic Virtual Interface.Server][DEBUG] Server HTTP Request /plugins/?do=version&plugin=homematic-virtual-interface parsed /plugins/ {"do":"version","plugin":"homematic-virtual-interface"}
[2017-12-03 18:46:43.392] [Homematic Virtual Interface.Server][DEBUG] Get Version for homematic-virtual-interface result {"version":"0.2.64","remark":""}
[2017-12-03 18:46:45.686] [Homematic Virtual Interface.Server][DEBUG] Server HTTP Request /index/?installmode parsed /index/ {"installmode":""}
[2017-12-03 18:46:45.690] [HomematicLogicalLayer][DEBUG] Will send to all Consumers
[2017-12-03 18:46:45.693] [HomematicLogicalLayer][INFO] Skip HMServer
[2017-12-03 18:47:13.450] [HomematicLogicalLayer][INFO] looking for corpses
[2017-12-03 18:47:13.565] [HomematicLogicalLayer][INFO] nothing found
[2017-12-03 18:48:45.713] [Homematic Virtual Interface.Server][DEBUG] Server HTTP Request /index/?installmode parsed /index/ {"installmode":""}
[2017-12-03 18:48:45.717] [HomematicLogicalLayer][DEBUG] Will send to all Consumers
[2017-12-03 18:48:45.719] [HomematicLogicalLayer][INFO] Skip HMServer
Code: Alles auswählen
cd /home/pi
npm i homematic-virtual-lightifydevice
Code: Alles auswählen
pi@raspberrypi:~ $ node /home/pi/node_modules/homematic-virtual-interface/lib/index.js -D
[2017-12-03 19:19:15.688] [Core][INFO] Homematic Virtual Interface Core
[2017-12-03 19:19:15.711] [Core][INFO] 2017 by thkl https://github.com/thkl/Homematic-Virtual-Interface
[2017-12-03 19:19:15.721] [Core][INFO] running on node version v6.10.3
[2017-12-03 19:19:15.722] [Core][INFO] ================================================================
Set Loglevel to Debug
SetFileTransport to /home/pi/.hm_virtual_interface/logs/log.db
[2017-12-03 19:19:15.973] [Core][INFO] Launching
[2017-12-03 19:19:17.677] [VirtualPlugin][DEBUG] Adding /home/pi/node_modules/homematic-virtual-interface/lib/../plugins/ to path
[2017-12-03 19:19:17.690] [Homematic Virtual Interface.Server][DEBUG] Starting up
[2017-12-03 19:19:17.853] [Config][INFO] try to load config : /home/pi/.hm_virtual_interface/config.json
[2017-12-03 19:19:17.856] [Config][DEBUG] try to load persistent storage : /home/pi/.hm_virtual_interface/persist.json
[2017-12-03 19:19:17.859] [Homematic Virtual Interface.Server][INFO] running on node version v6.10.3
[2017-12-03 19:19:17.860] [Homematic Virtual Interface.Server][INFO] hello from the flight deck. my path is /home/pi/node_modules/homematic-virtual-interface
[2017-12-03 19:19:17.862] [Homematic Virtual Interface.Server][INFO] starting point was /home/pi/node_modules/homematic-virtual-interface/lib
[2017-12-03 19:19:17.903] [Homematic Virtual Interface.Server][INFO] Trying to load Localization from /home/pi/node_modules/homematic-virtual-interface/lib/Localizable.strings
[2017-12-03 19:19:17.907] [HomematicLogicalLayer][INFO] Welcome. will create a interface layer for CCU at 192.168.178.20
[2017-12-03 19:19:17.912] [HomematicLogicalLayer][INFO] init consumer {"hostname":"192.168.178.20","port":"9292","path":"/bidcos","callbackid":"HVL_java"}
[2017-12-03 19:19:17.915] [HomematicLogicalLayer][INFO] init stored consumer with host 192.168.178.20 at port 9292 path /bidcos
[2017-12-03 19:19:17.920] [HomematicLogicalLayer][DEBUG] Adding new Consumer
[2017-12-03 19:19:17.925] [HomematicLogicalLayer][INFO] []
[2017-12-03 19:19:17.936] [Config][INFO] MyIP is 192.168.178.57
[2017-12-03 19:19:17.944] [HomematicLogicalLayer][INFO] XML-RPC server for interface Homematic Virtual Interface is listening on 192.168.178.57:7000
[2017-12-03 19:19:17.946] [HomematicLogicalLayer][INFO] CCU RPC message timeout set to 300000 ms
[2017-12-03 19:19:18.625] [Homematic Virtual Interface.Server][INFO] Pinging CCU
[2017-12-03 19:19:18.641] [Homematic Virtual Interface.Server][INFO] Reload .. shutdown all plugins
[2017-12-03 19:19:18.982] [Homematic Virtual Interface.Server][INFO] Loaded plugin: homematic-virtual-lightifydevice
[2017-12-03 19:19:18.987] [homematic-virtual-lightifydevice - Lightify][INFO] Init Lightify
[2017-12-03 19:19:18.991] [homematic-virtual-lightifydevice - Lightify][INFO] Config IP found .. trying to setup connection to lf
[2017-12-03 19:19:19.011] [Homematic Virtual Interface.Server][ERROR] Cannot initialize Lightify - TypeError: lightify.start is not a function
at LightifyPlatform.reInit (/home/pi/node_modules/homematic-virtual-lightifydevice/LightifyPlatform.js:62:12)
at LightifyPlatform.init (/home/pi/node_modules/homematic-virtual-lightifydevice/LightifyPlatform.js:56:8)
at new module.exports (/home/pi/node_modules/homematic-virtual-lightifydevice/index.js:9:16)
at Server._loadPlugins (/home/pi/node_modules/homematic-virtual-interface/lib/Server.js:1153:26)
at Server.reloadPlugins (/home/pi/node_modules/homematic-virtual-interface/lib/Server.js:184:22)
at Server.init (/home/pi/node_modules/homematic-virtual-interface/lib/Server.js:81:7)
at Object.<anonymous> (/home/pi/node_modules/homematic-virtual-interface/lib/index.js:52:8)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
[2017-12-03 19:19:19.014] [Homematic Virtual Interface.Server][WARN] No plugins found. See the README for information on installing plugins.
[2017-12-03 19:19:19.067] [ConfigurationServer][DEBUG] Configuration Server Initializing on Port 8182
[2017-12-03 19:19:19.079] [ConfigurationServer][INFO] Configuration Server is listening on: Port 8182
[2017-12-03 19:19:19.154] [Homematic Virtual Interface.Server][INFO] CCU is alive
[2017-12-03 19:19:19.230] [HomematicLogicalLayer][INFO] My Interface Name at your CCU is HVL
[2017-12-03 19:19:19.232] [HomematicLogicalLayer][INFO] apply interface Name HVL to all devices
[2017-12-03 19:20:19.237] [HomematicLogicalLayer][INFO] looking for corpses
[2017-12-03 19:20:19.276] [HomematicLogicalLayer][INFO] nothing found