npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-knx-easy

v0.3.3

Published

Use knx in node-red, just like the mqtt nodes

Downloads

120

Readme

node-red-contrib-knx-easy

Simple Node-RED nodes for knx. The input and output nodes is used in a similar way as the built in mqtt nodes.

Input and output node

Input node

Set Group-address and DPT in node config to subscribe to all messages with that destination and msg.payload will contain the value you want.

Listen to values written to address 1/1/1:

Input and output node

You can also suscribe to GroupValue response and GroupValue read events, this way you can create your own response and send it back to the bus with a knxEasy-out node.

If you need more than the value, extended information is available in the message outputted:

msg = 
    { "topic": "1/1/1"
    , "payload": 0
    , "knx": 
        { "event": "GroupValue_Write"
        , "dpt":"1.001"
        , "dptDetails": 
            { "name": "DPT_Switch"
            ,"desc": "switch"
            ,"use":"G"
            }
        , "source":"2.2.2"
        , "destination": "1/1/1"
        , "rawValue":[0]
        }
    }                        

(Read events will have payload and knx.rawValue of null)

Output node

Set up group address and select DPT in node configuration. Send your values using msg.payload This makes it simple to connect the output node directly to a slider or a switch. Input and output node

Output mode can be set to "Response" if you want to use a input-node to listen for readRequests and make your own responses to the knx bus.

Inputs

payload

Value to transmit

knx

The following parameters can be sent to override what is configured for the node:

{ "knx": { 
    "event": "GroupValue_Write",
     "dpt":"1.001",
     "destination": "1/1/1"
    }
}

(DPTs can be sent as 9 , "9" , "9.001" or "DPT9.001")

Example: If you only want to override destination you would send only that, eventType and dpt will be taken from node config:

{ "knx": { 
     "destination": "1/1/1"
    }
}