jedmeng / homeassistant-konke

Apache License 2.0
36 stars 18 forks source link

Home Assistant component of Konke devices

Supported Devices

switch

light

power strip

remote

Install

copy the custom_components to your home-assistant config directory.

config

switch and poer strip

Add the following to your configuration.yaml file:

switch:
  - platform: konke
    name: switch_1
    model: k2
    host: 192.168.0.101
  - platform: konke
    name: switch_2
    model: minik
    host: 192.168.0.102
  - platform: konke
    name: power strip
    model: mic
    host: 192.168.0.111

CONFIGURATION VARIABLES:

light

Add the following to your configuration.yaml file:

light:
  - platform: konke
    name: bedroom light
    model: klight
    host: 192.168.0.121
  - platform: konke
    name: kitchen light
    model: kbulb
    host: 192.168.0.122

CONFIGURATION VARIABLES:

remote

Add the following to your configuration.yaml file:

remote:
  - platform: konke
    name: rf remote
    model: k2
    host: 192.168.0.101
    hidden: true
    type: rf
  - platform: konke
    name: ir remote 
    model: minik
    host: 192.168.0.102
    hidden: false
    type: ir

CONFIGURATION VARIABLES: