Volume Widget in Popup

Begonnen von fhemrj, 20 November 2017, 21:22:35

Vorheriges Thema - Nächstes Thema

fhemrj

Hallo zusammen,
zur Steuerung einer Lightify-Lampe habe ich ein Volume-Widget in ein Popup zur Farbsteuerung gesetzt
und ein zweites Popup zur Helligkeitssteuerung. Nachdem der Farbwert geändert, das Popup geschlossen und
eine andere Webseite im Tablet-UI angeklickt wurde werden nacheinander mehrere Events zur Fabänderung
ausgelöst. So ist das Popup leider nicht nutzbar.
Verwende ich das Volume-Widget ohne Popup funktioniert es einwandfrei.
<div class="inline">
<div data-type="popup"
data-draggable="false"
data-left="200"
data-height="190px"
data-width="190px">

<div data-type="symbol" data-icon="fa-paint-brush" data-background-icon="fa-circle-thin" data-on-background-color="#aa6900"></div>
<div data-type="label" class="narrow darker small top-space">Farbe</div>

<div class="dialog">
<header>Popup</header>
<div data-type="volume"
data-device="Tischlampe"
data-min="0"
data-max="65535"
data-get="hue"
data-set="hue"
class="hue-tick" >
</div>
</div>
</div>
</div>

<div class="inline">
<div class="top-space"
data-type="popup"
data-draggable="false"
data-left="200"
data-height="190px"
data-width="190px">

<div data-type="symbol" data-icon="fa-paint-brush" data-background-icon="fa-circle-thin" data-on-background-color="#aa6900"></div>
<div data-type="label" class="narrow darker small top-space">Dimmer</div>

<div class="dialog">
<header>Popup</header>
<div data-type="volume"
data-device="Tischlampe"
data-min="0"
data-max="100"
data-get="pct"
data-set="pct"
class="dim-tick" >
</div>
</div>
</div>
</div>


Kennt jemand das Problem?