Seite 182 von 264

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 16.10.2017, 20:50
von Nachtfux
Und jetzt das...
Ich hoffe mir kann jemand helfen.

Code: Alles auswählen

Caught exception: ReferenceError: that is not defined
    at NA_Module4.parseModuleData (/home/pi/node_modules/homematic-virtual-netatmodevice/NA_Module4.js:86:72)
    at /home/pi/node_modules/homematic-virtual-netatmodevice/NA_Module4.js:68:15
    at netatmo.<anonymous> (/home/pi/node_modules/netatmo/netatmo.js:397:14)
    at Request.self.callback (/home/pi/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/home/pi/node_modules/request/request.js:1163:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/home/pi/node_modules/request/request.js:1085:12)

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 17.10.2017, 17:01
von thkl
sollte ab Plugin Version 0.0.16 wieder gehen

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 17.10.2017, 23:45
von Günni
Hallo thkl,
das Update (Alexa Plugin 0.0.23) auf Raspmatic installation Virtual Interface Ver. 0.2.56 wird wieder nicht ausgeführt.

Code: Alles auswählen

Tue Oct 17 2017 23:38:18 GMT+0200 (CEST)[AlexaEvent] [INFO] - Alexa Plugin launched ..
Tue Oct 17 2017 23:38:18 GMT+0200 (CEST)[Homematic Virtual Interface.Server] [INFO] - Trying to load Localization from /usr/local/addons/hvl/node_modules/homematic-virtual-alexa/Localizable.strings
Tue Oct 17 2017 23:38:18 GMT+0200 (CEST)[Homematic Virtual Interface.Server] [INFO] - Loaded plugin: homematic-virtual-httpdevice
Tue Oct 17 2017 23:38:18 GMT+0200 (CEST)[Homematic Virtual Interface.Server] [INFO] - Loaded plugin: homematic-virtual-alexa
Tue Oct 17 2017 23:38:18 GMT+0200 (CEST)[homematic-virtual-httpdevice - HTTPCalls] [INFO] - Shutdown
Tue Oct 17 2017 23:38:18 GMT+0200 (CEST)[AlexaEvent] [INFO] - Connection changed: DISCONNECTED
Tue Oct 17 2017 23:38:18 GMT+0200 (CEST)[homematic-virtual-alexa - Alexa] [INFO] - Connection changed: DISCONNECTED
Tue Oct 17 2017 23:38:18 GMT+0200 (CEST)[Homematic Virtual Interface.Server] [INFO] - Reload .. shutdown all plugins
Tue Oct 17 2017 23:38:08 GMT+0200 (CEST)[Homematic Virtual Interface.Server] [INFO] - Updateing homematic-virtual-alexa in /usr/local/addons/hvl
Tue Oct 17 2017 23:37:58 GMT+0200 (CEST)[Homematic Virtual Interface.Server] [INFO] - Updateing homematic-virtual-httpdevice in /usr/local/addons/hvl
Tue Oct 17 2017 23:37:54 GMT+0200 (CEST)[Homematic Virtual Interface.Server] [INFO] - Updating all plugins

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 18.10.2017, 07:09
von Nachtfux
Das NetAtmo Plugin funktioniert leider noch nicht. Ich hab das Update auf 0.16 gemacht.
Jetzt kommt eine andere Fehlermeldung. Kannst du da bitte noch mal schauen?

Code: Alles auswählen

Caught exception: TypeError: Cannot read property 'updateValue' of undefined
    at NA_Module4.parseModuleData (/home/pi/node_modules/homematic-virtual-netatmodevice/NA_Module4.js:97:12)
    at /home/pi/node_modules/homematic-virtual-netatmodevice/NA_Module4.js:68:15
    at netatmo.<anonymous> (/home/pi/node_modules/netatmo/netatmo.js:397:14)
    at Request.self.callback (/home/pi/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/home/pi/node_modules/request/request.js:1163:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/home/pi/node_modules/request/request.js:1085:12)

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 18.10.2017, 07:11
von thkl
[emoji31] mach ich


sent from a solid block of aluminum.

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 18.10.2017, 09:15
von wendy2702
Hi Leute,

ich bin dabei meinen Home Server neu aufzusetzen.

Wie Stelle ich es am besten an HMVI umzuziehen? Was muss kann kopiert werden usw.?

Danke für Feedback

Mirko

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 18.10.2017, 16:38
von Nachtfux
Ich kapier es nicht. Wenn ich den HVL ganz normal starte erscheint nun immer eine Fehlermeldung. Auch der automatische Start des Layers klappt nicht mehr beim Reboot des PI

Code: Alles auswählen

pi@raspberrypi:~ $ ./node_modules/homematic-virtual-interface/bin/hmviservice start
Starting HMVirtual daemon...
Starting daemon...
/home/pi/node_modules/daemonize2/lib/daemonize.js:136
            throw new Error(msg.error);
            ^

Error: Error: Cannot find module '/home/pi/lib/HomematicVirtualPlatform.js'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/pi/node_modules/homematic-virtual-netatmodevice/NetAtmoPlatform.js:25:32)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at ChildProcess.<anonymous> (/home/pi/node_modules/daemonize2/lib/daemonize.js:136:19)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at process.nextTick (internal/child_process.js:787:12)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 18.10.2017, 16:43
von thkl
Ja der Autostart über daemonize fühlt sich für das Ding bissel anders an. Da ändern sich einige Pfade :). Das ist bissel blöd


sent from a solid block of aluminum.

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 18.10.2017, 18:07
von thkl
mal auf Netatmo 0.0.17 aktualisieren.
Wenn das via Web nicht geht kann man das auch via ssh :

Code: Alles auswählen

cd /home/pi
npm update homematic-virtual-netatmodevice

Re: Homematic Interface Layer für Hue Lampen und alles ander

Verfasst: 18.10.2017, 19:15
von Nachtfux
Das Update hat funktioniert... der Autostart klappt aber dennoch nicht. Kannst bitte noch mal schauen?
pi@raspberrypi:~ $ sudo /etc/init.d/hmvi restart
HMVirtual daemon is not running
Daemon is not running
Starting HMVirtual daemon...
Starting daemon...
/home/pi/node_modules/daemonize2/lib/daemonize.js:136
throw new Error(msg.error);
^

Error: ReferenceError: fs is not defined
at Object.<anonymous> (/home/pi/node_modules/homematic-virtual-netatmodevice/NetAtmoPlatform.js:23:7)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/node_modules/homematic-virtual-netatmodevice/index.js:1:85)
at Module._compile (module.js:570:32)
at ChildProcess.<anonymous> (/home/pi/node_modules/daemonize2/lib/daemonize.js:136:19)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at process.nextTick (internal/child_process.js:787:12)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
pi@raspberrypi:~ $