Skip to content

Monkeystation/homebridge-klikaan-klikuit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Homebridge KlikAan-KlikUit plugin

This is a plugin for Homebridge to allow controlling your KlikAan-KlikUit outlets. This plugin is meant to run on Raspberry Pi's (or boards with a similar GPIO setup).

You'll need an external executable (kaku) that will take three arguments: address (A-Z), device number (1-4) and state (on/off).

My own setup is based on this blogpost.

Installation

$ npm i robertklep/homebridge-klikaan-klikuit -g

Homebridge plugins need to be installed globally, so the -g is mandatory.

Configuration

First, you need a working Homebridge installation.

Once you have that working, edit ~/.homebridge/config.json and add a new accessory:

"accessories": [
    ...
    {
        "accessory" : "KaKu",
        "name"      : "licht woonkamer",
        "pin"       : 11,
        "address"   : "A",
        "device"    : "1",
        "service"   : "Lightbulb"
    },
    {
        "accessory" : "KaKu",
        "name"      : "licht keuken",
        "pin"       : 11,
        "address"   : "A",
        "device"    : "2",
    }
]

pin is the physical GPIO pin that the 433Mhz transmitter is connected to.

About

Homebridge plugin for KlikAan-KlikUit outlets

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%