Comments (5)
So that looks like the debug logs of Home Assistant starting and then you added the LIFX integration (or enabled its configuration) and then it stops. You should have seen a whole bunch of DEBUG
log entries for custom_components.lifx
.
Please add homeassistant.setup: debug
and homeassistant.components.lifx: debug
under logs:
so we can see if there is a problem setting up the custom LIFX integration or if the core integration is somehow being used instead of the custom integration (for some reason):
logger:
default: info
logs:
homeassistant.setup: debug
homeassistant.components.lifx: debug
custom_components.lifx: debug
from ha-lifx-beta.
BTW, you should see something like this after you create the LIFX configuration on the Settings -> Integrations page:
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.setup] Setting up lifx
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.setup] Setup of domain lifx took 0.0 seconds
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.setup] Setting up light
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.0 seconds
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.components.light] Setting up light.lifx
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.49 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.62 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.47 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.93 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.92 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.57 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.40 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.89 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.98 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.96 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.72 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.50 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.97 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.44 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.41 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.135 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.46 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.95 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.52 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.85 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.71 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.43 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.45 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Garage Ceiling Light (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.lifx entity: light.garage_ceiling_light
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Theatre 3R (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Theatre 2L (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Theatre 4L (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.lifx entity: light.theatre_3r
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.lifx entity: light.theatre_2l
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.lifx entity: light.theatre_4l
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Entrance Hall Front Door Light (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Alfresco Ceiling Light (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Theatre Table Lamp (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Test Bulb (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] First discovery response received from 192.168.254.61 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Skipping discovered LIFX Switch at 192.168.254.98 (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Laundry Ceiling Light (d0:73:d5:xx:xx:xx)
2022-06-12 17:51:16 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.lifx entity: light.alfresco_ceiling_light
2022-06-12 17:51:16 DEBUG (MainThread) [homeassistant.components.lifx.light] Entity created for Andrew's Office Ceiling Light (d0:73:d5:xx:xx:xx)
from ha-lifx-beta.
Something weird is going on - I get no debug log entries for any lifx components (just info). I even set global default to debug and I got an inordinate amount of debug logs for everything except lifx.
logger:
default: debug
logs:
homeassistant.setup: debug
homeassistant.components.lifx: debug
custom_components.lifx: debug
from ha-lifx-beta.
I can't tell why I am not getting debug logs for lifx. Here's what I can tell you:
- Running rpi4, debian 10, supervisor/hass.io installation.
- configuration.yaml has log settings like previous comment (except I reverted the default to info, since it was printing 10's of thousands of lines).
- I installed this beta repo in HACS and downloaded.
- I even modified
homeassistant/custom_components/lifx/light.py
and replaced allLOGGER.debug
toLOGGER.info
- but still don't get debug logs for lifx. - I have restarted many times.
In the logs, I see DEBUG level around some things, but it just won't drill down into lifx. Example extract:
2022-06-12 14:35:03 DEBUG (MainThread) [homeassistant.setup] Dependency template will wait for after dependencies ['group']
2022-06-12 14:35:03 DEBUG (MainThread) [homeassistant.setup] Dependency template will wait for after dependencies ['group']
2022-06-12 14:35:03 DEBUG (MainThread) [homeassistant.setup] Dependency template will wait for after dependencies ['group']
2022-06-12 14:35:03 DEBUG (MainThread) [homeassistant.setup] Dependency template will wait for after dependencies ['group']
2022-06-12 14:35:03 DEBUG (MainThread) [homeassistant.setup] Dependency template will wait for after dependencies ['group']
2022-06-12 14:35:03 DEBUG (MainThread) [homeassistant.setup] Dependency template will wait for after dependencies ['group']
2022-06-12 14:35:03 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 3.8 seconds
2022-06-12 14:35:03 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 3.8 seconds
2022-06-12 14:35:04 INFO (MainThread) [homeassistant.setup] Setting up zwave_js
2022-06-12 14:35:04 INFO (MainThread) [homeassistant.setup] Setup of domain zwave_js took 0.0 seconds
2022-06-12 14:35:04 INFO (MainThread) [homeassistant.setup] Setting up lifx
2022-06-12 14:35:04 INFO (MainThread) [homeassistant.setup] Setup of domain lifx took 0.0 seconds
2022-06-12 14:35:04 INFO (MainThread) [homeassistant.setup] Setting up abode
2022-06-12 14:35:04 INFO (MainThread) [homeassistant.setup] Setup of domain abode took 0.0 seconds
Any more ideas to get logs? I feel like there is something fundamentally wrong, or I am missing something obvious --especially after modifying the log statements (!)
from ha-lifx-beta.
OK - I have fixed the main issue. I still don't know why the debug logs don't work, but now have lifx working again.
In case this helps someone else, there is now (not sure when this change happened) an "auto" network configure in home assistant. By default it was only making ethernet available.
To fix, I simply went to Settings > Network > Network Adapter
and unchecked Auto configure
and instead checked both of the network adapters (wifi and ethernet).
from ha-lifx-beta.
Related Issues (20)
- Object has no attribute error seen in logs HOT 2
- Startup Delay / Error HOT 11
- 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
- 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.