-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hello,
a new bug in Version 0.2.6... When the Miniserver does a reboot, the Script the reconnect, but after a few times i got this error:
[2017-02-14 15:23:21] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:24] [Loxone] LOXONE WS: connect
/usr/lib/node_modules/node-lox-ws-api/lib/API.js:80
that._auth.authorize();
^
TypeError: Cannot read property 'authorize' of undefined
at . (/usr/lib/node_modules/node-lox-ws-api/lib/API.js:80:19)
at emitNone (events.js:86:13)
at emit (events.js:185:7)
at WebSocketClient. (/usr/lib/node_modules/node-lox-ws-api/lib/Connection.js:67:14)
at emitOne (events.js:96:13)
at WebSocketClient.emit (events.js:188:7)
at WebSocketClient.succeedHandshake (/usr/lib/node_modules/node-lox-ws-api/node_modules/websocket/lib/WebSocketClient.js:335:10)
at WebSocketClient.validateHandshake (/usr/lib/node_modules/node-lox-ws-api/node_modules/websocket/lib/WebSocketClient.js:319:10)
at ClientRequest.handleRequestUpgrade (/usr/lib/node_modules/node-lox-ws-api/node_modules/websocket/lib/WebSocketClient.js:248:14)
at emitThree (events.js:116:13)
at ClientRequest.emit (events.js:194:7)
Here the full log:
[2017-02-14 15:22:30] [Loxone] [switch] iOS - send message to Außenbeleuchtung Haus hinten: On
[2017-02-14 15:22:32] [Loxone] [switch] iOS - send message to Außenbeleuchtung Haus hinten: Off
[2017-02-14 15:22:45] [Loxone] LOXONE WS: keepalive 1
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:13] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:15] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:15] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:15] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:15] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:15] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:15] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:15] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:15] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:15] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:15] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:15] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:15] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:16] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:17] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:17] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:17] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:17] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:17] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:17] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:17] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:17] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:17] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:17] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:18] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:19] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:19] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:19] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:19] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:19] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:19] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:19] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:19] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:19] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:19] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:19] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:19] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:20] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:20] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:20] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:20] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:20] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:20] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:20] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:21] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:21] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:21] [Loxone] [switch] iOS - send message to Eingang VI3: Off
[2017-02-14 15:23:21] [Loxone] [switch] iOS - send message to Licht: Off
[2017-02-14 15:23:21] [Loxone] [switch] iOS - send message to Reset Hzg KiZi Ost: Off
[2017-02-14 15:23:21] [Loxone] [switch] iOS - send message to Licht komplett aus: Off
[2017-02-14 15:23:21] [Loxone] [switch] iOS - send message to Rolläden komplett auf: Off
[2017-02-14 15:23:21] [Loxone] [switch] iOS - send message to Rolläden komplett zu: Off
[2017-02-14 15:23:21] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:21] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:21] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:21] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:21] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:21] [Loxone] [switch] iOS - send message to Miniserver Reboot: Off
[2017-02-14 15:23:21] [Loxone] LOXONE WS: connect
[2017-02-14 15:23:24] [Loxone] LOXONE WS: connect
/usr/lib/node_modules/node-lox-ws-api/lib/API.js:80
that._auth.authorize();
^
TypeError: Cannot read property 'authorize' of undefined
at . (/usr/lib/node_modules/node-lox-ws-api/lib/API.js:80:19)
at emitNone (events.js:86:13)
at emit (events.js:185:7)
at WebSocketClient. (/usr/lib/node_modules/node-lox-ws-api/lib/Connection.js:67:14)
at emitOne (events.js:96:13)
at WebSocketClient.emit (events.js:188:7)
at WebSocketClient.succeedHandshake (/usr/lib/node_modules/node-lox-ws-api/node_modules/websocket/lib/WebSocketClient.js:335:10)
at WebSocketClient.validateHandshake (/usr/lib/node_modules/node-lox-ws-api/node_modules/websocket/lib/WebSocketClient.js:319:10)
at ClientRequest.handleRequestUpgrade (/usr/lib/node_modules/node-lox-ws-api/node_modules/websocket/lib/WebSocketClient.js:248:14)
at emitThree (events.js:116:13)
at ClientRequest.emit (events.js:194:7)