From f2c84f09c525c46ef3a5b1cc500b0e71dff66637 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Thu, 23 Jan 2014 18:59:52 +0000 Subject: [PATCH] fhem.cfg.demo: added Dashboard example from svenson08 git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4724 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem.cfg.demo | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/fhem.cfg.demo b/fhem.cfg.demo index 2e1f6efb7..cf96c7db3 100644 --- a/fhem.cfg.demo +++ b/fhem.cfg.demo @@ -7,21 +7,24 @@ attr global room System attr global sendStatistics never attr global statefile ./demolog/fhem.save attr global updateInBackground 1 -attr global userattr Light Light_map devStateIcon devStateStyle icon sortby structexclude webCmd +attr global userattr Light Light_map devStateIcon devStateStyle icon lightSceneParamsToSave sortby structexclude webCmd attr global verbose 3 define telnetPort telnet 7072 global attr telnetPort room System define WEB FHEMWEB 8083 global +attr WEB hiddenroom DashboardRoom attr WEB iconPath openautomation:fhemSVG attr WEB room System define WEBphone FHEMWEB 8084 global +attr WEBphone hiddenroom DashboardRoom attr WEBphone room System attr WEBphone stylesheetPrefix smallscreen define WEBtablet FHEMWEB 8085 global +attr WEBtablet hiddenroom DashboardRoom attr WEBtablet iconPath openautomation:fhemSVG attr WEBtablet room System attr WEBtablet stylesheetPrefix ios7 @@ -147,3 +150,20 @@ attr lcCinema group Control attr lcCinema icon scene_scene attr lcCinema room Cinema attr lcCinema webCmd scene + +define anyViews Dashboard +attr anyViews dashboard_colcount 2 +attr anyViews dashboard_colwidth 400 +attr anyViews dashboard_lockstate lock +attr anyViews dashboard_row top-center +attr anyViews dashboard_rowtopheight 150 +attr anyViews dashboard_showhelper 0 +attr anyViews dashboard_tab1groups Light,AV,Single Lights +attr anyViews dashboard_tab1name Dashboard Demo +attr anyViews dashboard_tab1sorting t0c100,Light,true,723,132:t0c0,Single Lights,true,462,207:t0c1,AV,true,326,123: +attr anyViews dashboard_tabcount 1 +attr anyViews dashboard_width 80% + +define anyViews_weblink weblink htmlCode {DashboardAsHtml("anyViews")} +attr anyViews_weblink room DashboardRoom +