Git Product home page Git Product logo

node-red-contrib-eibd's People

Contributors

ekarak avatar mwallnoefer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

node-red-contrib-eibd's Issues

no end method for Parser?

Hi there!

Thanks so much for putting this together - it looks lots of fun!
I am trying to configure a simple "light on" function and I am having issues writing to knx..

I have set up a simple injector with a string payload with the following payload
{ "dstgad": "1/4/10", "dpt": "DPT1", "value": 1 }
topic: write

linked to a knx out node configured to localhost:6720

But every time I run the injection the server drops off with the following error...

12 May 19:56:22 - [info] Started flows
eibdout.onInput, msg={"topic":"write","payload":"{ "dstgad": "1/4/10", "dpt": "DPT1", "value": 1 }","_msgid":"38f413a4.c70bec"}
groupAddrWrite dstgad:1/4/10, value:1, dpt:DPT1

Hit the button and ....

EIBD: successfully connected to localhost:6720
formatAPDU value=1 dpt="DPT1"
sendAPDU: "[0,128,1]"
12 May 19:56:45 - [red] Uncaught Exception:
12 May 19:56:45 - TypeError: Object # has no method 'end'
at Connection.end (/usr/lib/node_modules/node-red-contrib-eibd/node_modules/eibd/lib/connection.js:57:17)
at /usr/lib/node_modules/node-red-contrib-eibd/node_modules/eibd/lib/connection.js:141:10
at afterWrite (_stream_writable.js:278:3)
at _stream_writable.js:267:9
at process._tickCallback (node.js:448:13)

Any ideas?

Thanks

Mark

read group address

Is the function to read the state of a group address working?
If i inject the following :
{"dstgad":"8/1/3"}

With topic "read" it does not work. It actually writes a 0 to that address.
So if i'm reading the status of a light that is ON, it sends the status to 0 even though the light is on.

Or am i using the read function wrong?

Data type & Write issues

Thanks for this a real step forward
Initial testing with Weinzierl gateway Tunneling.
Will try a GIRA gateway

// Reading

  1. Doesn't recognize DTP type
    { "srcphy": "1.1.2", "dstgad": "10/1/6", "dpt": "no_dpt", "value": "56", "type": "event" }
  2. Doesn't display DTP5 temperatures

// Wirte
3. Testing with example or existing group addresses
{ "topic": "knx: write", "payload": { "srcphy": "1.1.100", "dstgad": "5/0/2", "dpt": "DPT1", "value": 0 } }
I get Unsupported dpt[DPT1] inside groupAddrSend of knx node

// General
The read doesn't re-connect if KNX Gateway goes Off then Online.

Thanks again
Lawrence

Possibility to send single consolidated string?

Hello,
Your eibd node is functioning great! Thank you very much for creating it!

I was wondering if it was possible to create a single consolidated JSON string to send multiple values to eibd.
Now i am injecting several values from different functions separately to the eibd node. Having everything consolidated before sending to eibd would make my flow a bit cleaner and lessen the load on eibd i believe.

Thx in advance.

After a few re-deploys I get multiple messages per datagram

I noticed that after running node-red for a while, and doing a couple of re-deploys I start getting multiple messages from the EIBD node for each datagram. If I restart node-red completely, it gets back to normal.

Is this a known problem?

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.