mariusmotea / diyHue

Philips Hue emulator that is able to control multiple types of lights
Other
627 stars 107 forks source link

Lights Details links to empty page #497

Closed thetemplar closed 4 years ago

thetemplar commented 4 years ago

Describe the bug If I click on a specific light symbol to change the color/temperature/brightness, it links to an empty page. Only at one of my lights it opens the overlay, on the others its an empty page with html-surroundings: image

On/Off switch to the right works on all lights though!

Expected behavior image

Logs Can really show logs, because there is nothing happening when I click the not-working lights. image (on the first arrow i clicked the working light "Wohnzimmer Beamer", as shown above - on the second arrow I clicked one of the other lights.)

Additional context I installed via the curl command the last release.

mariusmotea commented 4 years ago

What type of lights you are try to control from web ui? I think you are using Deconz and sometimes Deconz send invalid colormode for CT bulbs. For every change you made to the light there must be a HTTP PUT request in logs. Also if you open the developer tools on the browser you will see the http request and the error. It is normal to see GET requests to /lights and /groups every second as the web ui try to display the lights status in real time.

thetemplar commented 4 years ago

The problem is not to change settings of the bulbs. Via Smartphone App everything works fine.

Only the "Hue Emulator" Website has a bug, that I can not adjust most of the lights, because the html/js does somehow not load the overlay with the sliders to do so. The logs do not help in this regard.

The Firefox-Console says this: image

mariusmotea commented 4 years ago

Now i'm preaty sure the issue is the one i told you, for one light the xy values are missing. You have a light that is getting wrong state from light update. Do you use Deconz? If the issue is just with one light i think you can find witch light is the problem by playing with color temperature of every light and refreshing the web ui page. When the page will be displayed corectly you know the last light you change it was the issue. By changing the color temperature of the light you force the colormode value to be set to proper value witch is ct not xy.

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 in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically closed as it has not had any recent activity. Thank you for your contributions.