Konke K1(Smart Plug K) integration config

Hi all, I am configurig a Konke K1 Smart Plug. I was reading that to integrate in home assistant I need to add in the HA config folder a folder named custom_components with more folders inside for each Konke device, swtick light etc.

I have added this folder and also added in configuration.yaml code below as described in the git information.


image

When I try to validate the system config in order to restar I have the error:
Platform error switch.konke - Integration ‘konke’ not found.

If someone can give me a hint to solve it it’s really appreciated :slight_smile:
Thanks in advance to all.

I just set this up myself after getting a deal on some compatible elf smart plugs on newegg.

The error you see happens because the custom component has not loaded yet. So, while the error is correct, you should be safe to restart homeassistant. Upon restart, the konke custom component should load. It works fine for me.

Thanks so much for your response! I haven’t good luck. Same issue for me.
Look, I attach photo for you… anyway I think I will not use this device :frowning:


I update my homeassitant to HASSIO today and found my konke switch is not working in
latest HASSIO.
So I checked the change log and found:

Custom integrations (custom_components)
As mentioned in every release since 2021.3, custom integrations will require a version key in their manifest file.
As of this release, if that version key is missing in the manifest, the custom integration will no longer be loaded.

2021-06-04_002147
So the only thing need to do is open manifest.json
and add a version row (“version”: “1.0”,)
And …boom ! It works!

2 Likes

I know this is an old blog but hopefully someone still using Konke (smart plugs ie minik) has this working and can assist. Ive had 6 of these plugs sitting around & decided to try integrate them into HA. as mentioned above regarding manifest file, I downloaded the integration & noticed there isnt a manifest.json file included (perhaps my error) so I created one as per above (aside from changing “name: minik” in line two. Added the following to configuration file but still not finding the device in HA (after restart) anybody able to help?
Konke Smart Plugs - integration attempt

Ref: GitHub - jedmeng/homeassistant-konke

switch:

  • platform: konke
    name: Plug_konke_#1
    model: minik
    host: 192.168.1.211
    hidden: false

My Mini K plugs are working great. Things to check;

  1. You have access to the switch and can turn it on and off in the native konke app.
  2. The ip address of the switch is manually assigned/reserved in your router (generally by the mac address, which you can find on the konke app)
  3. The name assigned to the plug in the konke app is the same as the name in the HA switch config. (Plug_konke_#1 in your example)
  4. The github ref: you posted is out of date. Try using the one from the HACS store. GitHub - 5high/konke: 控客小K 接入Home Assistant,支持最新版本HA 目前最新版本(0.103),相信未来的版本也可以支持。

Hope this helps.

1 Like

Thanks greatly appreciate your reply and guidance. I’ll check all. The out-of-date GitHub was (hopefully) what was my biggest issue.

Working now :slight_smile: again thanks!!

1 Like