Skip to content

Latest commit

 

History

History

miot_kettle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Universal Xiaomi Kettle

This component possibly should work with any Xiaomi or sub-brands (Mijia, Yeelight, Qingping, MiaoMiaoce etc...) devices which can boil water.

  • Xiaomi Viomi Smart Kettle Bluetooth Pro V-SK152 (V-SK152)

and others... Please let me know your device to add to this list.

You colud automaticaly get bindkey from Xiaomi Cloud by configuring xiaomi_account property in MIOT platform.

Sample configuration:

external_components:
  - source: github://dentra/esphome-components

binary_sensor:
  - platform: miot_kettle
    # String (Required), device MAC-address.
    mac_address: "$device_mac_address"
    # String, (Optional), device bind key. Will use "xiaomi_account" from "miot" if absent to automaticaly get the bindkey.
    bindkey: "$device_bindkey"
    # String, (Optional), the name of binary sensor
    name: "Kettle Water Boil Power"
    # Sensor (Optional), Temperature, °C
    temperature:
      name: "Kettle Water Boil Temperature"

Adding new device to component

Configure miot compoent and send me evets from your toothbrush.

miot:
...
  on_miot_advertise:
    then:
      lambda: |-
        ESP_LOGW("miot_event", "miid: 0x%04x, data: %s", x.id, format_hex_pretty(x.data.data(), x.data.size()).c_str());
...