wvhn ,
jetzt bin ich echt verunsichert:
mein item:
welches UP - STOP - DOWN empfangen kann.
Wir auch im Log so dargstellt:
Ich hab dies nun auch im device.html abgeändert von:
auf:
[Zeile 6 von 1 auf 100]
und es hat soweit geklappt. Habs jetzt mal quick'n'dirty gelöst. Werde mir hier noch ein eigenes widget machen.
jetzt bin ich echt verunsichert:
mein item:
Code:
Rollershutter Rollladen_EG_KuecheWest "Roller shutter Küche West [%d %%]" (EG_Kueche) {channel="somfytahoma:rollershutter_uno:10c48439:KuecheWest:control"}
Wir auch im Log so dargstellt:
Code:
2021-12-20 17:38:27.541 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'Rollladen_EG_KuecheWest' received command UP
Code:
<td valign="bottom"> <div class="set"> {% if item_move is empty %} {{ basic.stateswitch('', item_pos, '', value_bottom|default('255'), 'carat-d') }} {% else %} {{ basic.stateswitch('', item_move, '', value_bottom|default('255') < value_top|default('0') ? 0 : 1, 'carat-d', '', '', 'blink' ) }} {% endif %} </div>
Code:
<td valign="bottom"> <div class="set"> {% if item_move is empty %} {{ basic.stateswitch('', item_pos, '', value_bottom|default('255'), 'carat-d') }} {% else %} {{ basic.stateswitch('', item_move, '', value_bottom|default('255') < value_top|default('0') ? 0 : 100, 'carat-d', '', '', 'blink' ) }} {% endif %} </div>
und es hat soweit geklappt. Habs jetzt mal quick'n'dirty gelöst. Werde mir hier noch ein eigenes widget machen.
Kommentar