Silvest89 / yeelight_v2

13 stars 1 forks source link

1S Bulbs (color4) Timing Out #1

Open selsoh opened 3 years ago

selsoh commented 3 years ago

Both bulbs are on a separate VLAN from my HA server and don't have internet access.

I did

git clone --recursive git@github.com:Silvest89/yeelight_v2.git

inside the custom_components folder

added these to my configuration.yaml

yeelight_v2:
  devices:
    10.50.0.30:
      name: Bed
    10.50.0.31:
      name: Desk

logger:
  default: critical
  logs:
    custom_components.yeelight_v2: debug
    custom_components.yeelight_v2.python_yeelight.yeelight.main: debug

then restarted HA

they show up but time out after a few minutes or after I interact with them

2021-01-18 09:04:13 DEBUG (SyncWorker_2) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.30:55443, type=-1> > {'id': 3, 'method': 'get_prop', 'params': ['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-01-18 09:04:13 DEBUG (SyncWorker_3) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.31:55443, type=-1> > {'id': 3, 'method': 'get_prop', 'params': ['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-01-18 09:04:14 DEBUG (SyncWorker_2) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.30:55443, type=1> < {'id': 3, 'result': ['on', '', '100', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']}
2021-01-18 09:04:14 DEBUG (SyncWorker_3) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.31:55443, type=-1> < {'id': 3, 'result': ['on', '', '100', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']}
2021-01-18 09:04:14 DEBUG (SyncWorker_2) [custom_components.yeelight_v2] Device 10.50.0.30, Bed capabilities: {'id': '0x00000000124c9db9', 'model': 'color4', 'fw_ver': '31', 'support': 'get_prop set_default set_power toggle set_bright set_scene cron_add cron_get cron_del start_cf stop_cf set_ct_abx adjust_ct set_name set_adjust adjust_bright adjust_color set_rgb set_hsv set_music udp_new udp_keep_alive chroma', 'power': 'on', 'bright': '100', 'color_mode': '2', 'ct': '4000', 'rgb': '16711680', 'hue': '359', 'sat': '100', 'name': ''}
2021-01-18 09:04:14 DEBUG (SyncWorker_3) [custom_components.yeelight_v2] Device 10.50.0.31, Desk capabilities: {'id': '0x00000000124d906a', 'model': 'color4', 'fw_ver': '31', 'support': 'get_prop set_default set_power toggle set_bright set_scene cron_add cron_get cron_del start_cf stop_cf set_ct_abx adjust_ct set_name set_adjust adjust_bright adjust_color set_rgb set_hsv set_music udp_new udp_keep_alive chroma', 'power': 'on', 'bright': '100', 'color_mode': '2', 'ct': '4000', 'rgb': '16711680', 'hue': '359', 'sat': '100', 'name': ''}
2021-01-18 09:04:14 DEBUG (MainThread) [custom_components.yeelight_v2.light] Adding Bed
2021-01-18 09:04:14 DEBUG (MainThread) [custom_components.yeelight_v2.light] Adding Desk
2021-01-18 09:04:43 DEBUG (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.30:55443, type=1> > {'id': 4, 'method': 'get_prop', 'params': ['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-01-18 09:04:43 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.31:55443, type=1> > {'id': 4, 'method': 'get_prop', 'params': ['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-01-18 09:04:44 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.31:55443, type=1> < {'id': 4, 'result': ['on', '', '100', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']}
2021-01-18 09:04:44 DEBUG (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.30:55443, type=1> < {'id': 4, 'result': ['on', '', '100', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']}
2021-01-18 09:05:13 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.30:55443, type=1> > {'id': 5, 'method': 'get_prop', 'params': ['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-01-18 09:05:13 DEBUG (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.31:55443, type=1> > {'id': 5, 'method': 'get_prop', 'params': ['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-01-18 09:05:14 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.30:55443, type=1> < {'id': 5, 'result': ['on', '', '100', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']}
2021-01-18 09:05:14 DEBUG (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.31:55443, type=1> < {'id': 5, 'result': ['on', '', '100', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']}
2021-01-18 09:05:43 DEBUG (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.30:55443, type=1> > {'id': 6, 'method': 'get_prop', 'params': ['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-01-18 09:05:43 DEBUG (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.31:55443, type=1> > {'id': 6, 'method': 'get_prop', 'params': ['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-01-18 09:05:44 DEBUG (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.30:55443, type=1> < {'id': 6, 'result': ['on', '', '100', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']}
2021-01-18 09:05:44 DEBUG (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.31:55443, type=1> < {'id': 6, 'result': ['on', '', '100', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']}
2021-01-18 09:06:13 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.30:55443, type=1> > {'id': 7, 'method': 'get_prop', 'params': ['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-01-18 09:06:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Bulb<10.50.0.31:55443, type=1> > {'id': 7, 'method': 'get_prop', 'params': ['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-01-18 09:06:17 ERROR (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out
2021-01-18 09:06:17 ERROR (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out
2021-01-18 09:06:17 ERROR (SyncWorker_0) [custom_components.yeelight_v2] Unable to update device 10.50.0.31, Desk: timed out
2021-01-18 09:06:17 ERROR (SyncWorker_1) [custom_components.yeelight_v2] Unable to update device 10.50.0.30, Bed: timed out
Silvest89 commented 3 years ago

Try to execute git submodule update --recursive --remote to make sure you get the latest changes of the submodules Somehow the submodules got stuck at a specific sha commit

I still had to update this repo to point to latest changes. So this

git clone --recursive git@github.com:Silvest89/yeelight_v2.git

Caused you to pull a specific sha commit of the submodules (not the latest change)

submodule update --recursive --remote 

This will update and point the submodules to latest remote. So you can either execute this or just delete the folder and clone again =)

I pushed the fix. So the clone will pull the latest changes now as well

First time working with submodules ^^

selsoh commented 3 years ago

They’re lasting longer now but still stop working after a few minutes

I’m getting this error after each interaction

2021-01-18 16:48:35 ERROR (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out 

and this as it stops working I think

2021-01-18 16:55:20 ERROR (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] [Errno 9] Bad file descriptor

Also curious if a delay of up to 5 seconds for the bulb to respond to an interaction is normal. Or possibly caused by the timeouts.

Silvest89 commented 3 years ago

They are on different vlans right? Have you tried putting the bulbs and ha server on the same vlan ? What basically is is that the get_prop is kinda broken in firmware 0031 (breaks after a few times) and the fallback uses SSDP, SSDP across VLANs requires you to multicast it.

Yeelight released beta firmware 0033 for color4 last week, have you tried updating to it? This should fix the get_prop so you don't even need the SSDP

I will be working on the miio protocol today, so you can finally say bye to LAN control. Which is buggy as hell.

selsoh commented 3 years ago

Alright, thanks. I'll give those a shot.

Buggy for sure, I'm looking forward to trying out that miio protocol.

Silvest89 commented 3 years ago

Alright, thanks. I'll give those a shot.

Buggy for sure, I'm looking forward to trying out that miio protocol.

Yeah, it might also be a security protection to only respond to broadcast packets on the same subnet.

If you've multiple VLAN's/subnets and you're in control over the router in between, then I'd setup masquerading for the outgoing routing interface of the VLAN/subnet where the Xiaomi devices reside.

This basically means changing the source address in the UDP packet headers to the IP address of routing interface. If you want to know more about this, just inform yourself about packet masquerading and/or SNAT.

I had to do it for miio to work accross subnets. Miio works excellent, all command behave as they should so will be pushing it soon, eg the same way Xiaomi/Yeelight communicates.

Just getting the miio-tokens is an extra step to use the protocol.

Silvest89 commented 3 years ago

@selsoh I just fixed a bug in regards to your color4 bulb, the interaction should now also only have a delay for the first time interacting. Miio protocol has also been implemented.

I also updated the README regarding VLAN

Can you delete the folder and execute this again?

git clone --recursive git@github.com:Silvest89/yeelight_v2.git
selsoh commented 3 years ago

I was actually about to report earlier today on what I've tested so far. Sorry I wasn't able to get back to you sooner.

Three days ago, I moved the bulbs to the same subnet as my HA server with firewall restrictions on the bulbs to only allow connections to, and from the HA server. They were still timing out.

Then earlier today, I saw you've implemented the miio protocol and gave that a go (along with the setup above). Interactions became very snappy and I was hopeful that everything would be good. But they eventually stopped receiving messages despite not giving any errors in the log.

I've now updated after seeing your comment, let the bulbs run for about 15 minutes and it seems they have stopped responding again. This was without changing anything from my previous setup (firewall+miio).

I tried again without miio tokens and got this error after about 15 minutes.

2021-01-22 05:56:49 ERROR (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] [Errno 104] Connection reset by peer

Also, I'd like to ask how one can get into the firmware beta. I've only searched briefly and was mostly seeing people posting their Mi IDs in the forum.

Silvest89 commented 3 years ago

You sure they are using miio ? I added debug logs to see if miio is enabled or not.

Yeah you post your Mi Id and they will add you when they see it :P

You got discord or anything?

selsoh commented 3 years ago

I think I do. Here's the log, I've hidden the tokens just in case I'm supposed to. And yeah, I have discord.

Log ``` 2021-01-22 06:52:41 DEBUG (MainThread) [custom_components.yeelight_v2] Device config options: {'name': '', 'model': '', 'miio_token': '********************************', 'transition': 350, 'use_music_mode': False, 'save_on_change': False, 'ssdp_fallback': True, 'nightlight_switch': False} 2021-01-22 06:52:41 DEBUG (MainThread) [custom_components.yeelight_v2] Device config options: {'name': '', 'model': '', 'miio_token': '********************************', 'transition': 350, 'use_music_mode': False, 'save_on_change': False, 'ssdp_fallback': True, 'nightlight_switch': False} 2021-01-22 06:52:41 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True 2021-01-22 06:52:41 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.31: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-01-22 06:52:41 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True 2021-01-22 06:52:41 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30: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-01-22 06:52:41 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.protocol] Unable to decrypt, returning raw bytes: b'' 2021-01-22 06:52:41 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] Got a response: Container: data = Container: data = b'' (total 0) value = b'' (total 0) offset1 = 32 offset2 = 32 length = 0 header = Container: data = b'!1\x00 \x00\x00\x00\x00\x12M\x90j\x00\x00\x00@' (total 16) value = Container: length = 32 unknown = 0 device_id = unhexlify('124d906a') ts = 1970-01-01 00:01:04 offset1 = 0 offset2 = 16 length = 16 checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16) 2021-01-22 06:52:41 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.protocol] Unable to decrypt, returning raw bytes: b'' 2021-01-22 06:52:41 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] Got a response: Container: data = Container: data = b'' (total 0) value = b'' (total 0) offset1 = 32 offset2 = 32 length = 0 header = Container: data = b'!1\x00 \x00\x00\x00\x00\x12L\x9d\xb9\x00\x00\x00@' (total 16) value = Container: length = 32 unknown = 0 device_id = unhexlify('124c9db9') ts = 1970-01-01 00:01:04 offset1 = 0 offset2 = 16 length = 16 checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16) 2021-01-22 06:52:41 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] Discovered 124d906a with ts: 1970-01-01 00:01:04, token: b'ffffffffffffffffffffffffffffffff' 2021-01-22 06:52:41 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] Discovered 124c9db9 with ts: 1970-01-01 00:01:04, token: b'ffffffffffffffffffffffffffffffff' 2021-01-22 06:52:41 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 1, 'method': 'get_prop', 'params': ['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-01-22 06:52:41 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 >>: {'id': 1, 'method': 'get_prop', 'params': ['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-01-22 06:52:41 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:04, id: 1) << {'id': 1, 'result': ['on', '', '1', '4000', '65280', '120', '100', '1', '0', '', '', '', '', '', '', '', '', '', '']} 2021-01-22 06:52:41 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 (ts: 1970-01-01 00:01:04, id: 1) << {'id': 1, 'result': ['on', '', '1', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']} 2021-01-22 06:52:41 DEBUG (SyncWorker_4) [custom_components.yeelight_v2] Device 10.40.0.31, yeelight_color4_0x00000000124d906a capabilities: {'id': '0x00000000124d906a', 'model': 'color4', 'fw_ver': '31', 'support': 'get_prop set_default set_power toggle set_bright set_scene cron_add cron_get cron_del start_cf stop_cf set_ct_abx adjust_ct set_name set_adjust adjust_bright adjust_color set_rgb set_hsv set_music udp_new udp_keep_alive chroma', 'power': 'on', 'bright': '1', 'color_mode': '2', 'ct': '4000', 'rgb': '16711680', 'hue': '359', 'sat': '100', 'name': ''} 2021-01-22 06:52:41 DEBUG (SyncWorker_0) [custom_components.yeelight_v2] Device 10.40.0.30, yeelight_color4_0x00000000124c9db9 capabilities: {'id': '0x00000000124c9db9', 'model': 'color4', 'fw_ver': '31', 'support': 'get_prop set_default set_power toggle set_bright set_scene cron_add cron_get cron_del start_cf stop_cf set_ct_abx adjust_ct set_name set_adjust adjust_bright adjust_color set_rgb set_hsv set_music udp_new udp_keep_alive chroma', 'power': 'on', 'bright': '1', 'color_mode': '1', 'ct': '4000', 'rgb': '65280', 'hue': '120', 'sat': '100', 'name': ''} 2021-01-22 06:52:42 DEBUG (MainThread) [custom_components.yeelight_v2.light] Adding yeelight_color4_0x00000000124d906a 2021-01-22 06:52:42 DEBUG (MainThread) [custom_components.yeelight_v2.light] Adding yeelight_color4_0x00000000124c9db9 2021-01-22 06:52:55 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > set_power > ['on', 'smooth', 350] 2021-01-22 06:52:55 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 2, 'method': 'set_power', 'params': ['on', 'smooth', 350]} 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:18, id: 2) << {'id': 2, 'result': ['ok']} 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.light] Calling with (259, 350) {} 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.light] Setting color temp: 3861 K 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > set_ct_abx > [3861, 'smooth', 350] 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 3, 'method': 'set_ct_abx', 'params': [3861, 'smooth', 350]} 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:18, id: 3) << {'id': 3, 'result': ['ok']} 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True 2021-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > 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-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 4, 'method': 'get_prop', 'params': ['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-01-22 06:52:56 DEBUG (SyncWorker_12) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:18, id: 4) << {'id': 4, 'result': ['on', '', '1', '3861', '65280', '120', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > set_power > ['on', 'smooth', 350] 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 5, 'method': 'set_power', 'params': ['on', 'smooth', 350]} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:22, id: 5) << {'id': 5, 'result': ['ok']} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (250, 350) {} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Setting color temp: 4000 K 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > set_ct_abx > [4000, 'smooth', 350] 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 6, 'method': 'set_ct_abx', 'params': [4000, 'smooth', 350]} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:22, id: 6) << {'id': 6, 'result': ['ok']} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True 2021-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > 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-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 7, 'method': 'get_prop', 'params': ['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-01-22 06:52:59 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:22, id: 7) << {'id': 7, 'result': ['on', '', '1', '4000', '65280', '120', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > set_power > ['on', 'smooth', 350] 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 8, 'method': 'set_power', 'params': ['on', 'smooth', 350]} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:33, id: 8) << {'id': 8, 'result': ['ok']} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.light] Calling with (255, 350) {} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.light] Setting brightness: 255 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > set_bright > [100, 'smooth', 350] 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 9, 'method': 'set_bright', 'params': [100, 'smooth', 350]} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:33, id: 9) << {'id': 9, 'result': ['ok']} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True 2021-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > 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-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 10, 'method': 'get_prop', 'params': ['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-01-22 06:53:10 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:33, id: 10) << {'id': 10, 'result': ['on', '', '100', '4000', '65280', '120', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']} 2021-01-22 06:53:12 DEBUG (SyncWorker_10) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True 2021-01-22 06:53:12 DEBUG (SyncWorker_10) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.31:55443, type=BulbType.Color> > 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-01-22 06:53:12 DEBUG (SyncWorker_5) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True 2021-01-22 06:53:12 DEBUG (SyncWorker_5) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.30:55443, type=BulbType.Color> > 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-01-22 06:53:12 DEBUG (SyncWorker_10) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 >>: {'id': 2, 'method': 'get_prop', 'params': ['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-01-22 06:53:12 DEBUG (SyncWorker_5) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 >>: {'id': 11, 'method': 'get_prop', 'params': ['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-01-22 06:53:12 DEBUG (SyncWorker_10) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 (ts: 1970-01-01 00:01:34, id: 2) << {'id': 2, 'result': ['on', '', '1', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']} 2021-01-22 06:53:12 DEBUG (SyncWorker_5) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.30:54321 (ts: 1970-01-01 00:01:34, id: 11) << {'id': 11, 'result': ['on', '', '100', '4000', '65280', '120', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.31:55443, type=BulbType.Color> > set_power > ['on', 'smooth', 350] 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 >>: {'id': 3, 'method': 'set_power', 'params': ['on', 'smooth', 350]} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 (ts: 1970-01-01 00:01:36, id: 3) << {'id': 3, 'result': ['ok']} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (209, 350) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Setting brightness: 209 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.31:55443, type=BulbType.Color> > set_bright > [81.96078431372548, 'smooth', 350] 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 >>: {'id': 4, 'method': 'set_bright', 'params': [81.96078431372548, 'smooth', 350]} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 (ts: 1970-01-01 00:01:36, id: 4) << {'id': 4, 'result': ['ok']} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True 2021-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.31:55443, type=BulbType.Color> > 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-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 >>: {'id': 5, 'method': 'get_prop', 'params': ['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-01-22 06:53:13 DEBUG (SyncWorker_0) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 (ts: 1970-01-01 00:01:36, id: 5) << {'id': 5, 'result': ['on', '', '81', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.31:55443, type=BulbType.Color> > set_power > ['on', 'smooth', 350] 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 >>: {'id': 6, 'method': 'set_power', 'params': ['on', 'smooth', 350]} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 (ts: 1970-01-01 00:01:36, id: 6) << {'id': 6, 'result': ['ok']} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.light] Calling with (None, 350) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.light] Calling with (255, 350) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.light] Setting brightness: 255 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.31:55443, type=BulbType.Color> > set_bright > [100, 'smooth', 350] 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 >>: {'id': 7, 'method': 'set_bright', 'params': [100, 'smooth', 350]} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 (ts: 1970-01-01 00:01:36, id: 7) << {'id': 7, 'result': ['ok']} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.light] Calling with (None,) {} 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: True, SSDP: True 2021-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] miIO: Bulb<10.40.0.31:55443, type=BulbType.Color> > 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-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 >>: {'id': 8, 'method': 'get_prop', 'params': ['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-01-22 06:53:13 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_miio.miio.miioprotocol] 10.40.0.31:54321 (ts: 1970-01-01 00:01:36, id: 8) << {'id': 8, 'result': ['on', '', '100', '4000', '16711680', '359', '100', '2', '0', '', '', '', '', '', '', '', '', '', '']} ```
Silvest89 commented 3 years ago

@selsoh Give me your discord id then I'll add you.

JoshSald commented 3 years ago

I'm also having similar issues with my color4.

2021-01-30 08:31:34 ERROR (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out
2021-01-30 08:32:01 DEBUG (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: False, SSDP: True
2021-01-30 08:32:01 DEBUG (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] LAN Control: Bulb<192.168.*.*:****, type=BulbType.Color> > {'id': 2, 'method': 'get_prop', 'params': ['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-01-30 08:32:05 ERROR (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out
2021-01-30 08:32:31 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: False, SSDP: True
2021-01-30 08:32:31 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] LAN Control: Bulb<192.168.*.*:**** type=BulbType.Color> > {'id': 3, 'method': 'get_prop', 'params': ['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-01-30 08:32:34 ERROR (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out
2021-01-30 08:33:01 DEBUG (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: False, SSDP: True
2021-01-30 08:33:01 DEBUG (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] LAN Control: Bulb<192.168.*.*:****, type=BulbType.Color> > {'id': 4, 'method': 'get_prop', 'params': ['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-01-30 08:33:04 ERROR (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out
2021-01-30 08:33:31 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: False, SSDP: True
2021-01-30 08:33:31 DEBUG (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] LAN Control: Bulb<192.168.*.*:****, type=BulbType.Color> > {'id': 5, 'method': 'get_prop', 'params': ['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-01-30 08:33:34 ERROR (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out
2021-01-30 08:34:01 DEBUG (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: False, SSDP: True
2021-01-30 08:34:01 DEBUG (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] LAN Control: Bulb<192.168.*.*:****, type=BulbType.Color> > {'id': 6, 'method': 'get_prop', 'params': ['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-01-30 08:34:04 ERROR (SyncWorker_7) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out

and so on and so forth.

Edit:

Also started getting this now:

2021-01-30 19:11:34 ERROR (SyncWorker_3) [custom_components.yeelight_v2.python_yeelight.yeelight.main] [Errno 32] Broken pipe
2021-01-30 19:11:34 ERROR (SyncWorker_4) [custom_components.yeelight_v2.python_yeelight.yeelight.main] [Errno 9] Bad file descriptor

EDIT: Just an update. I've added my miio token and it's now no longer timing out.