Kontext:
smartHomeNG V1.9.0
smartVISU V3.2.0
Browser: Firefox 97.1.0 und Chrome 98.0 auf Smartphone Samsung A22 mit Android 11
Konfiguration:
Autogenerierung:
etc/plugin.yaml: -> smartvisu_pages: -> generate_pages: True
Items:
Feedback:
smartHomeNG V1.9.0
smartVISU V3.2.0
Browser: Firefox 97.1.0 und Chrome 98.0 auf Smartphone Samsung A22 mit Android 11
Konfiguration:
Autogenerierung:
etc/plugin.yaml: -> smartvisu_pages: -> generate_pages: True
Items:
Code:
... visublock01: name: Aufenthaltsraum sv_widget: "{{ device.smallshut ('', '', '..velux_rollladen.move', '..velux_rollladen.stop', '..velux_rollladen.isPosition_byte', '..velux_rollladen.predefinedPosition', 'mini') }} {{ device.uzsuicon ('', '..velux_rollladen.setPosition.uzsu', '', '', '', 'num', [0, 100, 10], '', '', 'midi') }}" ...
- Type 'mini' wird am Smartphone im Hochformat nicht richtig dargestellt, Buttons überlappen: siehe smallshut_mini_Firefox97_Android11.
Dasselbe Problem existiert mit Chrome. - Type 'midi' wird am Smartphone im Querformat nicht richtig dargestellt, Buttons überlappen: siehe smallshut_midi_querformat_Firefox97_Android11.
Type 'mini' passt im Querformat. - Dokumentation (.../smartvisu/index.php?page=device/widget_device.smallshut&pages=docu):
bitte Erläuterungen validieren und hinzufügen;- item_position: is the actual position of the shutter in bytes (0 = up/open, 255 = down/closed)
- item_saved: is an item of type boolen, that can be used to activate a saved position within the actor
- Work-around to use item_saved to set the shutter to a position saved in an item:
Code:... visublock01: name: Aufenthaltsraum sv_widget: "{{ device.smallshut ('', '', '..velux_rollladen.move', '..velux_rollladen.stop', '..velux_rollladen.isPosition_byte', '..velux_rollladen.predefinedPosition', 'mini') }} ... predefinedPosition: type: bool # smartVISU smallshut sets a '1' (bool) in item_saved -> convert to setPosition in % on_update: ..setPosition = 75 setPosition: type: num enforce_change: true # force send knx object even if value did not change knx_dpt: 5.001 knx_send: 3/3/3 ....
Kommentar