Giter Club home page Giter Club logo

Comments (12)

pakerfeldt avatar pakerfeldt commented on August 17, 2024

I just removed all the KNX Controllers and nodes from my node-red flow and deployed. But it still tries to talk with my KNX interface...

from node-red-contrib-knx.

aborovsky avatar aborovsky commented on August 17, 2024

Second comment is separate bug, i've created it: #7

from node-red-contrib-knx.

aborovsky avatar aborovsky commented on August 17, 2024

About first issue (the main) it loosing connection to KNX gateway which one is working well?
Each time, after few seconds?

from node-red-contrib-knx.

pakerfeldt avatar pakerfeldt commented on August 17, 2024

I know, it's the kind of issue that's horrible to try to re-produce.
Actually I think I have three issues. Let me try to phrase them all:

  1. #7 - You seem to be on it.
  2. I only see one certain datagrams coming through to node-red.
  3. It claims to lose connection, even though it still receives (some) datagrams. This happens pretty quick, usually 5-10 seconds after connection was established. After that, it reconnects and now I start getting two messages for each incoming datagram. Seems to be two KNX connections.

I have tried with a EIBMarkt KNX/IP Router interface and the BAB Technologie Eibport.

When I have some more time I can try to write a real simple node app which uses the KNX.js to just listen to incoming messages to try to pin point where the issue is. It feels some of the issues is more related to that library than the node-red plugin itself.

from node-red-contrib-knx.

aborovsky avatar aborovsky commented on August 17, 2024

About third trouble: when you able to reproduce, please check: how many KNX
controller nodes do you have if one take a look at configuration tab in
Node-RED UI?
Ср, 11 мая 2016 г. в 12:30, Patrik Åkerfeldt [email protected]:

I know, it's the kind of issue that's horrible to try to re-produce.
Actually I think I have three issues. Let me try to phrase them all:

  1. #7 #7 -
    You seem to be on it.
  2. I only see one certain datagrams coming through to node-red.
  3. It claims to lose connection, even though it still receives (some)
    datagrams. This happens pretty quick, usually 5-10 seconds after connection
    was established. After that, it reconnects and now I start getting two
    messages for each incoming datagram. Seems to be two KNX connections.

I have tried with a EIBMarkt KNX/IP Router interface and the BAB
Technologie Eibport.

When I have some more time I can try to write a real simple node app which
uses the KNX.js to just listen to incoming messages to try to pin point
where the issue is. It feels some of the issues is more related to that
library than the node-red plugin itself.


You are receiving this because you commented.

Reply to this email directly or view it on GitHub
#6 (comment)

[image: BeeToo] http://beetoo.me/
Когда умный дом по-настоящему умный
Александр Боровский, Технический директор
Alexander Borovsky, CTO, Co-Founder
+7-926-0-945-00 <+7926094500>
+7-499-391-33-62
<+74993913362>[email protected]
http://beetoo.me

from node-red-contrib-knx.

Oggerschummer avatar Oggerschummer commented on August 17, 2024

Just want to add that I face a similar problem.
My knx node (input) stops working after some (yet undefined) time, it claims that it is no longer connected. Somehow it looks as if it is not properly reconnecting in case the connection goes down.
I´ve set up a doorbell with it (knx binary input to mqtt and local audio player), but currently it is not working as the connection is not reliable.

Everything is running on a Raspberry PI3 (like a charm, except the knx node).
I see a single (global) configuration node in node RED.

My Interface is a Weinzierl 730

If I change the knx-controller node, redeploy, change it back and redeploy again it immediately reconnects and works like a charm.

Hope this helps to narrow it down somehow.

from node-red-contrib-knx.

ykornilov avatar ykornilov commented on August 17, 2024

Hi, Tom!
Thank you for your description of the problem.
We will carry out testing in the office at the gateway BAOS 771

2016-05-25 17:35 GMT+03:00 Tom [email protected]:

Just want to add that I face a similar problem.
My knx node (input) stops working after some (yet undefined) time, it
claims that it is no longer connected. Somehow it looks as if it is not
properly reconnecting in case the connection goes down.
I´ve set up a doorbell with it (knx binary input to mqtt and local audio
player), but currently it is not working as the connection is not reliable.

