Metro widget sets for ioBroker.vis and
ioBroker.vis-2. Widgets are styled as Windows Metro interface.

Build with http://metroui.org.ua/.
vis and vis-2
The adapter ships every widget twice:
- vis (vis-1) uses the EJS/jQuery widget set in
widgets/metro.html. - vis-2 uses the React widget set in
widgets/vis-2-widgets-metro/, built fromsrc-widgets/.
Both declare the same widget ids (tplMetroTileBool, tplMetroTileDimmer, …) and the same attribute names, and
vis-2 prefers a React widget over an EJS one. So a project made with vis keeps working after switching to vis-2 -
the widgets simply render with the React implementation, which looks and behaves like the vis-1 one, without
jQuery, jQuery UI or CanJS.
The React widgets need vis-2 2.12.8 or newer. With an older vis-2 the EJS widgets are used.
Documentation
Every widget with its settings and pictures: English | Deutsch
Development
npm run buildbuilds the vis-2 widget set intowidgets/vis-2-widgets-metro/.npm run check-widgetschecks the React widgets against the vis-1 templates: ids, attributes, sizes, pictures and translations.npm run previewopens a page with every vis-1 template next to its React widget;npm run preview:diffcompares the two pixel by pixel and click by click (needs a local Chrome or Edge), andnpm run preview:imagesrenders the pictures of the palette and of the documentation.
Changelog
WORK IN PROGRESS
- (bluefox) All widgets were ported to vis-2 as React widgets; vis-2 uses them instead of the vis-1 widgets, and projects keep working unchanged
- (bluefox) The vis-2 palette shows a picture and a short description for every widget
- (bluefox) Added documentation for every widget with pictures (English and German)
- (bluefox) Choosing the set temperature of a heating tile fills the other states of the thermostat in vis-2 as well
- (bluefox) Corrected the German labels of the widget settings and translated the missing ones
- (bluefox) The adapter no longer requires vis; it shows a message if neither vis nor vis-2 is installed
- (bluefox) The fonts Open Sans and PT Serif Caption are shipped with the adapter and no longer loaded from Google
- (bluefox) The adapter icon is an SVG now
- (bluefox) Updated the GitHub Actions to Node.js 24 and npm trusted publishing
1.2.0 (2022-02-12)
- (bluefox) Updated build process
1.1.2 (2017-12-17)
- (bluefox) Fixed metro-string widget
1.1.1 (2017-05-27)
- (mctom) 2 Widgets added
- (buanet) fix tplMetroTileStateNumber
1.1.0 (2016-11-12)
- (bluefox) Support of new concept by vis
1.0.4 (2016-10-11)
- (bluefox) fix Metro Widget Heating
1.0.3 (2016-09-21)
- (bluefox) fix Metro Widget Tile State / val Badge Number
1.0.1 (2016-09-13)
- (bluefox) fix Metro Widget "Tile Dialog"
1.0.0 (2016-03-15)
- (bluefox) remove configuration dialog
0.2.1 (2016-01-31)
- (vore) add tplMetroTileBoolDialog
0.2.0 (2015-12-14)
- (bluefox) add custom icon for badges
0.1.11 (2015-12-03)
- (bluefox) fix Tile ValueList 8: badge icon.
0.1.10 (2015-12-01)
- (bluefox) fix bool/number widget: badge icon.
0.1.9 (2015-09-19)
- (bluefox) fix Navigation widget: Brand Background wird nicht angezeigt, sobald Brand Background inactive und Brand Background active den selben Wert haben.
- (instalator) support of old browsers
0.1.8 (2015-09-06)
- (bluefox) remove prepublish script because installation is not possible
0.1.6 (2015-08-14)
- (bluefox) prepublish script
- (bluefox) update toggle widget
0.1.5 (2015-08-12)
- (bluefox) protect against double event: click and touchstart
0.1.3 (2015-08-05)
- (bluefox) fix metro-tile-heating window icon
0.1.2 (2015-07-25)
- (bluefox) add mfd icons
- (bluefox) fix widgets with sliders if "min" != 0
0.1.1 (2015-07-10)
- (bluefox) make content_oid of "Tile Dialog / Badge Number" as object ID
0.1.0 (2015-06-29)
- (siedi) Add: Service status and humidity to heating tile
0.0.1 (2015-06-28)
- (bluefox) initial checkin
License
Copyright (c) 2013-2026 hobbyquaker https://github.com/hobbyquaker, bluefox https://github.com/GermanBluefox MIT
Third-party fonts
Both widget sets ship these fonts unmodified, so that nothing is loaded from Google. They are used on devices
without Segoe UI and Cambria; the license texts ship next to them in widgets/metro/fonts/ and
widgets/vis-2-widgets-metro/fonts/.
- Open Sans 1.10 - Regular, Light and Bold. Digitized data copyright (c) 2010-2011 Google Corporation, licensed under the Apache License, Version 2.0.
- PT Serif Caption 1.000W - Copyright (c) 2010 ParaType Ltd., with Reserved Font Names "PT Sans", "PT Serif" and "ParaType", licensed under the SIL Open Font License, Version 1.1.