GithubHelp home page GithubHelp logo

tuxedo0801 / slicknx Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 211 KB

Simplified KNX API, mirror of gitlab-hosted project

Home Page: https://gitlab.com/tuxedo0801/slicKnx

License: GNU General Public License v3.0

Java 100.00%

slicknx's Introduction

slicKnx

Simplified KNX API, based on Calimero 2.4-RC1

Sample:

Knx knx = new Knx("1.1.254");      
knx.addGroupAddressListener("1/1/15", new GroupAddressListener() {

    @Override
    public void readRequest(GroupAddressEvent event) {
    }

    @Override
    public void readResponse(GroupAddressEvent event) {
    }

    @Override
    public void write(GroupAddressEvent event) {
        try {
            System.out.println("Received update for 1/1/15: "+event.asBool());
        } catch (KnxFormatException ex) {
            ex.printStackTrace();
        }
    }
});
knx.writeBoolean("1/1/15", true);

Maven POM configuration:

<dependencies>
    ...
    <dependency>
        <groupId>de.root1</groupId>
        <artifactId>slicknx</artifactId>
        <version>2.0.0-SNAPSHOT</version>
    </dependency>
</dependencies>

<repositories>
    ...
    <repositories>
        <repository>
            <id>root1-releases</id>
            <url>http://maven.root1.de/repository/releases/</url>
        </repository>
        <repository>
            <id>root1-snapshots</id>
            <url>http://maven.root1.de/repository/snapshots/</url>
        </repository>
    </repositories>
</repositories>

slicknx's People

Contributors

alexanderchristian-ibsolution avatar tuxedo0801 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

belmondo2001

slicknx's Issues

Hello author, I have some questions for you

I am a junior programmer in China, and now I am working on a project on the Internet of Things, and I urgently need an API that can control KNX devices. I found it in the process of looking for open source projects, but there is no document to guide me on how to operate or read devices. Could you help me write an API interface document? I'd appreciate it if you could help me.

The above words are machine translation,Please forgive me if there is something wrong.

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.