New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

knx.js

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knx.js

Based on https://github.com/lifeemotions/knx.net

  • 0.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26
decreased by-39.53%
Maintainers
1
Weekly downloads
 
Created
Source

Based on https://github.com/lifeemotions/knx.net

Right now it not tested in all directions, but KnxConnectionTunneling is working. One can find Usage example, it tested with KNXnet/IP router: ABB IPR/S 2.1.

#Usage

var KnxConnectionTunneling = require('knx.js').KnxConnectionTunneling;
var connection = new KnxConnectionTunneling('192.168.2.222', 3671, '192.168.2.107', 13671);

var lightValue = false;
function toggleLight() {
    lightValue = !lightValue;
    connection.Action("1/0/0", lightValue);
}

connection.Connect(function () {
    setTimeout(toggleLight, 2000);
    setTimeout(toggleLight, 5000);
    setTimeout(function () {
        connection.Disconnect();
    }, 7000);
});



License

Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)

Keywords

FAQs

Package last updated on 21 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc