Silvest89 / yeelight_v2

13 stars 1 forks source link

Unable to discover a device at address #15

Open mppilat opened 2 years ago

mppilat commented 2 years ago

After Haas Core and system update my yeelight_v2 custom integration no longer discovers one of my lamps. I did not change anything in configuration

Now lamp is automatically detected by default yeelight integration, can be added and controlled. Howevert default integration lacks means to enable nightlight, which was possible in yeelight_v2

2021-11-12 14:17:20 DEBUG (SyncWorker_5) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True
2021-11-12 14:17:20 DEBUG (SyncWorker_5) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<192.168.1.100:55443, type=BulbType.Unknown> > get_prop > ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']
2021-11-12 14:17:25 DEBUG (SyncWorker_5) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] Unable to discover a device at address 192.168.1.100
yeelight_v2:
  devices:
    192.168.1.122:
      name: Yeelight 480
      model: ceiling3
      save_on_change: true
      nightlight_switch_type: light
      ssdp_fallback: True
      miio_token: "xxxxxxxxxxxxxxxxxx"
    192.168.1.100:
      name: Yeelight meteorite
      model: ceiling10
      save_on_change: true
      nightlight_switch_type: light
      ssdp_fallback: True
      miio_token: "xxxxxxxxxxxxxxxxxx"
    192.168.1.104:
      name: Big Yeelight
      model: ceiling4
      save_on_change: true
      nightlight_switch_type: light
      ssdp_fallback: True
      miio_token: "xxxxxxxxxxxxxxxxxxx"

Device at 192.168.1.100 cannot be discovered, but MiHome and Yeelight app do it without problems. IP is correct, token is also correct.