Home Assistant component of Konke devices
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