Giter Club home page Giter Club logo

Comments (6)

codmpm avatar codmpm commented on July 18, 2024

Hey,

seems to be a problem with ws-lox-api. We will have a look into this.
Could you maybe post your current nodeJS and node-red version?

Best,
Patrik

from node-red-contrib-loxone.

hoschult avatar hoschult commented on July 18, 2024

Hi Patrik,

thx. Good question... I restored the whole .node-red directory and did the upgrade once again. After this procedure, loxone connectivity came back and error disappeared. So maybe the error was triggered by an inconsistent upgrade (only guessing). In the actual setup, no problems are occurring. Versions are:

Feb 28 11:09:06 raspimain Node-RED[30706]: 28 Feb 11:09:06 - [info] Node-RED version: v2.2.2 Feb 28 11:09:06 raspimain Node-RED[30706]: 28 Feb 11:09:06 - [info] Node.js version: v12.22.6 Feb 28 11:09:06 raspimain Node-RED[30706]: 28 Feb 11:09:06 - [info] Linux 5.10.63-v7l+ arm LE Feb 28 11:09:08 raspimain Node-RED[30706]: 28 Feb 11:09:08 - [info] Loading palette nodes

Holger

from node-red-contrib-loxone.

codmpm avatar codmpm commented on July 18, 2024

Could you get me the output of node -v?

So currently everything works?

from node-red-contrib-loxone.

hoschult avatar hoschult commented on July 18, 2024

here we go:

pi@raspimain:~ $ node -v v12.22.6

Yes, currently all works fine - thx for your support!

from node-red-contrib-loxone.

codmpm avatar codmpm commented on July 18, 2024

Ok. Will have an eye on that.
Get back to me if you the problem occurs again.

from node-red-contrib-loxone.

Aledan862 avatar Aledan862 commented on July 18, 2024

Hello, I have same issue.

[14:26:28] INFO: Starting NGinx...
5 Sep 14:26:28 - [info] [loxone-miniserver:1372a7129dd04670] Miniserver connected (192.168.100.222:80) using Token-Enc
5 Sep 14:26:28 - [red] Uncaught Exception:
5 Sep 14:26:28 - [error] TypeError: Cannot read properties of undefined (reading 'uri')
    at API.<anonymous> (/config/node-red/node_modules/node-red-contrib-loxone/loxone/loxone.js:222:37)
    at API.emit (node:events:527:28)
    at Connection.<anonymous> (/config/node-red/node_modules/node-lox-ws-api/lib/API.js:119:14)
    at Connection.emit (node:events:527:28)
    at Connection.handle_message (/config/node-red/node_modules/node-lox-ws-api/lib/Connection.js:174:18)
    at WebSocketConnection.<anonymous> (/config/node-red/node_modules/node-lox-ws-api/lib/Connection.js:140:14)
    at WebSocketConnection.emit (node:events:527:28)
    at WebSocketConnection.processFrame (/config/node-red/node_modules/websocket/lib/WebSocketConnection.js:554:26)
    at /config/node-red/node_modules/websocket/lib/WebSocketConnection.js:323:40
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
[14:26:29] WARNING: Node-RED crashed, halting add-on
s6-rc: info: service legacy-services: stopping

Tried to reinstall addon, also tried to restore from backup. Nothing helped.

from node-red-contrib-loxone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.