Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

192.168.29.x closed. error? false. #85

Open
thartopu opened this issue Oct 22, 2020 · 3 comments
Open

192.168.29.x closed. error? false. #85

thartopu opened this issue Oct 22, 2020 · 3 comments

Comments

@thartopu
Copy link

thartopu commented Oct 22, 2020

Hello, I got 5 Yeelight Color 1S bulbs and they all seem to be having an issue.

[10/22/2020, 2:26:11 PM] [Config] Homebridge Config UI X v4.30.0 is listening on :: port 8581
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:13 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:13 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:13 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:13 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:13 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:13 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:14 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:15 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:15 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:15 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:15 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:15 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:15 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:15 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:15 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:15 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:15 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:16 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:16 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:16 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:16 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:16 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:16 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:16 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:16 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 0 after 100ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 1 after 200ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:17 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 2 after 400ms.
[10/22/2020, 2:26:17 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:18 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:18 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:18 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:18 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:18 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:18 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:18 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:18 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:18 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 3 after 800ms.
[10/22/2020, 2:26:18 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 192.168.29.141 closed. error? false.
[10/22/2020, 2:26:20 PM] [Yeelight] 192.168.29.147 closed. error? false.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 192.168.29.206 closed. error? false.
[10/22/2020, 2:26:20 PM] [Yeelight] 192.168.29.182 closed. error? false.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 4 after 1600ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 192.168.29.155 closed. error? false.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x0000000012ae4358: failed to send cmd 3 after 5 retries.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x000000001259b8b0: failed to send cmd 1 after 5 retries.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x0000000010e34268: failed to send cmd 2 after 5 retries.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x00000000125a2f63: failed to send cmd 5 after 5 retries.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:20 PM] [Yeelight] 0x0000000012ae4373: failed to send cmd 4 after 5 retries.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x0000000010e34268: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x0000000010e34268: failed to send cmd 7 after 5 retries.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x000000001259b8b0: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x000000001259b8b0: failed to send cmd 6 after 5 retries.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x00000000125a2f63: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x00000000125a2f63: failed to send cmd 10 after 5 retries.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x0000000012ae4373: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x0000000012ae4373: failed to send cmd 9 after 5 retries.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x0000000012ae4358: failed communication attempt 5 after 3200ms.
[10/22/2020, 2:26:23 PM] [Yeelight] 0x0000000012ae4358: failed to send cmd 8 after 5 retries.
[10/22/2020, 2:26:23 PM] [Yeelight] All known devices found. Stopping proactive search.

Any idea what's going on?

@thartopu
Copy link
Author

thartopu commented Oct 23, 2020

Upon restarting the bulbs (cutting off the power to them and then reapply power), this seems to fix the issue. However, if I restarted the homebridge server or my raspberry pi, the issue appears again.

And as a note the bulbs appear just fine on Yeelight app (and on Home.app for those added directly to Home, not HB).

Which means this plugin seems to be requiring it being running first before a bulb has power. In other words the plugin won't work as intended when power failure/blackout occurs.

@ichasecorals
Copy link

I have the same issue. Except I use HOOBS. This plugin is relible when HOOBS or Hb is reliable 100%. If HOOBS or Hb services fails to start for what ever reason, I would have to unplug/plug the lamps to get them working again.

This only happens with the 3 Bedside Lamps. No issues with the 5 colored bulbs.

@vieira
Copy link
Owner

vieira commented Aug 22, 2023

This seems related to #89 but it will be hard to debug as I don't have a bedside lamp to test. I would suggest trying to tune the number of retries and the timeout in config.json (see readme).

    "connection": {
      "retries": 5, // 3 to 5 should work
      "timeout": 500 // try values from 250 to 1500
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants