hobbyquaker / cul

nodejs module to interact with busware cul / culfw
GNU General Public License v2.0
26 stars 21 forks source link

Error with Max! Devices over CUNO device #19

Open qutschwalze opened 6 years ago

qutschwalze commented 6 years ago

Hi, I have a strange error with the CUL Adapter with a flashed MAX! Cube as CUNO. My window switches are found correctly but if I want to pair a MAX Radiator Thermostat basic, I got an error and the MAX Cube restarts.

Error: MAX! Radiator Thermostat basic

cul.0 2018-07-16 20:36:54.377 error }
cul.0 2018-07-16 20:36:54.377 error }
cul.0 2018-07-16 20:36:54.377 error }
cul.0 2018-07-16 20:36:54.377 error return prop;
cul.0 2018-07-16 20:36:54.377 error if (this[prop] === value)
cul.0 2018-07-16 20:36:54.377 error if (this.hasOwnProperty(prop)) {
cul.0 2018-07-16 20:36:54.377 error for (var prop in this) {
cul.0 2018-07-16 20:36:54.377 error at TCP.onread (net.js:559:20) getKeyByValue=function (value) {
cul.0 2018-07-16 20:36:54.377 error at Socket.Readable.push (_stream_readable.js:134:10)
cul.0 2018-07-16 20:36:54.377 error at readableAddChunk (_stream_readable.js:176:18)
cul.0 2018-07-16 20:36:54.377 error at Socket.emit (events.js:188:7)
cul.0 2018-07-16 20:36:54.377 error at emitOne (events.js:96:13)
cul.0 2018-07-16 20:36:54.377 error at Socket.telnet.on.data (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/cul.js:218:17)
cul.0 2018-07-16 20:36:54.377 error at parse (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/cul.js:297:43)
cul.0 2018-07-16 20:36:54.377 error at Object.module.exports.parse (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/lib/moritz.js:183:50)
cul.0 2018-07-16 20:36:54.377 error TypeError: Cannot read property 'type' of undefined
cul.0 2018-07-16 20:36:54.377 error }
cul.0 2018-07-16 20:36:54.377 error }
cul.0 2018-07-16 20:36:54.377 error }

And every few seconds this appears in the LOG:

cul.0 2018-07-16 20:36:41.034 info }
cul.0 2018-07-16 20:36:41.034 info }
cul.0 2018-07-16 20:36:41.034 info }
cul.0 2018-07-16 20:36:41.034 info return prop;
cul.0 2018-07-16 20:36:41.034 info if (this[prop] === value)
cul.0 2018-07-16 20:36:41.034 info if (this.hasOwnProperty(prop)) {
cul.0 2018-07-16 20:36:41.034 info for (var prop in this) {
cul.0 2018-07-16 20:36:41.034 info -> getKeyByValue=function (value) {
cul.0 2018-07-16 20:36:41.034 info }
cul.0 2018-07-16 20:36:41.034 info }
cul.0 2018-07-16 20:36:41.034 info }