{ "dashboards": [ { "id": "Temperature", "name": "Temperature + Humidity", "widgets": [ { "name": "", "sizeX": 2, "sizeY": 2, "item": "FF_Office_Temperature", "type": "dummy", "row": 1, "col": 0, "font_size": "30", "nolinebreak": false, "unit": "°C", "useserverformat": false, "iconset": "eclipse-smarthome-classic", "icon": "temperature", "icon_size": "64", "$$hashKey": "object:5833" }, { "name": "", "sizeX": 2, "sizeY": 2, "item": "AT_Loft_Temperature", "type": "dummy", "font_size": "30", "nolinebreak": false, "unit": "°C", "useserverformat": false, "iconset": "eclipse-smarthome-classic", "icon": "temperature", "icon_size": "64", "row": 1, "col": 2, "$$hashKey": "object:5834" }, { "name": "", "sizeX": 2, "sizeY": 2, "item": "OU_Garage_Temperature", "type": "dummy", "font_size": "30", "nolinebreak": false, "unit": "°C", "useserverformat": false, "iconset": "eclipse-smarthome-classic", "icon": "temperature", "icon_size": "64", "row": 1, "col": 4, "$$hashKey": "object:5835" }, { "name": "", "sizeX": 2, "sizeY": 1, "item": "FF_Office_Humidity", "type": "dummy", "font_size": "30", "nolinebreak": false, "unit": "%", "useserverformat": false, "iconset": "eclipse-smarthome-classic", "icon": "humidity", "icon_size": "64", "row": 3, "col": 0, "$$hashKey": "object:5836" }, { "name": "", "sizeX": 2, "sizeY": 1, "item": "AT_Loft_Humidity", "type": "dummy", "font_size": "30", "nolinebreak": false, "unit": "%", "useserverformat": false, "iconset": "eclipse-smarthome-classic", "icon": "humidity", "icon_size": "64", "row": 3, "col": 2, "$$hashKey": "object:5837" }, { "name": "", "sizeX": 2, "sizeY": 1, "item": "OU_Garage_Humidity", "type": "dummy", "font_size": "30", "nolinebreak": false, "unit": "%", "useserverformat": false, "iconset": "eclipse-smarthome-classic", "icon": "humidity", "icon_size": "64", "row": 3, "col": 4, "$$hashKey": "object:5838" }, { "name": "Office", "sizeX": 2, "sizeY": 1, "item": null, "type": "label", "row": 0, "col": 0, "font_size": "30", "$$hashKey": "object:5839" }, { "name": "Attic", "sizeX": 2, "sizeY": 1, "item": null, "type": "label", "font_size": "30", "row": 0, "col": 2, "$$hashKey": "object:5840" }, { "name": "Garage", "sizeX": 2, "sizeY": 1, "item": null, "type": "label", "font_size": "30", "row": 0, "col": 4, "$$hashKey": "object:5841" } ], "row": 0, "col": 1, "tile": { "backdrop_iconset": "eclipse-smarthome-classic", "backdrop_icon": "temperature", "backdrop_center": true, "iconset": "eclipse-smarthome-classic", "icon": "temperature", "icon_size": "64", "title_color": "#FF9900", "no_click_feedback": false }, "sizeY": 2, "$$hashKey": "object:19" }, { "id": "Office", "name": "Office", "widgets": [ { "name": "Main Light", "sizeX": 2, "sizeY": 2, "item": "FF_Office_Light", "type": "switch", "row": 0, "col": 0, "hidelabel": false, "iconset": "eclipse-smarthome-classic", "icon": "light", "icon_size": "96", "$$hashKey": "object:75" }, { "name": "New Widget", "sizeX": 4, "sizeY": 2, "item": null, "type": "clock", "row": 0, "col": 4, "mode": "Digital\n\t\t ", "font_size": "80", "$$hashKey": "object:76" }, { "name": "", "sizeX": 2, "sizeY": 2, "item": "FF_Office_Temperature", "type": "dummy", "font_size": "30", "nolinebreak": false, "unit": "°C", "useserverformat": false, "iconset": "eclipse-smarthome-classic", "icon": "temperature", "icon_size": "64", "row": 0, "col": 8, "$$hashKey": "object:77" }, { "name": "", "sizeX": 2, "sizeY": 2, "item": "FF_Office_Humidity", "type": "dummy", "font_size": "30", "nolinebreak": false, "unit": "%", "useserverformat": false, "iconset": "eclipse-smarthome-classic", "icon": "humidity", "icon_size": "64", "row": 0, "col": 10, "$$hashKey": "object:78" }, { "name": "LED Dimmer", "sizeX": 4, "sizeY": 1, "item": "FF_Office_LEDDimmer", "type": "slider", "$$hashKey": "object:111", "row": 2, "col": 0, "floor": 0, "ceil": 100, "step": 1 }, { "name": "LEDs", "sizeX": 2, "sizeY": 2, "item": "FF_Office_LED", "type": "switch", "hidelabel": false, "iconset": "eclipse-smarthome-classic", "icon": "light", "icon_size": "96", "$$hashKey": "object:1334", "row": 0, "col": 2 }, { "name": "LED Colour", "sizeX": 4, "sizeY": 3, "item": "FF_Office_LEDColour", "type": "colorpicker", "$$hashKey": "object:3098", "row": 3, "col": 0, "style": "default" }, { "name": "Window", "sizeX": 2, "sizeY": 2, "item": "FF_Office_Window", "type": "dummy", "$$hashKey": "object:3945", "row": 2, "col": 10, "iconset": "eclipse-smarthome-classic", "icon": "window", "icon_size": "96" } ], "row": 0, "col": 2, "tile": { "backdrop_iconset": "eclipse-smarthome-classic", "backdrop_icon": "suitcase", "iconset": "eclipse-smarthome-classic", "icon": "suitcase" }, "$$hashKey": "object:20" }, { "id": "Status", "name": "Status", "widgets": [ { "name": "New Widget", "sizeX": 2, "sizeY": 6, "type": "template", "customwidget": "MultiState", "row": 0, "col": 0, "config": { "item_header": "Lights", "item_groupid": "gLight", "item_type": "Showvalues_ON", "item_skipncharsindescription": null, "item_showsummary": false, "item_switchgroupall": false, "item_icon_iconset": "eclipse-smarthome-classic", "item_icon": "light" }, "$$hashKey": "object:5596" } ], "row": 0, "col": 0, "sizeY": 3, "$$hashKey": "object:18" } ], "menucolumns": 4, "settings": { "theme": "paleblue", "hide_speak_button": true, "show_header_clock": true, "speech_synthesis_voice": "Google UK English Female" }, "customwidgets": { "MultiState": { "template": "\n
\n

{{config.item_header}} : {{(itemsInGroup(config.item_groupid) | filter:{state:'ON'}).length}} von {{(itemsInGroup(config.item_groupid)).length}}

\n

{{config.item_header}}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n
{{item.label.substr(config.item_skipncharsindescription,99)}}\n
{{itemState(item.name)}}%
\n
\n\t\t\t\t\t\t\t\t
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n\n \n
\n \n \n
\n\n \t
\n
\n \n \n \n
\n
\n
\n
{{config.item_header}}
\n \t\t
\n\t\t\t
\n
\n \n \n
\n\n \t
\n \n \n \n
\n
\n
", "name": "MultiState / MultiItem display of a group of values in one widget", "author": "Michael Martens", "description": "V1 - Nov 2017 - Items of a group are shown, depending on config they are just displayed or can be changed.", "settings": [ { "type": "string", "id": "item_header", "label": "Header of table", "default": "Erdgeschoss", "description": "Enter a header, if needed" }, { "type": "item", "id": "item_groupid", "label": "GroupID", "default": "gEG", "description": "Enter the group to visualize" }, { "type": "icon", "id": "item_icon", "label": "Iconset and Icon to be displayed", "description": "What icon shall be used (e.g.: freepik-household, light-bulb-1); If empty, these icons are used" }, { "type": "choice", "choices": "Switch,Toggle,Rollershutter,Window,Showvalues_ON,Showvalues_OFF", "id": "item_type", "label": "Type of items to display", "default": "Switch", "description": "Enter here the type of switch to allow proper selection; Showvalues_O.. showing green for the selected value" }, { "type": "number", "id": "item_skipncharsindescription", "label": "Skip first n chars in description", "default": "0", "description": "if all labels start with \"EG..\" you can skip them by entering a number of chars" }, { "type": "checkbox", "id": "item_showsummary", "label": "Show summary of states", "default": true, "description": "Check if you want to see how many items are in the \"on\" state" }, { "type": "checkbox", "id": "item_switchgroupall", "label": "Offer general switch for all items", "description": "Check here to switch all items at once (No for Windows usefull)", "default": true }, { "type": "string", "id": "item_extension", "label": "Additional value", "default": "", "description": "If a second value shall be displayed as a reference, the name variable must be identical plus the value. E.g. Temp1 and Temp1_soll by naming \"_soll\"" }, { "type": "string", "id": "item_unit", "label": "Unit", "description": "If a unit shall be displayed, enter it here. E.g. \"_°C\" - with a leading underscore (converted to blanks) to create a distance" } ], "readme_url": "https://community.openhab.org/t/35913" } } }