Home Assistant component of Konke devices
- K1(Smart Plug K) [k1]
- K2 [k2]
- K2 Pro [k2]
- Mini K [minik]
- Mini Pro [minik]
- RGB Light [klight]
- CCT Light [kbulb]
- power strip with 4 socket and 3 usb [micmul]
- power strip with 3 socket and 4 usb [mul]
- K2 with IR module or RF module [k2]
- MiniK Pro [minik]
copy the custom_components
to your home-assistant config directory.
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:
-
name (string)(Optional)The display name of the device.
-
host (string)(Required)The host/IP address of the device.
-
device (string)(Required)Model String(string in square brackets) of equipment.
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:
-
name (string)(Optional)The display name of the device.
-
host (string)(Required)The host/IP address of the device.
-
device (string)(Required)Model String(string in square brackets) of equipment.
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:
-
name (string)(Optional)The display name of the device
-
host (string)(Required)The host/IP address of the device.
-
device (string)(Required)Model String(string in square brackets) of equipment.
-
hidden (bool)(Optional, default true)Whether to hide the equipment in the dashboard.
-
type (string)(Required)Remote control type: ir or rf