This will grow to a KNX library for talking to the KNX bus via KNXnet/IP without dependency to an additional eibd or knxd service running.
Do not use in production yet, this is still in development! Help is always welcome.
For now, see src/examples/busmonitor.ts
as starting point.
- fully implemented in typescript to be used directly in typescript projects
- implemented wherever applicable as defined in the latest KNX Specifications (at the time of writing 2.1 from 2013) of KNX Association.
- Connection Support
- Tunnel connection
- as client
- auto discovery with search request over multicast
- as server (knx ip router)
- as client
- Router connection
- as client
- as server (knx ip router)
- Tunnel connection
- Additional functions
- support for handling DPT conversion
- support to import knx project GA's for automatically convert to the correct DPT
- support for optional caching layer to save last seen values by group addresses.
- support for handling DPT conversion
- testable with test's
- implement
UdpSocket
based on chrome.sockets.udp for support to run in the browser
- testing
- classes
-
UdpSocket
-
IPHelper
-
KnxProtocol
-
KnxConnection
-
KnxTunnelConnection
-
KnxRouterConnection
-
- implement tests (should work without hardware by talking to itself and hard coded frames)
-
- classes
-
KNXProtocol
improve parsing of packages (try rx implementation) - implement example main app function as busmonitor
- still requires DPT handling
- aside to the library, direct usable command line script to write or read to the KNX GA's
knxlib is licensed under the MIT license.