Comments (11)
What kind of bulbs do you have?
from ha-lifx-beta.
from ha-lifx-beta.
Can you bump the message reply timeout to 1 second? You can edit this by hitting the Configure button in the UI. I can't reproduce the issue (and I have almost the identical setup, with a similar network config and collection of bulbs).
from ha-lifx-beta.
Updated, now getting more errors at restart...
Log Details (ERROR)
This error originated from a custom integration.
Logger: custom_components.lifx
Source: custom_components/lifx/light.py:440
Integration: LIFX (documentation, issues)
First occurred: 21:59:42 (32 occurrences)
Last logged: 21:59:45
(Discovery) action=restart, ip_addr=192.168.2.107.
(Discovery) action=restart, ip_addr=192.168.2.122.
(Discovery) action=restart, ip_addr=192.168.2.104.
(Discovery) action=restart, ip_addr=192.168.2.131.
(Discovery) action=restart, ip_addr=192.168.2.38.
Here's some around activity around 192.168.2.107 which had some issues:
022-01-13 21:59:39 DEBUG (MainThread) [custom_components.lifx] (Discovery) action=received_response, serial=d073d52ecc20, ip_addr=192.168.2.107
2022-01-13 21:59:39 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=1, ack=0, resp=1, dest=192.168.2.107
2022-01-13 21:59:39 DEBUG (MainThread) [custom_components.lifx] (Discovery) action=received_response, serial=d073d56333c6, ip_addr=192.168.3.156
2022-01-13 21:59:39 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=1, ack=0, resp=1, dest=192.168.3.156
2022-01-13 21:59:39 DEBUG (MainThread) [custom_components.lifx] (Discovery) action=received_response, serial=d073d52ece1b, ip_addr=192.168.2.38
2022-01-13 21:59:39 DEBUG (MainThread) [custom_components.lifx] (Discovery) action=received_response, serial=d073d52ec889, ip_addr=192.168.2.122
2022-01-13 21:59:39 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=1, ack=0, resp=1, dest=192.168.2.38
2022-01-13 21:59:39 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=1, ack=0, resp=1, dest=192.168.2.122
2022-01-13 21:59:39 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, MultiZoneStateMultiZone, pkt=506, seq=5, ack=0, resp=1, src=192.168.2.132
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Discovery) countdown=55, step=5
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.3.247
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.106
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.114
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.105
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.104
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.131
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.120
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.121
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.134
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.118
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.107
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.3.156
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.38
2022-01-13 21:59:40 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, LightGet, pkt=101, seq=2, ack=0, resp=1, dest=192.168.2.122
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.114
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=3, ack=0, resp=1, dest=192.168.2.114
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.105
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=3, ack=0, resp=1, dest=192.168.2.105
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.106
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=3, ack=0, resp=1, dest=192.168.2.106
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.131
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.121
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.120
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=3, ack=0, resp=1, dest=192.168.2.131
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=3, ack=0, resp=1, dest=192.168.2.121
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=3, ack=0, resp=1, dest=192.168.2.120
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.107
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=3, ack=0, resp=1, dest=192.168.2.107
2022-01-13 21:59:41 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Roomba' for roomba integration not ready yet; Retrying in background
2022-01-13 21:59:41 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.114
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.121
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.134
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=3, ack=0, resp=1, dest=192.168.2.134
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.120
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.107
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.3.247.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.106.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.114.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.105.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.104.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.131.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.120.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.121.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.134.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.118.
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.106
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=4, ack=0, resp=1, dest=192.168.2.106
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.114
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=4, ack=0, resp=1, dest=192.168.2.114
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.105
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=4, ack=0, resp=1, dest=192.168.2.105
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.120
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=4, ack=0, resp=1, dest=192.168.2.120
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.121
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=4, ack=0, resp=1, dest=192.168.2.121
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.134
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=4, ack=0, resp=1, dest=192.168.2.134
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.107.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.3.156.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.38.
2022-01-13 21:59:42 ERROR (MainThread) [custom_components.lifx] (Discovery) action=restart, ip_addr=192.168.2.122.
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.118
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=3, ack=0, resp=1, dest=192.168.2.118
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=received, StateVersion, pkt=33, seq=1, ack=0, resp=1, src=192.168.2.107
2022-01-13 21:59:42 DEBUG (MainThread) [custom_components.lifx] (Get State) action=send, GetVersion, pkt=32, seq=4, ack=0, resp=1, dest=192.168.2.107
from ha-lifx-beta.
Those aren't actual errors, I'm just using the wrong log levels. But it does indicate that your network is very busy, I think. Can you bump the message reply timeout again to 3 seconds? Most of your bulbs are replying, but not within the timeout.
from ha-lifx-beta.
You'll need to adjust discovery interval as well. I'd put that up at 300 or so.
from ha-lifx-beta.
I've done that, so now it's waiting until 300 secs after HASS bootup before they're available and HASS flags it's "fully started".
I can see the lights registering multiple times before discovery ends though. Do they not register as available entities until that Discovery time has fully completed though?
from ha-lifx-beta.
That's really weird. I'll have to try and work out what's going on over the weekend.
from ha-lifx-beta.
I've just double-checked my test/dev instance and all 59 of my bulbs are discovered and active before the timer for the next discovery starts. It also completes the initial discovery in ~4 seconds. That's with a 300 second discovery interval and a 1 second message response timeout.
from ha-lifx-beta.
For reference, here are the settings I'm using for test purposes.
from ha-lifx-beta.
This should be resolved by home-assistant/core#70458 when it is merged to the core.
from ha-lifx-beta.
Related Issues (20)
- Object has no attribute error seen in logs HOT 2
- Z Strips Becoming Unrespnsive HOT 12
- Lights unavailable in HASS, but available on LIFX HOT 10
- No module named 'custom_components.lifx-beta.recorder' HOT 6
- HACS compatible HOT 2
- LIFX not being discovered HOT 20
- Integration broken w/VLAN in 5.5+ (including recent beta) HOT 11
- Lifx Bulbs going unavailable. HOT 5
- Stability Issues detected in logs on latest version HOT 18
- One bulb not staying available HOT 9
- Lifx devices not showing up since recent discover refactor HOT 5
- Bulb going unavailable HOT 3
- Remove Integration HOT 7
- Feedback on 2022.11.0-dev HOT 2
- Lights showing incorrect state when power cycled & extraneous light device/entity HOT 20
- LIFX Lights go unavailable during light up dim automation or otherwise sporadically after commands are issued to them. HOT 10
- Latest beta introduce new python errors HOT 3
- Latest beta throws time out warnings HOT 3
- LIFX Switch Buttons not available on some switches HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-lifx-beta.