{ // 'description' 'Dashboard test' 'type' 'flex' // 'scada' or 'dashboard' or 'flex'; 'cellHeight' 220 'timeZone' 'AUTO' 'options' { 'autoRefresh' 60 'unit' '°C' 'showControls' T 'showLoader' T } 'tiles' [ // Display { 'title' 'Salon' 'type' 'display' 'w' 3 'h' 1 'macro' <% { 'token' "readToken" 'class' "weather.temperature" 'labels' { 'room' 'salon' } 'start' NOW 20 m - 'end' NOW 'count' 1 } FETCH 0 GET VALUES 0 GET %> } { 'title' 'Enfants' 'type' 'display' 'w' 3 'h' 1 'unit' '°C' 'macro' <% { 'token' "readToken" 'class' "weather.temperature" 'labels' { 'room' 'enfants' } 'start' NOW 20 m - 'end' NOW 'count' 1 } FETCH 0 GET VALUES 0 GET %> } { 'title' 'Parents' 'type' 'display' 'w' 3 'h' 1 'unit' '°C' 'macro' <% { 'token' "readToken" 'class' "weather.temperature" 'labels' { 'room' 'parents' } 'start' NOW 20 m - 'end' NOW 'count' 1 } FETCH 0 GET VALUES 0 GET %> } { 'title' 'Extérieur' 'type' 'display' 'w' 3 'h' 1 'unit' '°C' 'macro' <% { 'token' "readToken" 'class' "weather.temperature" 'labels' { 'room' 'exterieur' } 'start' NOW 20 m - 'end' NOW 'count' 1 } FETCH 0 GET VALUES 0 GET %> } // Chart 48h { 'title' 'History' 'type' 'line' 'w' 12 'h' 2 'macro' <% { 'token' "readToken" 'class' "weather.temperature" 'labels' { } 'end' NOW 'start' NOW 4 d - } FETCH %> } ] }