Works now on Singapore server.!
Works fine here! Thanks!
Did you update the firmware recenty? There was no change at the HA component. You could enable the debug output of the component and provide some details.
No, not updated recently.
Debug log:
019-08-18 11:42:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_rgb at 0x7fa2d6057e18> with (None, 350) {}
2019-08-18 11:42:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_colortemp at 0x7fa2d6057f28> with (None, 350) {}
2019-08-18 11:42:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_brightness at 0x7fa2d6057d08> with (102, 350) {}
2019-08-18 11:42:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Setting brightness: 102
2019-08-18 11:42:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_flash at 0x7fa2d600f1e0> with (None,) {}
2019-08-18 11:42:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_effect at 0x7fa2d600f2f0> with (None,) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_rgb at 0x7fa2d6057e18> with (None, 350) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_colortemp at 0x7fa2d6057f28> with (None, 350) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_brightness at 0x7fa2d6057d08> with (None, 350) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_flash at 0x7fa2d600f1e0> with (None,) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_effect at 0x7fa2d600f2f0> with (None,) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_rgb at 0x7fa2d6057e18> with (None, 350) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_colortemp at 0x7fa2d6057f28> with (None, 350) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_brightness at 0x7fa2d6057d08> with (192, 350) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Setting brightness: 192
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_flash at 0x7fa2d600f1e0> with (None,) {}
2019-08-18 11:43:04 DEBUG (SyncWorker_1) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_effect at 0x7fa2d600f2f0> with (None,) {}
Light state:
<template state light.esszimmer=on; min_mireds=153, max_mireds=370, effect_list=['Slow Temp', 'Stop'], brightness=0, color_temp=370, friendly_name=Esszimmer, supported_features=47 @ 2019-08-18T11:43:04.157202+02:00>
Please enable the debug output of the underlying library, too:
logger:
default: warn
logs:
yeelight: debug
Did you filter the log? There should be some log messages (HA core) about processing the responses.
I didn’t filtered the log…
192.168.50.38 is the meteorite lamp.
New debug:
2019-08-18 12:20:16 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.31:55443, type=BulbType.Color> > {'id': 1, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:20:16 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.31:55443, type=BulbType.Color> < {'id': 1, 'result': ['off', '', '1', '4000', '16711680', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:20:16 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.30:55443, type=BulbType.Color> > {'id': 1, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:20:16 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.30:55443, type=BulbType.Color> < {'id': 1, 'result': ['off', '', '92', '2739', '16776960', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:20:16 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.32:55443, type=BulbType.Unknown> > {'id': 1, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 1, 'method': 'set_power', 'params': ['on', 'smooth', 350]}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 1, 'result': ['ok']}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_rgb at 0x7f40a75637b8> with (None, 350) {}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_colortemp at 0x7f40a75638c8> with (None, 350) {}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_brightness at 0x7f40a75636a8> with (13, 350) {}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Setting brightness: 13
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 2, 'method': 'set_bright', 'params': [5.098039215686274, 'smooth', 350]}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 2, 'result': ['ok']}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_flash at 0x7f40a7563ae8> with (None,) {}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_effect at 0x7f40a7563bf8> with (None,) {}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 3, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:20:17 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'method': 'props', 'params': {'bright': 5, 'active_bright': 5}}
2019-08-18 12:20:18 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 3, 'result': ['on', 'on', '5', '2702', '', '', '', '2', 'off', '1', '0', '4000', '39', '0', '100', '16711680', '0', '0']}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 4, 'method': 'set_power', 'params': ['on', 'smooth', 350]}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 4, 'result': ['ok']}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_rgb at 0x7f40a75637b8> with (None, 350) {}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_colortemp at 0x7f40a75638c8> with (None, 350) {}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_brightness at 0x7f40a75636a8> with (141, 350) {}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Setting brightness: 141
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 5, 'method': 'set_bright', 'params': [55.294117647058826, 'smooth', 350]}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 5, 'result': ['ok']}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_flash at 0x7f40a7563ae8> with (None,) {}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_effect at 0x7f40a7563bf8> with (None,) {}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 6, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:20:19 DEBUG (SyncWorker_0) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 6, 'result': ['on', 'on', '55', '2702', '', '', '', '2', 'off', '1', '0', '4000', '39', '0', '100', '16711680', '0', '0']}
2019-08-18 12:20:19 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.33:55443, type=BulbType.Color> > {'id': 1, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:20:19 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.33:55443, type=BulbType.Color> < {'id': 1, 'result': ['off', '', '58', '', '16711680', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:20:19 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.34:55443, type=BulbType.Color> > {'id': 1, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:20:20 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.34:55443, type=BulbType.Color> < {'id': 1, 'result': ['off', '', '7', '4000', '16711680', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:20:20 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.36:55443, type=BulbType.Color> > {'id': 1, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:20:20 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.36:55443, type=BulbType.Color> < {'id': 1, 'result': ['off', '', '39', '4000', '16711680', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:20:20 DEBUG (SyncWorker_2) [yeelight.main] Bulb<192.168.50.37:55443, type=BulbType.Unknown> > {'id': 1, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
Could you provide a log of turning the light on and off?
Sure:
2019-08-18 12:33:09 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.30:55443, type=BulbType.Color> > {'id': 26, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:09 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.30:55443, type=BulbType.Color> < {'id': 26, 'result': ['off', '', '92', '2739', '16776960', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:33:09 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.32:55443, type=BulbType.Unknown> > {'id': 26, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:12 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.33:55443, type=BulbType.Color> > {'id': 26, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:12 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.33:55443, type=BulbType.Color> < {'id': 26, 'result': ['off', '', '58', '', '16711680', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:33:12 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.34:55443, type=BulbType.Color> > {'id': 26, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:12 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.34:55443, type=BulbType.Color> < {'id': 26, 'result': ['off', '', '7', '4000', '16711680', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:33:12 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.36:55443, type=BulbType.Color> > {'id': 26, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:12 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.36:55443, type=BulbType.Color> < {'id': 26, 'result': ['off', '', '39', '4000', '16711680', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:33:12 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.37:55443, type=BulbType.Unknown> > {'id': 26, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:15 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 32, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:15 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 32, 'result': ['on', 'on', '55', '2702', '', '', '', '2', 'off', '1', '0', '4000', '39', '0', '100', '16711680', '0', '0']}
2019-08-18 12:33:15 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.39:55443, type=BulbType.Color> > {'id': 26, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:15 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.39:55443, type=BulbType.Color> < {'id': 26, 'result': ['off', '', '39', '3174', '16711680', '0', '100', '1', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 12:33:17 DEBUG (SyncWorker_4) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 33, 'method': 'set_power', 'params': ['off', 'smooth', 350]}
2019-08-18 12:33:17 DEBUG (SyncWorker_4) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 33, 'result': ['ok']}
2019-08-18 12:33:17 DEBUG (SyncWorker_4) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 34, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:17 DEBUG (SyncWorker_4) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'method': 'props', 'params': {'power': 'off', 'main_power': 'off'}}
2019-08-18 12:33:17 DEBUG (SyncWorker_4) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 34, 'result': ['off', 'off', '55', '2702', '', '', '', '2', 'off', '1', '0', '4000', '39', '0', '100', '16711680', '0', '0']}
2019-08-18 12:33:20 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 35, 'method': 'set_power', 'params': ['on', 'smooth', 350]}
2019-08-18 12:33:22 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 35, 'result': ['ok']}
2019-08-18 12:33:22 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_rgb at 0x7f40a75637b8> with (None, 350) {}
2019-08-18 12:33:22 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_colortemp at 0x7f40a75638c8> with (None, 350) {}
2019-08-18 12:33:22 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_brightness at 0x7f40a75636a8> with (None, 350) {}
2019-08-18 12:33:22 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_flash at 0x7f40a7563ae8> with (None,) {}
2019-08-18 12:33:22 DEBUG (SyncWorker_3) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_effect at 0x7f40a7563bf8> with (None,) {}
2019-08-18 12:33:22 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> > {'id': 36, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 12:33:22 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'method': 'props', 'params': {'power': 'on', 'main_power': 'on'}}
2019-08-18 12:33:23 DEBUG (SyncWorker_3) [yeelight.main] Bulb<192.168.50.38:55443, type=BulbType.WhiteTempMood> < {'id': 36, 'result': ['on', 'on', '55', '2702', '', '', '', '2', 'off', '1', '0', '4000', '39', '0', '100', '16711680', '0', '0']}
Next step: Please use this logger configuration:
logger:
default: warn
logs:
homeassistant.core: debug
yeelight: debug
homeassistant.components.yeelight: debug
homeassistant.components.yeelight.light: debug
The important part is homeassistant.core
. I’m looking for log messages like this:
2019-08-18 13:19:19 DEBUG (SyncWorker_13) [homeassistant.components.yeelight.light] Setting brightness: 50
2019-08-18 13:19:19 DEBUG (SyncWorker_13) [yeelight.main] Bulb<192.168.132.32:55443, type=BulbType.Color> > {'id': 3, 'method': 'set_bright', 'params': [19.607843137254903, 'smooth', 350]}
2019-08-18 13:19:19 DEBUG (SyncWorker_13) [yeelight.main] Bulb<192.168.132.32:55443, type=BulbType.Color> < {'id': 3, 'result': ['ok']}
2019-08-18 13:19:19 DEBUG (SyncWorker_13) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_flash at 0x62c4c6a8> with (None,) {}
2019-08-18 13:19:19 DEBUG (SyncWorker_13) [homeassistant.components.yeelight.light] Calling <function YeelightGenericLight.set_effect at 0x62c4c738> with (None,) {}
2019-08-18 13:19:19 DEBUG (SyncWorker_13) [yeelight.main] Bulb<192.168.132.32:55443, type=BulbType.Color> > {'id': 4, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
2019-08-18 13:19:19 DEBUG (SyncWorker_13) [yeelight.main] Bulb<192.168.132.32:55443, type=BulbType.Color> < {'id': 4, 'result': ['on', '', '19', '3802', '16711680', '359', '100', '2', '', '', '', '', '', '', '', '', '', '']}
2019-08-18 13:19:19 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1580792720] Sending {'id': 22, 'type': 'result', 'success': True, 'result': None}
2019-08-18 13:19:19 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.yeelight_color_1, old_state=<state light.yeelight_color_1=on; min_mireds=153, max_mireds=588, effect_list=['Strobe color', 'Police', 'Christmas', 'RGB', 'Random Loop', 'Fast Random Loop', 'LSD', 'Slowdown', 'Disco', 'Strobe epilepsy!', 'Alarm', 'Police2', 'WhatsApp', 'Facebook', 'Twitter', 'Slow Temp', 'Stop'], brightness=140, color_temp=263, hs_color=(26.923, 38.579), rgb_color=(255, 200, 156), xy_color=(0.433, 0.368), friendly_name=Stehlampe, supported_features=63, icon=mdi:lamp @ 2019-08-18T13:18:43.166380+02:00>, new_state=<state light.yeelight_color_1=on; min_mireds=153, max_mireds=588, effect_list=['Strobe color', 'Police', 'Christmas', 'RGB', 'Random Loop', 'Fast Random Loop', 'LSD', 'Slowdown', 'Disco', 'Strobe epilepsy!', 'Alarm', 'Police2', 'WhatsApp', 'Facebook', 'Twitter', 'Slow Temp', 'Stop'], brightness=48, color_temp=263, hs_color=(26.923, 38.579), rgb_color=(255, 200, 156), xy_color=(0.433, 0.368), friendly_name=Stehlampe, supported_features=63, icon=mdi:lamp @ 2019-08-18T13:18:43.166380+02:00>>
If I enable LAN CONTROL to control it via HA and Alexa, the ambilight parts: color, brightness and effects stop working from YEELIGHT APP. Anyone with same issue? I’m on latest firmware
If I disable lan control, all work great via APP, but I can’t control via Alexa and HA anymore…
Works fine here. What firmware version is yours on?
Latest 2.0.6 0042
Odd, I’m on 1.3.2. You are probably using a different region in the app that offers that kind of version
You need to connect to china server to get latest fw
I am on the china server
Very strange… Try using Xiaomi Home instead YEELIGHT…
Well since the new version is causing issues I guess it’s better to stay at this release
Any news to control rgb ambilight with HA in this lamp?