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

Connection reset by peer Yeelight YLXD76YL #8

Open
me1299 opened this issue Feb 9, 2021 · 1 comment
Open

Connection reset by peer Yeelight YLXD76YL #8

me1299 opened this issue Feb 9, 2021 · 1 comment

Comments

@me1299
Copy link

me1299 commented Feb 9, 2021

I'm trying this integration because my Yeelight YLXD76YL has problems with the normal integration of becoming unavailable.
But this integration does not help I'm afraid.

Log:

2021-02-09 12:27:39 DEBUG (MainThread) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Model unknown (ceila). Providing a fallback

2021-02-09 12:30:38 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: False, SSDP: True
2021-02-09 12:30:38 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] LAN Control: Bulb<192.168.178.49:55443, type=BulbType.WhiteTemp> > {'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-02-09 12:30:38 DEBUG (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Response: Bulb<192.168.178.49:55443, type=BulbType.WhiteTemp> < {'method': 'props', 'params': {'power': 'on'}}
2021-02-09 12:30:38 ERROR (SyncWorker_1) [custom_components.yeelight_v2.python_yeelight.yeelight.main] [Errno 104] Connection reset by peer
Config:
yeelight_v2:
  devices:
    192.168.178.49:
      name: Slaapkamer
      ssdp_fallback: True
      miio_token: "0c39f3a75da9ea80293497e170ac8***"
      use_music_mode: true

It works for a few minutes and then the connection is cut by the light. The only way to fire it back up again is by power cycling the Yeelight.

When I disable LAN control on the Yeelight it fails to connect even when using the miio_token:
[custom_components.yeelight_v2.python_yeelight.yeelight.main] [Errno 111] Connection refused

@Silvest89
Copy link
Owner

Milo: False, SSDP: True

Means miio isnt properly enabled. You can only use the yaml for initial setup. Any changes after won't take effect. You can change it in the UI by going to Settings -> Integrations and edit the miio token in the browser

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

2 participants