Comments (12)
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.
Second comment is separate bug, i've created it: #7
from node-red-contrib-knx.
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.
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:
- #7 - You seem to be on it.
- I only see one certain datagrams coming through to node-red.
- 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.
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:
- #7 #7 -
You seem to be on it.- I only see one certain datagrams coming through to node-red.
- 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.
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.
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-730If 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.
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.
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.
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.
Closed with 873debc
from node-red-contrib-knx.
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 installnode-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 functionKnxConnection
, 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)
- Connectiong both nodes at the same time HOT 1
- Unable to write group address HOT 13
- Can't make a DPT 5 or 5.001 work HOT 4
- Why is the DPT value of a received telegram always "no_dpt"? HOT 2
- Example "dpt":"DPT1" in function incorrect - Gira1310 HOT 1
- Can't send and recieve simultaneously HOT 5
- Group Address with main above 15 not supported HOT 6
- DPT HOT 2
- Update switch status HOT 3
- Not supported DPT 16 and DPT 10 HOT 6
- write knx out based on a knx entry? HOT 1
- node type unknown HOT 4
- Error: error calling groupAddrSend: TypeError [ERR_INVALID_ARG_TYPE] when update to nodejs 11.6.0 HOT 1
- Wrong value conversion on dpt 5.001 HOT 2
- No matching version found at install HOT 5
- ERR_SOCKET_DGRAM_NOT_RUNNING
- [Feature request] Add an option for avoid logs debug level
- Stop reconnect logic on undeploy
- error calling groupAddrSend: TypeError: Object has no method 'writeIntLE' HOT 9
- Error when calling knx-out node HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-knx.