I use it personally at home with a Gen1 miniserver and it works 100% on the latest firmware.
Have tried today to get it to work with a Gen2 miniserver but it seems to crash NodeRED constantly
it connects momentarily an pulls the structure but then crashes once deployed
Have tried disabling HTTPS on the miniserver but still does not work.
The error message I get in Node Red is:
22 Dec 18:15:57 - [error] [loxone-miniserver:4da419b127d99a15] Miniserver connec tion error: Socket Error: undefined ERR_STREAM_WRITE_AFTER_END (1006)
Websocket Connection closed: 1006 Socket Error: undefined ERR_STREAM_WRITE_AFTE R_END
22 Dec 18:15:57 - [info] [loxone-miniserver:4da419b127d99a15] connection closed: Socket Error: undefined ERR_STREAM_WRITE_AFTER_END (1006)
22 Dec 18:15:57 - [info] [loxone-miniserver:4da419b127d99a15] connection closed: reconnecting
22 Dec 18:15:57 - [red] Uncaught Exception:
22 Dec 18:15:57 - [error] TypeError: Cannot read property 'closeDescription' of undefined
at Connection.<anonymous> (/home/pi/.node-red/node_modules/node-lox-ws-api/l ib/Connection.js:64:62)
at WebSocketClient.emit (events.js:400:28)
at ClientRequest.handleRequestError (/home/pi/.node-red/node_modules/websock et/lib/WebSocketClient.js:227:14)
at ClientRequest.emit (events.js:400:28)
at Socket.socketErrorListener (_http_client.js:475:9)
at Socket.emit (events.js:400:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
Anyone know of any work arounds to get it working ????
Kommentar