NEWS
Lightify Adapter läuft nicht mehr
-
Abend zusammen,
Leider läuft mein Lightify Adapter nicht mehr.
Instanz hatte ich mal gelöscht und neu installiert, er findet auch unter Suche die IP des Gateways nicht.
Wenn ich sie händisch eintrage wird es kurz grün, dann rot.Evtl. ein Problem durch die Umstellung auf Node V10?
Hier das Log
host.rock64 2019-08-28 22:04:52.979 error instance system.adapter.lightify.0 terminated with code 0 (OK) host.rock64 2019-08-28 22:04:52.979 error Caught by controller[0]: at Socket.Readable.push (_stream_readable.js:224:10) host.rock64 2019-08-28 22:04:52.979 error Caught by controller[0]: at readableAddChunk (_stream_readable.js:269:11) host.rock64 2019-08-28 22:04:52.979 error Caught by controller[0]: at addChunk (_stream_readable.js:288:12) host.rock64 2019-08-28 22:04:52.978 error Caught by controller[0]: at Socket.emit (events.js:198:13) host.rock64 2019-08-28 22:04:52.978 error Caught by controller[0]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:151:18) host.rock64 2019-08-28 22:04:52.978 error Caught by controller[0]: at lightify.onData (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:173:18) host.rock64 2019-08-28 22:04:52.978 error Caught by controller[0]: at lightify.processData (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:116:32) host.rock64 2019-08-28 22:04:52.978 error Caught by controller[0]: at Object.cb (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:463:28) host.rock64 2019-08-28 22:04:52.978 error Caught by controller[0]: at Uint8Array.readUInt8 (internal/buffer.js:137:5) host.rock64 2019-08-28 22:04:52.977 error Caught by controller[0]: at boundsError (internal/buffer.js:43:11) host.rock64 2019-08-28 22:04:52.977 error Caught by controller[0]: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be an integer. Received 43.33333333333333 lightify.0 2019-08-28 22:04:52.914 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be an integer. Received 43.33333333333333 at boundsError (internal/buffer.js:43:11) at Uint8Array.readUInt8 (inter lightify.0 2019-08-28 22:04:52.910 error uncaught exception: The value of "offset" is out of range. It must be an integer. Received 43.33333333333333 lightify.0 2019-08-28 22:04:52.015 info starting. Version 0.2.16 in /opt/iobroker/node_modules/iobroker.lightify, node: v10.16.2 javascript.0 2019-08-28 22:04:51.587 info script.js.common.Stromverbrauch.Strom_Zaehlerstaende_Verbrauch_Kosten: Fehler beim Auslesen des Datums. Eventuell falsche Syntax? null (Error:TypeError: Cannot read property 'match' of null) smartmeter.0 2019-08-28 22:04:51.322 info Received 10 values, 3 updated host.rock64 2019-08-28 22:04:49.487 info instance system.adapter.lightify.0 started with pid 30091 host.rock64 2019-08-28 22:04:49.436 info object change system.adapter.lightify.0 host.rock64 2019-08-28 22:04:48.380 info instance system.adapter.lightify.0 terminated with code 0 (OK) Caught 2019-08-28 22:04:48.380 error by controller[0]: at Socket.Readable.push (_stream_readable.js:224:10) Caught 2019-08-28 22:04:48.380 error by controller[0]: at readableAddChunk (_stream_readable.js:269:11) Caught 2019-08-28 22:04:48.379 error by controller[0]: at addChunk (_stream_readable.js:288:12) Caught 2019-08-28 22:04:48.379 error by controller[0]: at Socket.emit (events.js:198:13) Caught 2019-08-28 22:04:48.379 error by controller[0]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:151:18) Caught 2019-08-28 22:04:48.379 error by controller[0]: at lightify.onData (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:173:18) Caught 2019-08-28 22:04:48.379 error by controller[0]: at lightify.processData (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:116:32) Caught 2019-08-28 22:04:48.379 error by controller[0]: at Object.cb (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:463:28) Caught 2019-08-28 22:04:48.379 error by controller[0]: at Uint8Array.readUInt8 (internal/buffer.js:137:5) Caught 2019-08-28 22:04:48.379 error by controller[0]: at boundsError (internal/buffer.js:43:11) Caught 2019-08-28 22:04:48.379 error by controller[0]: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be an integer. Received 43.33333333333333 host.rock64 2019-08-28 22:04:48.307 info stopInstance system.adapter.lightify.0 killing pid 30076 host.rock64 2019-08-28 22:04:48.307 info stopInstance system.adapter.lightify.0 host.rock64 2019-08-28 22:04:48.306 info object change system.adapter.lightify.0 lightify.0 2019-08-28 22:04:48.297 info terminating lightify.0 2019-08-28 22:04:48.268 error at Socket.Readable.push (_stream_readable.js:224:10) lightify.0 2019-08-28 22:04:48.268 error at readableAddChunk (_stream_readable.js:269:11) lightify.0 2019-08-28 22:04:48.268 error at addChunk (_stream_readable.js:288:12) lightify.0 2019-08-28 22:04:48.268 error at Socket.emit (events.js:198:13) lightify.0 2019-08-28 22:04:48.268 error at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:151:18) lightify.0 2019-08-28 22:04:48.268 error at lightify.onData (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:173:18) lightify.0 2019-08-28 22:04:48.268 error at lightify.processData (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:116:32) lightify.0 2019-08-28 22:04:48.268 error at Object.cb (/opt/iobroker/node_modules/iobroker.lightify/lib/lightify.js:463:28) lightify.0 2019-08-28 22:04:48.268 error at Uint8Array.readUInt8 (internal/buffer.js:137:5) lightify.0 2019-08-28 22:04:48.268 error at boundsError (internal/buffer.js:43:11) lightify.0 2019-08-28 22:04:48.268 error RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be an integer. Received 43.33333333333333 lightify.0 2019-08-28 22:04:48.256 error uncaught exception: The value of "offset" is out of range. It must be an integer. Received 43.33333333333333 lightify.0 2019-08-28 22:04:47.260 info starting. Version 0.2.16 in /opt/iobroker/node_modules/iobroker.lightify, node: v10.16.2
-
Huhu, keine eine Idee?
Könnte das an Node v10 liegen? -
@hg6806
Läuft dein Adapter wieder?
Ich nutze ihn nicht mehr da alle Lampen und Steckdose mittlerweile an der HUE hängen.
Da ich auch nen rock64 mit Node10 nutze und das Gateway noch installiert ist hab ich den Adapter mal reanimiert.
Bei mir wird er grün. Von daher würde ich Node 10 mal ausschließen. -
Nein, läuft leider nicht.
Habe jetzt die Instanz gelöscht und auch den Adapter und neu installiert.
Bei Hinzufügen der Instanz gab es folgende Meldungen:$ ./iobroker add lightify --host rock64 host.rock64 install adapter lightify npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.lightify" npm WARN deprecated hawk@7.0.10: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.npm WARN deprecated sntp@3.0.2: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated b64@4.1.2: This module has moved and is now available at @hapi/b64. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated boom@7.3.0: This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated cryptiles@4.1.3: This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated jscs-preset-wikimedia@1.0.1: Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941 npm WARN deprecated bounce@1.2.3: This module has moved and is now available at @hapi/bounce. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.npm WARN deprecated teamwork@3.2.0: This module has moved and is now available at @hapi/teamwork. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. npm notice created a lockfile as package-lock.json. You should commit this file. got /opt/iobroker/node_modules/iobroker.lightify/adminupload [2] lightify.admin /opt/iobroker/node_modules/iobroker.lightify/admin/words.js words.js application/javascript upload [1] lightify.admin /opt/iobroker/node_modules/iobroker.lightify/admin/lightify.png lightify.png image/png upload [0] lightify.admin /opt/iobroker/node_modules/iobroker.lightify/admin/index.html index.html text/html host.rock64 object system.adapter.lightify created
-
Leider läuft es noch immer nicht. Liegt doch an Node 10.
Auch auf dem Pi4 mit Node funktioniert es nicht, auf einem Pi3 mit Node 8.x läuft es,
Wird an dem Adapter noch gearbeitet oder an Node?
Oder bekommt man Node 8.x auf den Pi4? Lightify nutze ich normalerweise schon täglich am Wandtablet, deshalb ist mir das schon wichtig. -
@hg6806 hat schon jemand eine Lösung gefunden? Möchte auch gerne den Adapter wieder benutzen.
-
Ja, hier wurde das schon mal gepostet:
https://forum.iobroker.net/topic/17729/osram-lightyfy-adapter-problemDu muss eine Zeile in der lightify.js umändern. Hatte ich am 21. Oktober in einem Post bestätigt.