Yeelight-CeilingLights-yeelink-light-ceiling21-part1

 

Install  hass-miio-yeelink

https://github.com/al-one/hass-miio-yeelink

 

output

新文件:   custom_components/miio_yeelink/__init__.py
	新文件:   custom_components/miio_yeelink/config_flow.py
	新文件:   custom_components/miio_yeelink/fan.py
	新文件:   custom_components/miio_yeelink/light.py
	新文件:   custom_components/miio_yeelink/manifest.json
	新文件:   custom_components/miio_yeelink/services.yaml
	新文件:   custom_components/miio_yeelink/translations/en.json
	新文件:   custom_components/miio_yeelink/translations/pt-BR.json
	新文件:   custom_components/miio_yeelink/translations/zh-Hans.json

 

Restart ha

 

prepair ip and token

MiCloud devices info
Name: 米家客厅吸顶灯
Model: yeelink.light.ceiling21
IP: 192.168.2.112
MAC: EC:7D:3E:8B:5F:74
Token: 623f1fbb88888854d909ae3f9e0eb

 

HomeAssistant GUI


Configuration > Integration > ➕ > Miio For Yeelink

 

output

.storage/core.config_entries

{
        "entry_id": "3dd75026801069af3",
        "version": 1,
        "domain": "miio_yeelink",
        "title": "yeelink.light.ceiling21 by alone's hass-miio-yeelink",
        "data": {
          "host": "192.168.2.112",
          "token": "623f1fbbc40eb",
          "name": "yeelink.light.ceiling21 by alone's hass-miio-yeelink",
          "model": "yeelink.light.ceiling21",
          "mode": "",
          "miio_info": {
            "life": 40,
            "uid": 26,
            "model": "yeelink.light.ceiling21",
            "token": "623f1fbbc9e0eb",
            "ipflag": 1,
            "fw_ver": "2.1.7_0038",
            "miio_ver": "0.0.9",
            "hw_ver": "esp32",
            "mmfree": 28732,
            "mac": "EC:78",
            "wifi_fw_ver": "93a2ccc",
            "ap": {
              "ssid": "ChinaNet-S5S7XA",
              "bssid": "",
              "rssi": -36,
              "primary": 13
            },
            "netif": {
              "localIp": "192.168.2.112",
              "mask": "255.255.255.0",
              "gw": "192.168.2.1"
            }
          }
        },
        "options": {},
        "pref_disable_new_entities": false,
        "pref_disable_polling": false,
        "source": "user",
        "unique_id": "ec:",
        "disabled_by": null
      }

Comments


Comments are closed