esphome-components
esphome-components copied to clipboard
Config bindkey rather than providing Mi account for miot_cwbs01
First thanks for these wonderful integrations, especially these on the MIOT platform, they enable the possibility of controlling IoT devices.
I have recently bought a CWBS-01 and am using your component, may I know if it's possible to config bindkey
for this component, rather than providing xiaomi_account
? I've tried this config (like miot_ylkg0xyl):
binary_sensor:
- platform: miot_cwbs01
ble_client_id: ble_client_deodorizer
bindkey: "$device_bindkey"
But no matther I use BLE KEY
or TOKEN
, which are from Xiaomi-cloud-tokens-extractor, I always get errors:
[20:45:59][W][miot_standard_auth_client:212]: Fail compare
...
[20:45:59][W][miot_standard_auth_client:069]: Failed login: 0x0023
I guess it's because the key is not accepted? Thanks in advance!