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 could automatically get bindkey from Xiaomi Cloud by configuring
xiaomi_accountproperty in MIOT platform.
Sample configuration:
external_components:
- source: github://dentra/esphome-components
binary_sensor:
- platform: miot_kettle
# String (Required), device MAC-address.
mac_address: !secret device_mac_address
# String, (Optional), device bind key. Will use "xiaomi_account" from "miot" if absent to automatically get the bindkey.
bindkey: !secret device_bind_key
# String, (Optional), the name of binary sensor
name: Kettle Water Boil Power
# Sensor (Optional), Temperature, °C
temperature:
name: Kettle Water Boil TemperatureConfigure miot component and send me events 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());
...