kershner / screenBloom

Fake Ambilight for Philips Hue via Python
http://www.screenbloom.com
329 stars 48 forks source link

Default Min Brightness of Bulbs #75

Open franckentien opened 6 years ago

franckentien commented 6 years ago

The default value of brightness of my bulbs was both at 254 and not a 1 & 254:

image

I have look in the code and in the templates/home.html you have write 1 at min value.

<!-- Min Brightness -->
            <div class="setting-wrapper-container" style="max-width: 100%; padding-bottom: 1em;">
                <div class="setting-wrapper-title">Min Brightness</div>

                <div class="bulb-bri-slider-output">
                    <output id="bulb-{{ light[0] }}-min-bri-slider-output">{{ light[9] }}</output>
                    <div class="bulb-slider-max">/ 254</div>
                </div>
                <input id="bulb-{{ light[0] }}-min-bri-slider" class="slider sli-min" type="range" min="1" max="{{ light[8] }}" value="{{ light[9] }}" style="max-width: 90%;">
            </div>

I don't understand why i got this bug.

Step to reproduce: refresh the page and clic on the parameter button of a blub.

Franck

kershner commented 6 years ago

Related to #83