Closed blackteddybear closed 1 year ago
You'll need to check the logs for errors.
will check this evening
@blackteddybear were you able to check already?
I got the same problem with the ikea LED1536G5 - can't find any errors in the logs. But maybe it's because i'm a noob. So explain me, where i can find the right logs... sorry.
@blackteddybear were you able to check already?
Sorry haven’t yet, I’ll have a look today.
where specifically should I be looking
I also have the problem that Ikea lamps are not available after switching them on, but only if they are integrated via Philips Hue.
Please have a look into error logs, there should be some errors logs
Settings -> System -> Logs.
Or when you have access to file system (using filesystem editor addon) or SSH access logs are also at config/homeassistant.log
Might also help to enable debug logging for powercalc which might provide further insights. You can enable that on powercalc integration page.
Okay thanks. There I found this entry:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.powercalc.strategy.lut Source: custom_components/powercalc/strategy/lut.py:137 Integration: Powercalc (documentation, issues) First occurred: 18:57:01 (4 occurrences) Last logged: 18:57:01
Must have been the time, the lights get switched on. Hope that helps.
These error messages for me:
2023-09-21 11:34:18.390 ERROR (MainThread) [custom_components.powercalc.strategy.lut] light.buro_turseite: Lookup table not found (model: LED1545G12, color_mode: brightness) 2023-09-21 11:34:19.406 ERROR (MainThread) [custom_components.powercalc.strategy.lut] light.buro_fensterseite: Lookup table not found (model: LED1545G12, color_mode: brightness) 2023-09-21 11:35:14.962 ERROR (MainThread) [custom_components.powercalc.strategy.lut] light.badezimmer_eingang: Lookup table not found (model: LED1537R6, color_mode: brightness) 2023-09-21 11:35:15.993 ERROR (MainThread) [custom_components.powercalc.strategy.lut] light.badezimmer_dusche: Lookup table not found (model: LED1537R6, color_mode: brightness) 2023-09-21 11:35:16.001 ERROR (MainThread) [custom_components.powercalc.strategy.lut] light.badezimmer_heizung: Lookup table not found (model: LED1537R6, color_mode: brightness) 2023-09-21 11:35:16.009 ERROR (MainThread) [custom_components.powercalc.strategy.lut] light.badezimmer_fenster: Lookup table not found (model: LED1537R6, color_mode: brightness) 2023-09-21 11:35:16.016 ERROR (MainThread) [custom_components.powercalc.strategy.lut] light.badezimmer_badewanne: Lookup table not found (model: LED1537R6, color_mode: brightness) 2023-09-21 11:35:16.025 ERROR (MainThread) [custom_components.powercalc.strategy.lut] light.badezimmer_toilette: Lookup table not found (model: LED1537R6, color_mode: brightness)
All of you have different lights giving the same issue:
It can't be a coincidence you are experiencing issues all of a sudden. @blackteddybear @Oldchatterhand43 do you also use the Hue integration as @dieewossmarthome?
The problem is these are lights which support color temparature, but in HA the light is reported as active color mode brightness
There should be no possibility this light can have brightness
color mode reported in HA. I suspect maybe something has changed in Hue integration causing this issue.
Yes, I am using the hue integration as well. But I got this issue quite a few weeks... Just had to find this thread and learn what the problem is 😉 So I can't name the exact date or what changed in hue (integration)
Could you guys share the state attributes of the concerning light entity? From developer tools. We might need to raise an issue on HA core issue tracker. Or I can notice the developer of hue integration on discord.
You mean this?
min_color_temp_kelvin: 2202 max_color_temp_kelvin: 4000 min_mireds: 250 max_mireds: 454 supported_color_modes:
mode: normal dynamics: none friendly_name: Steh 1 supported_features: 40
@Oldchatterhand43 Yes that's what I mean. Could you please format? Is there no color_mode
attribute?
Also this are the state attributes when the light is turned on, right?
With lights turned on:
min_color_temp_kelvin: 2202
max_color_temp_kelvin: 4000
min_mireds: 250
max_mireds: 454
supported_color_modes:
- color_temp
mode: normal
dynamics: none
friendly_name: Steh 1
supported_features: 40
color_mode: brightness
brightness: 77
@Oldchatterhand43 Yes that's what I mean. Could you please format? Is there no
color_mode
attribute?
What exactly do you mean with format?
Thanks. did you add color_mode, because it wasn't in your comment previously? I have formatted. You can put three backtics on before the code block and after and github will format it nicely.
Ah, thanks. I'll try that next time.
My first comment was the code with lights off, second one is with lights on. The part with color_mode only appears when the lights are on.
- LED1536G5
That's what I thought already. I'm currently discussing on Discord with developer of Hue integration to see if we can workout what's wrong.
The color_mode is not correct. It's brightness
, but needs to be color_temp
. There were some changes in Hue integration in last HA version which causes this issue.
@Oldchatterhand43 Are you on discord? Have some additional questions which you can try.
You might add me bramski#3414. Or any others in this issue which can provide additional debug information.
Sorry, ich war gestern nicht am Mac, hier noch ein paar Daten von mir: Color temperature light (TRADFRI bulb GU10 WS 400lm) von IKEA of Sweden:
Light off: min_color_temp_kelvin: 2202 max_color_temp_kelvin: 4000 min_mireds: 250 max_mireds: 454 supported_color_modes: color_temp mode: normal dynamics: none friendly_name: Badezimmer Dusche supported_features: 40
Light on: min_color_temp_kelvin: 2202 max_color_temp_kelvin: 4000 min_mireds: 250 max_mireds: 454 supported_color_modes: color_temp mode: normal dynamics: none friendly_name: Badezimmer Dusche supported_features: 40 color_mode: brightness brightness: 128
Color temperature light (TRADFRI bulb E27 WS opal 980lm) von IKEA of Sweden:
Light off: min_color_temp_kelvin: 2202 max_color_temp_kelvin: 4000 min_mireds: 250 max_mireds: 454 supported_color_modes: color_temp mode: normal dynamics: none friendly_name: Büro Fensterseite supported_features: 40
Light on: min_color_temp_kelvin: 2202 max_color_temp_kelvin: 4000 min_mireds: 250 max_mireds: 454 supported_color_modes: color_temp mode: normal dynamics: none friendly_name: Büro Fensterseite supported_features: 40 color_mode: brightness brightness: 255
Room von Signify Netherlands B.V.: 2 x Color temperature light (TRADFRI bulb E27 WS opal 980lm) von IKEA of Sweden:
Light off: min_color_temp_kelvin: 2202 max_color_temp_kelvin: 4000 min_mireds: 250 max_mireds: 454 supported_color_modes: color_temp is_hue_group: true hue_scenes: Gedimmt, Frühlingsblüten, Nordlichter, Lesen, Tropendämmerung, Entspannen, Konzentrieren, Hell, Energie tanken, Sonnenuntergang Savanne, Nachtlicht hue_type: room lights: Büro Türseite, Büro Fensterseite dynamics: false icon: mdi:lightbulb-group friendly_name: Büro supported_features: 40
Light on: min_color_temp_kelvin: 2202 max_color_temp_kelvin: 4000 min_mireds: 250 max_mireds: 454 supported_color_modes: color_temp is_hue_group: true hue_scenes: Gedimmt, Frühlingsblüten, Nordlichter, Lesen, Tropendämmerung, Entspannen, Konzentrieren, Hell, Energie tanken, Sonnenuntergang Savanne, Nachtlicht hue_type: room lights: Büro Türseite, Büro Fensterseite dynamics: false icon: mdi:lightbulb-group friendly_name: Büro supported_features: 40 color_mode: color_temp brightness: 255 color_temp_kelvin: 2237 color_temp: 447 hs_color: 29.667, 82.994 rgb_color: 255, 148, 43 xy_color: 0.575, 0.389
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Any updates on this issue?
System Health details
x
Checklist
Describe the issue
The above Ikea bulb is auto detected by discovery. After going throught the wizard the bulbs power and energy show unavailible when power on, when the bulb is turn off from home assistand ther power show 0.2w and the energy still shows unavaliable
what information is needed to diagnose this problem, thanks
Reproduction steps
1. 2. 3. ...
Debug logs
Diagnostics dump or YAML config
x