NEWS
Yeelight Adapter bricht mit Fehler ab.
-
Hallo zusammen,
ich habe seit circa 1/2 Jahren einen Yeelight Adapter (aktuell in der Version 1.0.1) in meiner ioBroker Installation laufen. Bisher gab es damit auch keine Probleme. Heute ist mir aber aufgefallen, dass meine konfigurierten Skripte (zum Schalten der Lampen) nicht mehr laufen. Also habe ich die iobroker Installation geprüft und siehe da. Die Yeelight Instanz war nicht mehr gestartet. Jetzt bekomme ich beim Start der Instanz die nachfolgenden Fehlermeldungen. Hat das jemand eine Idee? Kann ich den Debug für den Adapter noch irgendwo aktivieren?
host.raspberrypi 2019-05-01 21:40:54.612 error instance system.adapter.yeelight-2.0 terminated with code 0 (OK)
host.raspberrypi 2019-05-01 21:40:54.612 error Caught by controller[0]: at Module.require (module.js:597:17)
host.raspberrypi 2019-05-01 21:40:54.612 error Caught by controller[0]: at Function.Module._load (module.js:498:3)
host.raspberrypi 2019-05-01 21:40:54.612 error Caught by controller[0]: at tryModuleLoad (module.js:506:12)
host.raspberrypi 2019-05-01 21:40:54.612 error Caught by controller[0]: at Module.load (module.js:566:32)
host.raspberrypi 2019-05-01 21:40:54.612 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
host.raspberrypi 2019-05-01 21:40:54.612 error Caught by controller[0]: at Module._compile (module.js:653:30)
host.raspberrypi 2019-05-01 21:40:54.612 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/joi/lib/index.js:5:14)
host.raspberrypi 2019-05-01 21:40:54.611 error Caught by controller[0]: at require (internal/module.js:11:18)
host.raspberrypi 2019-05-01 21:40:54.611 error Caught by controller[0]: at Module.require (module.js:597:17)
host.raspberrypi 2019-05-01 21:40:54.611 error Caught by controller[0]: at Function.Module._load (module.js:498:3)
host.raspberrypi 2019-05-01 21:40:54.611 error Caught by controller[0]: at tryModuleLoad (module.js:506:12)
host.raspberrypi 2019-05-01 21:40:54.611 error Caught by controller[0]: at Module.load (module.js:566:32)
host.raspberrypi 2019-05-01 21:40:54.611 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
host.raspberrypi 2019-05-01 21:40:54.611 error Caught by controller[0]: at Module._compile (module.js:617:28)
host.raspberrypi 2019-05-01 21:40:54.611 error Caught by controller[0]: at Object.runInThisContext (vm.js:139:10)
host.raspberrypi 2019-05-01 21:40:54.610 error Caught by controller[0]: at createScript (vm.js:80:10)
host.raspberrypi 2019-05-01 21:40:54.610 error Caught by controller[0]: SyntaxError: Unexpected number
host.raspberrypi 2019-05-01 21:40:54.610 error Caught by controller[0]: ^
host.raspberrypi 2019-05-01 21:40:54.610 error Caught by controller[0]: const soW = trace[i]3
host.raspberrypi 2019-05-01 21:40:54.609 error Caught by controller[0]: /opt/iobroker/node_modules/hoek/lib/index.js:662
yeelight-2.0 2019-05-01 21:40:54.336 info starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.yeelight-2, node: v8.15.0
host.raspberrypi 2019-05-01 21:40:52.707 info instance system.adapter.yeelight-2.0 started with pid 21020
host.raspberrypi 2019-05-01 21:40:22.672 info Restart adapter system.adapter.yeelight-2.0 because enabled
host.raspberrypi 2019-05-01 21:40:22.672 error instance system.adapter.yeelight-2.0 terminated with code 0 (OK)
Caught 2019-05-01 21:40:22.671 error by controller[0]: at Module.require (module.js:597:17)
Caught 2019-05-01 21:40:22.671 error by controller[0]: at Function.Module._load (module.js:498:3)
Caught 2019-05-01 21:40:22.671 error by controller[0]: at tryModuleLoad (module.js:506:12)
Caught 2019-05-01 21:40:22.671 error by controller[0]: at Module.load (module.js:566:32)
Caught 2019-05-01 21:40:22.671 error by controller[0]: at Object.Module._extensions..js (module.js:664:10)
Caught 2019-05-01 21:40:22.671 error by controller[0]: at Module._compile (module.js:653:30)
Caught 2019-05-01 21:40:22.671 error by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/joi/lib/index.js:5:14)
Caught 2019-05-01 21:40:22.670 error by controller[0]: at require (internal/module.js:11:18)
Caught 2019-05-01 21:40:22.670 error by controller[0]: at Module.require (module.js:597:17)
Caught 2019-05-01 21:40:22.670 error by controller[0]: at Function.Module._load (module.js:498:3)
Caught 2019-05-01 21:40:22.670 error by controller[0]: at tryModuleLoad (module.js:506:12)
Caught 2019-05-01 21:40:22.670 error by controller[0]: at Module.load (module.js:566:32)
Caught 2019-05-01 21:40:22.670 error by controller[0]: at Object.Module._extensions..js (module.js:664:10)
Caught 2019-05-01 21:40:22.670 error by controller[0]: at Module._compile (module.js:617:28)
Caught 2019-05-01 21:40:22.670 error by controller[0]: at Object.runInThisContext (vm.js:139:10)
Caught 2019-05-01 21:40:22.669 error by controller[0]: at createScript (vm.js:80:10)
Caught 2019-05-01 21:40:22.669 error by controller[0]: SyntaxError: Unexpected number
Caught 2019-05-01 21:40:22.669 error by controller[0]: ^
Caught 2019-05-01 21:40:22.669 error by controller[0]: const soW = trace[i]3
Caught 2019-05-01 21:40:22.668 error by controller[0]: /opt/iobroker/node_modules/hoek/lib/index.js:662
yeelight-2.0 2019-05-01 21:40:22.620 info terminating
yeelight-2.0 2019-05-01 21:40:22.357 info starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.yeelight-2, node: v8.15.0
yeelight-2.0 2019-05-01 21:40:22.112 error at Module.require (module.js:597:17)
yeelight-2.0 2019-05-01 21:40:22.112 error at Function.Module._load (module.js:498:3)
yeelight-2.0 2019-05-01 21:40:22.112 error at tryModuleLoad (module.js:506:12)
yeelight-2.0 2019-05-01 21:40:22.112 error at Module.load (module.js:566:32)
yeelight-2.0 2019-05-01 21:40:22.112 error at Object.Module._extensions..js (module.js:664:10)
yeelight-2.0 2019-05-01 21:40:22.112 error at Module._compile (module.js:653:30)
yeelight-2.0 2019-05-01 21:40:22.112 error at Object.<anonymous> (/opt/iobroker/node_modules/joi/lib/index.js:5:14)
yeelight-2.0 2019-05-01 21:40:22.112 error at require (internal/module.js:11:18)
yeelight-2.0 2019-05-01 21:40:22.112 error at Module.require (module.js:597:17)
yeelight-2.0 2019-05-01 21:40:22.112 error at Function.Module._load (module.js:498:3)
yeelight-2.0 2019-05-01 21:40:22.112 error at tryModuleLoad (module.js:506:12)
yeelight-2.0 2019-05-01 21:40:22.112 error at Module.load (module.js:566:32)
yeelight-2.0 2019-05-01 21:40:22.112 error at Object.Module._extensions..js (module.js:664:10)
yeelight-2.0 2019-05-01 21:40:22.112 error at Module._compile (module.js:617:28)
yeelight-2.0 2019-05-01 21:40:22.112 error at Object.runInThisContext (vm.js:139:10)
yeelight-2.0 2019-05-01 21:40:22.112 error at createScript (vm.js:80:10)
yeelight-2.0 2019-05-01 21:40:22.112 error SyntaxError: Unexpected number
yeelight-2.0 2019-05-01 21:40:22.112 error ^
yeelight-2.0 2019-05-01 21:40:22.112 error const soW = trace[i]3
yeelight-2.0 2019-05-01 21:40:22.112 error /opt/iobroker/node_modules/hoek/lib/index.js:662
yeelight-2.0 2019-05-01 21:40:22.101 error uncaught exception: Unexpected numberAch ja. Ein Neustart meines Raspberry brachte leider auch keinen Erfolg.
Vielen Dank im Voraus.
-
Ich habe den Fehler eben doch selbst noch gefunden. Es war ein File in der ioBroker Installation defekt.
/opt/iobroker/node_modules/hoek/lib/index.js
Ich habe das File ausgetauscht und jetzt läuft der Adapter wieder ohne Probleme.
Sehr wahrscheinlich wird es meine SD Karte nicht mehr lange machen.