dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 503 forks source link

Ikea devices might show wrong state/brightness #1991

Closed xydix closed 4 years ago

xydix commented 5 years ago

Hi guys. I run deconz in docker (container from marthoc 2.05.69) and controlling everything from homeassistant. I have some problems, somtimes my lights (IKEA colored lights) show wrong brightness. If i change color / brightness from an automation it could get out of sync. Example: I set brightness:1 and some color from an automation the light could be, for example, brighter than 1. The brightness could be 20% or 70% or what ever. Homeassistant show brighness: 1, Deconz (Phoscon App) show the lowest brightness but the lamp can be very bright. If I, with the slider in deconz, start to bright it up, the lamp will become darker bacause the slider is in the lowest part of the brightness slider. IF i make just one change, first brightness, then put a delay in the automation, then change the color in at new command it seems to work better.

I also tried to create a "wakeup light" with brigness, transision time and color change. This seemed impossible, got out of sync every time.

Another way to recreate this is to use the app HomeHabit>homeassistant>deconz. If I try to only change color from HomeHabit, sometimes the light might go to 100% brightness in the app but the light is on a low lever of brightness or vice verse.

Every time all sliders show the same, HomeHabit, HomeAssistant and Deconz show the same brightness. That is why i suspect there is something wrong with Deconz.

FelixUster commented 5 years ago

I can confirm this issue. I have an automation that sets brightness and color temp within one call for an ikea lightbulb. But only the color temp is set on the bulb, even though both parameters are correctly display within phoscon. If I split the setting into 2 commands (with a delay between) it works as expected. In my opinion it is a new issue as some weeks ago, both worked for me

noxhirsch commented 5 years ago

Same issue here ...

barton-im commented 5 years ago

I am having similar issues with Osram bulb. I am setting the brightness in a home assistant automation (decrease of brightness). Seems that the brightness readings are off half the time (not exactly what I set in the previous step). I am using deconz on hassbian and conbee 2 stick. version: 2.05.67 /8/26/2019 FW: 264A0700

helto4real commented 4 years ago

Same issue, cant set color temp and brightness the same time.. With many lights it even fails with transition=0. version 2.05.71 FW: 264A0700

Flurkmark commented 4 years ago

@FelixUster Did you upgrade in this time, if so between which versions?

I have always had a problem with IKEA lights and resolved to using scripts. However some small lights I have kept as scenes since they always makes small changes between scenes. I have noticed lately that they sometimes are completely wrong. Edit: Using homeassistant.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Gerben321 commented 2 years ago

I am facing the same problem with my Gunnarp light in the bathroom. Any update to this?