Everything is running on a Raspberry PI3 (like a charm, except the knx
node).
I see a single (global) configuration node in node RED.

My Interface is a Weinzierl 730
http://www.weinzierl.de/index.php/de/alles-knx1/knx-devices/knx-ip-interface-730

If I change the knx-controller node, redeploy, change it back and redeploy
again it immediately reconnects and works like a charm.

Hope this helps to narrow it down somehow.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#6 (comment)

from node-red-contrib-knx.

fprisse avatar fprisse commented on August 17, 2024

I am encountering exact same problems, running the iothing image on raspberry and using an ABB IP interface IPS/S 2.1

looking forward to further developments

KR Florent Prisse

from node-red-contrib-knx.

aborovsky avatar aborovsky commented on August 17, 2024

Guys, may I ask you to help us to reveal the problem?

We need debug output when the problem occurs.

How to turn on the debug?

Go to your node_modules dir (local or global, depend on how did you install node-red-contrib-knx).
And try to find knx.js package.

If you've installed it locally, node_modules placed in the node-red's directory:

/bla/bla/node-red/node_modules/knx.js

If you've installed it globally: node_modules placed under the user home directory:
~/.npm/node_modules/knx.js

or in linux libs directory:
/usr/local/lib/node_modules/knx.js
or:
/usr/lib/node_modules/knx.js

Inside of knx.js, edit file 'knx.js/src/KnxConnection.js'.
Find function KnxConnection, add to line 42:

this.debug = true;

Run node-red to collect the log

Then restart your node-red writing to the log file:
$ node-red > knxjs_debug.log

from node-red-contrib-knx.

fprisse avatar fprisse commented on August 17, 2024

Deze Alexander, thank you for your prompt reply!

I Will do as asked as soon as i home again, this weekend.

Looking forward to making this work KR

Met grote groet,

Florent Prisse
+31 6 2506 8802

On 1 jun. 2016, at 21:47, Alexander Borovsky [email protected] wrote:

Guys, may I ask you to help us to reveal the problem?

We need debug output when the problem occurs.

How to turn on the debug?

Go to your node_modules dir (local or global, depend on how did you install node-red-contrib-knx).
And try to find knx.js package.

If you've installed it locally, node_modules placed in the node-red's directory:

/bla/bla/node-red/node_modules/knx.js

If you've installed it globally: node_modules placed under the user home directory:
~/.npm/node_modules/knx.js

or in linux libs directory:
/usr/local/lib/node_modules/knx.js
or:
/usr/lib/node_modules/knx.js

Inside of knx.js, edit file 'knx.js/src/KnxConnection.js'.
Find function KnxConnection, add to line 42:

this.debug = true;

Run node-red to collect the log

Then restart your node-red writing to the log file:
$ node-red > knxjs_debug.log


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from node-red-contrib-knx.

ykornilov avatar ykornilov commented on August 17, 2024

Closed with 873debc

from node-red-contrib-knx.

jo3ran avatar jo3ran commented on August 17, 2024

Hi guys,

thank you very much for your cool node to connect to KNX.
Unfortunately I'm still encountering the described error, using a ABS IPS/S3.1.1 interface: KNX connection disconnects at a non-reproducable moment in time. If I redploy (by simply moving a node in the NR ui) the connection is up again.
I've also added a node that performs a cyclic 'read' to keep the connection open, which didn't help at all.

Would you still prefer me to debug in the described fashion:

Guys, may I ask you to help us to reveal the problem?

We need debug output when the problem occurs.

How to turn on the debug?

Go to your node_modules dir (local or global, depend on how did you install node-red-contrib-knx).
And try to find knx.js package.

If you've installed it locally, node_modules placed in the node-red's directory:

/bla/bla/node-red/node_modules/knx.js

If you've installed it globally: node_modules placed under the user home directory:
~/.npm/node_modules/knx.js

or in linux libs directory:
/usr/local/lib/node_modules/knx.js
or:
/usr/lib/node_modules/knx.js

Inside of knx.js, edit file 'knx.js/src/KnxConnection.js'.
Find function KnxConnection, add to line 42:

this.debug = true;

Run node-red to collect the log

Then restart your node-red writing to the log file:
$ node-red > knxjs_debug.log

Thank you

from node-red-contrib-knx.

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.