Code Monkey home page Code Monkey logo

connector-433's Introduction

connector-433

General 433 connector to use the 433 protocol for a variety of devices

Installation

Here will be the installation guide for the hardware.

Configuration

Some parameters you can configure;

    var connector433 = PiStationConnector('connector-433');
    connector433.setConfiguration({
        repeat: 2, //How many times to repeat the message. Increase this is messages do not seem to arrive every time. 2 or 3 should do.
        pinout: 15 //The GPIO pin to be used by WiringPi. 15 is the default - read the "installation" section down below.
    });

Connector endpoints

Kaku support

This module exports several functions to use the KaKu (KlikAanKlikUit) protocol.

enableKaku

    connector.enableKaku(
        int address,
        int unit,
        function callback
    );

    //Example:
    connector.enableKaku(20, 10, function() {console.log('Enabled unit 10 on address 20')});

disableKaku

    connector.disableKaku(
        int address,
        int unit,
        function callback
    );

    //Example:
    connector.disableKaku(20, 10, function() {console.log('Disabled unit 10 on address 20')});

dimKaku

    connector.dimKaku(
        int address,
        int unit,
        int dimminglevel, //0 to 15
        function callback
    );

    //Example:
    connector.disableKaku(20, 10, 6, function() {console.log('Dimmed unit 10 on address 20 to level 6')});

connector-433's People

Contributors

robquistnl avatar rvanmarkus avatar

Watchers

Floris Groenendijk avatar

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.