Giter Site home page Giter Site logo

Comments (10)

Supergiovane avatar Supergiovane commented on June 15, 2024

Hello songzh,
will take a look but it seems, that your PC loses the ethernet connection with your interface.
Seems you're using a KNX IP Interface. The KNX IP interface lost connection essentially when

  1. you've too many connection to the tunnel
  2. you got a problem on the ethernet interface, for example lost IP packets.
    If your node is continuing to work properly, then you can simply don't care about it, because the node will auto-reconnect and this process is transparent for you.
    Let me know, instead, if you experience losing of communication.
    For example, when you see this log, try to switch on and off a light using node-red "inject" node and let me know it the light turns off and on or not.
    Thanks

from node-red-contrib-knx-ultimate.

Supergiovane avatar Supergiovane commented on June 15, 2024

PS: THANK YOU FOR THE PAYPAL DONATION !!!!!!

from node-red-contrib-knx-ultimate.

songzh96 avatar songzh96 commented on June 15, 2024

PS: THANK YOU FOR THE PAYPAL DONATION !!!!!!

This is nothing, in addition, thank you very much for writing the plugin.

Yes, I probably connected 223 nodes, I tried to send a message to the red node, it worked.

Is there any way to avoid connection loss?

Is this bug a problem with my gateway issue or KNX.js plugin?

BEST REGARDS
songzh

from node-red-contrib-knx-ultimate.

Supergiovane avatar Supergiovane commented on June 15, 2024

Hello songzh,
that's an isue with the IP Interfaces in general, not only with yours.
The KNX IP Interfaces acts different than an KNX IP Router (routers costs more than interfaces).
To be able to communicate to an IP Interface, the KNX stack must open an unicast connection, mimic the TCP communication (connect to ip interface, get an ID, then use this ID for subsequent communications).
Routers works differently, using a single multicast IP, that differs from the IP you set in the interface (in your example, 192.168.30.3).
An IP interface can accept a maximum fixed number of simultaneous connection.
In case, for example, node-red is running and you open ETS as well, the tunnel will saturate and begins discard the LAN packets.
With Router, you don't have any limitation on how many connection you have.
What IP Interface are you using?

from node-red-contrib-knx-ultimate.

songzh96 avatar songzh96 commented on June 15, 2024

I have 2 knx-ip,one is made in china,another is knx-ip-baos-777.
now I connect knx-Ultimate to a gateway separately using a tunneling.
It will also report the error.

my hadware is raspberry.

from node-red-contrib-knx-ultimate.

songzh96 avatar songzh96 commented on June 15, 2024

knx-Ultimate connect to knx-ip-baos-777. the knx-gateway only one connect.

from node-red-contrib-knx-ultimate.

Supergiovane avatar Supergiovane commented on June 15, 2024

I'm trying yet to reproduce your issue, i've an Enertex IP Interface up and running for you.
Until now, no disconnections.
I noticed you have "Bind to local interface" set to a specific ethernet. I suppose your raspberry does have 1 ethernet + 1 Wifi.
Does Ethernet and Wifi card have the same subnet? In your case, 192.168.30.xxxxx ?
If yes, you can try to change one or another. I've the fear, that the Raspberry does have problems handling both interfaces, if both are on the same subnet.

from node-red-contrib-knx-ultimate.

songzh96 avatar songzh96 commented on June 15, 2024

my raspberry eth0:192.168.30.6 wifi:192.168.31.248

from node-red-contrib-knx-ultimate.

Supergiovane avatar Supergiovane commented on June 15, 2024

So no problem with subnets.
Currently my test machine is running without issue.
Do you have some Video over IP streaming devices on the same LAN switch of the raspberry, or do you have some devices making high traffic, for example, IP Security camera?

It seems that some packets are lost.
E_CONNSTATE_LOST is not a critical error, is more a warning and practically you don't lost the connection to the IP Interface.
You have a problem in your lan anyway and it's better to solve this problem, because it can influence other stuffs.
Before 1.1.8, the node was set to log only critical errors. With 1.1.8, it logs any type of error.
If this is annoying for you, i can disable the non critical log.

from node-red-contrib-knx-ultimate.

songzh96 avatar songzh96 commented on June 15, 2024

So no problem with subnets.
Currently my test machine is running without issue.
Do you have some Video over IP streaming devices on the same LAN switch of the raspberry, or do you have some devices making high traffic, for example, IP Security camera?

It seems that some packets are lost.
E_CONNSTATE_LOST is not a critical error, is more a warning and practically you don't lost the connection to the IP Interface.
You have a problem in your lan anyway and it's better to solve this problem, because it can influence other stuffs.
Before 1.1.8, the node was set to log only critical errors. With 1.1.8, it logs any type of error.
If this is annoying for you, i can disable the non critical log.

I just tested it with a separate network. It is normal and I have not reported an error. It should be a network problem on my side. My monitoring equipment is in lan 192.168.10.x, I am not too clear about the network configuration, because it is a professional configuration.

Thank you for your answer.

Also, are you interested in developing some knx plugins, just like your current plugin. I am a system integrator. I am also looking at the underlying protocol of knx and trying to develop a knx gateway. If you are interested, feel free to contact me. My contact information: [email protected], or [email protected].

BEST REGARDS
songzh

from node-red-contrib-knx-ultimate.

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.