8000 Nanoleaf panel looses pairing after restart · Issue #57255 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Nanoleaf panel looses pairing after restart #57255

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

Closed
matteos1 opened this issue Oct 7, 2021 · 12 comments · Fixed by #57312
Closed

Nanoleaf panel looses pairing after restart #57255

matteos1 opened this issue Oct 7, 2021 · 12 comments · Fixed by #57312

Comments

@matteos1
Copy link
matteos1 commented Oct 7, 2021

The problem

after updating to the latest version, the nanoleaf panel loses pairing when the system is restarted. How can this be solved?

What is version of Home Assistant Core has the issue?

2021.10

What was the last working version of Home Assistant Core?

2021.9.7

What type of installation are you running?

Home Assistant Core

Integration causing the issue

No response

Link to integration documentation on our website

https://www.home-assistant.io/integrations/nanoleaf/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@probot-home-assistant
Copy link

Hey there @milanmeu, mind taking a look at this issue as it has been labeled with an integration (nanoleaf) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)


nanoleaf documentation
nanoleaf source
(message by IssueLinks)

@frenck frenck changed the title nanoealf panel Nanoealf panel looses pairing after restart Oct 7, 2021
@matteos1
Copy link
Author
matteos1 commented Oct 7, 2021

I have noticed that the paring is lost even after about an hour.

@NikitaKorneev
Copy link
NikitaKorneev commented Oct 7, 2021

Did you ever set it up using yaml? I THINK I had the same issue. Fixed it by:

  • Removing the integration
  • Making sure there is no duplicate of this integration, which did appear after I updated to 2021.10. Strange but ok... o suppose GUI setup and yaml combined somehow...
  • removing the yaml config related to Nanoleaf.
  • rebooting and reinstalling integration using GUI

@matteos1
Copy link
Author
matteos1 commented Oct 7, 2021

yes I have gone through all these steps but despite everything after a while there is no longer connection between home assistant and nanoleaf while before it worked

@milanmeu
Copy link
Contributor
milanmeu commented Oct 7, 2021

Hi @matteos1,
I need the logs to help you further.

@matteos1
Copy link
Author
matteos1 commented Oct 7, 2021

Hot can I to search the log of Nanoleaf?

@milanmeu
Copy link
Contributor
milanmeu commented Oct 7, 2021
  1. Wait for Nanoleaf to lose connection (don't restart)
  2. Go to your logs Open your Home Assistant instance and show your Home Assistant logs.
  3. Scroll down, and click on LOAD FULL HOME ASSISTANT LOG
  4. Copy the log or at least the lines containing nanoleaf (search using CTR+F)
  5. Paste the log in https://hastebin.com, click save 💾 and share the URL.

@matteos1
Copy link
Author
matteos1 commented Oct 8, 2021

now the problem is solved or is the log still needed?

@walshtj
Copy link
walshtj commented Oct 8, 2021

I'm having a similar problem since the 2021.10 update.
If I roll back to 2021.9.* nanoleaf works fine again.

I've no Nanoleaf data in configuration.yaml (well I do but its commented out)

Here are the relevant startup logs

2021-10-08 10:22:17 INFO (MainThread) [homeassistant.setup] Setting up nanoleaf
2021-10-08 10:22:17 INFO (MainThread) [homeassistant.setup] Setup of domain nanoleaf took 0.0 seconds
.
(other normal logs..)
.
2021-10-08 10:23:42 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 10:24:42 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 10:25:42 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 10:26:42 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 10:27:09 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward
2021-10-08 10:27:43 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
.
(other normal logs..)
.
2021-10-08 10:28:44 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 10:29:44 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 10:30:44 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 10:31:44 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 10:32:09 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap - moving forward

After a while HA starts ok but the nanoleaf entities are not available.

I can delete the integrations, reboot HA and it finds them again.
I can then set them up again and they work fine.
However, if I reboot I am back to square one - HA waits and waits but never finds them.

My two Nanoleaf devices are online and working - I can control them via the Nanoleaf Android app.

@milanmeu
Copy link
Contributor
milanmeu commented Oct 8, 2021

Thanks for the logs @walshtj

#57312 should fix the issue.

@bdraco bdraco changed the title Nanoealf panel looses pairing after restart Nanoleaf panel looses pairing after restart Oct 8, 2021
@matteos1
Copy link
Author
matteos1 commented Oct 8, 2021

is it possible to ingrate in custom component till next release 2021.10.2?

@milanmeu
Copy link
Contributor
milanmeu commented Oct 8, 2021

2021.10.2 is almost ready for release, you can follow the progress on https://github.com/home-assistant/core/milestone/440.

@matteos1, @NikitaKorneev, @walshtj Thanks for reporting this issue and providing helpful information.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
0