NEWS
[gelöst] Yamaha Adapter nach update ohne funktion
-
Hi,
habe heute morgen den Yamaha Adapter upgedated. Seitdem ist er "Rot" und das log sieht so aus:
yamaha.0 2017-03-19 10:41:40.719 debug inMem message yamaha.0.* yamaha.0.Realtime.online yamaha.0 2017-03-19 10:41:40.719 debug Y5: Connection closed, hadError=false yamaha.0 2017-03-19 10:41:40.719 error TypeError: a.inexOf is not a function at /opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:533:62 at Array.forEach (native) at y5.onData (/opt/iobroker/node_modules/iobroker.yamaha/yama yamaha.0 2017-03-19 10:41:40.718 error uncaught exception: a.inexOf is not a function yamaha.0 2017-03-19 10:41:40.718 debug Rawdata: @ZONE2:PWR=Standby @MAIN:PWR=Standby yamaha.0 2017-03-19 10:41:40.718 debug Y5: on data: @ZONE2:PWR=Standby @MAIN:PWR=Standby yamaha.0 2017-03-19 10:41:40.656 debug Y5: @ZONE2:PWR=? written yamaha.0 2017-03-19 10:41:40.656 debug Y5: @MAIN:PWR=? written yamaha.0 2017-03-19 10:41:40.656 debug Y5: connected! yamaha.0 2017-03-19 10:41:40.614 info starting. Version 0.3.6 in /opt/iobroker/node_modules/iobroker.yamaha, node: v4.8.0 yamaha.0 2017-03-19 10:41:31.114 debug inMem message yamaha.0.* yamaha.0.Realtime.online yamaha.0 2017-03-19 10:41:31.114 debug Y5: Connection closed, hadError=false yamaha.0 2017-03-19 10:41:31.114 error TypeError: a.inexOf is not a function at /opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:533:62 at Array.forEach (native) at y5.onData (/opt/iobroker/node_modules/iobroker.yamaha/yama yamaha.0 2017-03-19 10:41:31.114 error uncaught exception: a.inexOf is not a function yamaha.0 2017-03-19 10:41:31.114 debug Rawdata: @ZONE2:PWR=Standby @MAIN:PWR=Standby yamaha.0 2017-03-19 10:41:31.113 debug Y5: on data: @ZONE2:PWR=Standby @MAIN:PWR=Standby yamaha.0 2017-03-19 10:41:31.051 debug Y5: @ZONE2:PWR=? written yamaha.0 2017-03-19 10:41:31.051 debug Y5: @MAIN:PWR=? written yamaha.0 2017-03-19 10:41:31.050 debug Y5: connected! yamaha.0 2017-03-19 10:41:31.008 info starting. Version 0.3.6 in /opt/iobroker/node_modules/iobroker.yamaha, node: v4.8.0 yamaha.0 2017-03-19 10:41:08.957 debug inMem message yamaha.0.* yamaha.0.Realtime.online val=true, ack=true, ts=1489916468953, q=0, from=system.adapter.yamaha.0, lc=1489916468953 yamaha.0 2017-03-19 10:41:08.957 debug Y5: Connection closed, hadError=false yamaha.0 2017-03-19 10:41:08.956 error at TCP.onread (net.js:537:20) yamaha.0 2017-03-19 10:41:08.956 error at Socket.Readable.push (_stream_readable.js:111:10) yamaha.0 2017-03-19 10:41:08.956 error at readableAddChunk (_stream_readable.js:153:18) yamaha.0 2017-03-19 10:41:08.956 error at Socket.emit (events.js:169:7) yamaha.0 2017-03-19 10:41:08.956 error at emitOne (events.js:77:13) yamaha.0 2017-03-19 10:41:08.956 error at Socket. (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/y5/y5.js:50:14) yamaha.0 2017-03-19 10:41:08.956 error at y5.onData (/opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:528:12) yamaha.0 2017-03-19 10:41:08.956 error at Array.forEach (native) yamaha.0 2017-03-19 10:41:08.956 error at /opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:533:62 yamaha.0 2017-03-19 10:41:08.956 error TypeError: a.inexOf is not a function yamaha.0 2017-03-19 10:41:08.955 error uncaught exception: a.inexOf is not a function yamaha.0 2017-03-19 10:41:08.953 debug @MAIN:PWR=Standby yamaha.0 2017-03-19 10:41:08.953 debug Rawdata: @ZONE2:PWR=Standby yamaha.0 2017-03-19 10:41:08.952 debug @MAIN:PWR=Standby yamaha.0 2017-03-19 10:41:08.952 debug Y5: on data: @ZONE2:PWR=Standby yamaha.0 2017-03-19 10:41:08.895 debug Y5: @ZONE2:PWR=? written yamaha.0 2017-03-19 10:41:08.895 debug Y5: @MAIN:PWR=? written yamaha.0 2017-03-19 10:41:08.895 debug Y5: connected! yamaha.0 2017-03-19 10:41:08.850 info starting. Version 0.3.6 in /opt/iobroker/node_modules/iobroker.yamaha, node: v4.8.0 yamaha.0 2017-03-19 10:41:08.840 debug statesDB connected yamaha.0 2017-03-19 10:41:08.827 debug objectDB connected yamaha.0 2017-03-19 10:40:59.515 error at TCP.onread (net.js:537:20) yamaha.0 2017-03-19 10:40:59.515 error at Socket.Readable.push (_stream_readable.js:111:10) yamaha.0 2017-03-19 10:40:59.515 error at readableAddChunk (_stream_readable.js:153:18) yamaha.0 2017-03-19 10:40:59.515 error at Socket.emit (events.js:169:7) yamaha.0 2017-03-19 10:40:59.515 error at emitOne (events.js:77:13) yamaha.0 2017-03-19 10:40:59.515 error at Socket. (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/y5/y5.js:50:14) yamaha.0 2017-03-19 10:40:59.515 error at y5.onData (/opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:528:12) yamaha.0 2017-03-19 10:40:59.515 error at Array.forEach (native) yamaha.0 2017-03-19 10:40:59.515 error at /opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:533:62 yamaha.0 2017-03-19 10:40:59.515 error TypeError: a.inexOf is not a function yamaha.0 2017-03-19 10:40:59.514 error uncaught exception: a.inexOf is not a function yamaha.0 2017-03-19 10:40:59.409 info starting. Version 0.3.6 in /opt/iobroker/node_modules/iobroker.yamaha, node: v4.8.0 yamaha.0 2017-03-19 10:40:27.841 error at TCP.onread (net.js:537:20) yamaha.0 2017-03-19 10:40:27.841 error at Socket.Readable.push (_stream_readable.js:111:10) yamaha.0 2017-03-19 10:40:27.841 error at readableAddChunk (_stream_readable.js:153:18) yamaha.0 2017-03-19 10:40:27.841 error at Socket.emit (events.js:169:7) yamaha.0 2017-03-19 10:40:27.841 error at emitOne (events.js:77:13) yamaha.0 2017-03-19 10:40:27.841 error at Socket. (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/y5/y5.js:50:14) yamaha.0 2017-03-19 10:40:27.841 error at y5.onData (/opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:528:12) yamaha.0 2017-03-19 10:40:27.841 error at Array.forEach (native) yamaha.0 2017-03-19 10:40:27.841 error at /opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:533:62 yamaha.0 2017-03-19 10:40:27.841 error TypeError: a.inexOf is not a function yamaha.0 2017-03-19 10:40:27.840 error uncaught exception: a.inexOf is not a function yamaha.0 2017-03-19 10:40:27.732 info starting. Version 0.3.6 in /opt/iobroker/node_modules/iobroker.yamaha, node: v4.8.0
Leider bekomme ich im Admin auch die alte Version nicht mehr angeboten.
Kann jemand helfen!?
Danke
Mirko
-
Hi,
wie könnte ich den Adapter Entwickler kontaktieren bzw. auf dieses Problem hinweisen?
Ich denke nicht das er hier permanent alle neuen Beiträge mit liest, oder?
Mirko
-
Der Fehler leigt wohl hier:
if (a && a.length > 3 && a.indexOf('@') < 0 && a.inexOf(':') < 0) {
Das "inexOf" muss wohl ein "indexOf" sein.
-
Habe es bei mir geändert und jetzt läuft der Adapter wieder.
Mirko
-
Ich habe es soef mal als Pull-Request geschickt