RG Formatierungsfragen

Begonnen von Spartacus, 30 November 2016, 10:48:30

Vorheriges Thema - Nächstes Thema

Spartacus

Hallo,
ich benötige einmal einen Tipp, wie ich zwei RGs in einer Gruppe so formatiere, dass die Ausgabe sauber aussieht.
Momentan sieht das nicht so schön aus (siehe Screenshot).

Die erste RG besteht aus einer Lichszene
Die zweite RG ist eine Liste der Einzeldevices, die separat über ein DropDown einzustellen sind:

RG1:
Internals:
   CFGFN      Config/01-Wohnzimmer.cfg
   DEF        scene.EG.wz.Licht:<%scene_livingroom>,<Lichtszene&nbspEG>,<>,<>,!state
   NAME       rg.scene.EG.wz.Licht
   NR         907
   NTFY_ORDER 50-rg.scene.EG.wz.Licht
   STATE      Initialized
   TYPE       readingsGroup
   mayBeVisible 1
   Content:
     scene.EG.wz.Licht 1
   Content2:
   DEVICES:
     ARRAY(0x2cca150)
   Fhem:
     lastDefChange 63
     last_update 1480498690.20435
   Helper:
     DEF
     cellStyle  {'c:1' => 'style="width:20px"',c:2' => 'style="width:20px"',c:3' => 'style="width:20px"', c:4' => 'style="width:20px"','c:5' => 'style="width:100px"'}
     Commands:
       state      scene:
     Positions:
       scene.EG.wz.Licht.state 1:5
     Values:
       formated:





         ARRAY(0x2c61708)
       orig:





         ARRAY(0x2fc59f0)
       prefixsuffix:





         ARRAY(0x2c73db8)
Attributes:
   alias      Lichtszenen
   cellStyle  {'c:1' => 'style="width:20px"',c:2' => 'style="width:20px"',c:3' => 'style="width:20px"', c:4' => 'style="width:20px"','c:5' => 'style="width:100px"'}
   commands   { state => 'scene:' }
   group      Test
   nonames    1
   notime     1
   room       01-Wohnzimmer
   sortby     01
   style      style="border:0px;background:grey;box-shadow:none""


RG2:
Internals:
   CFGFN      Config/01-Wohnzimmer.cfg
   DEF        EG.wz.DI.Esstisch:<%light_dinner_table>,<Esstisch>,state,!Ein,!Aus,dim
EG.wz.DI.Stehlampe:<%light_floor_lamp>,<Sofa>,state,!Ein,!Aus,dim
EG.ku.DI.DeckenSpot:<%light_ceiling_light>,<DeckenSpot>,state,!Ein,!Aus,dim
   NAME       rg.01.EG.wz.DI.Licht
   NR         886
   NTFY_ORDER 50-rg.01.EG.wz.DI.Licht
   STATE      Initialized
   TYPE       readingsGroup
   mayBeVisible 1
   Content:
     EG.ku.DI.DeckenSpot 1
     EG.wz.DI.Esstisch 1
     EG.wz.DI.Stehlampe 1
   Content2:
   DEVICES:
     ARRAY(0x2c95e80)
     ARRAY(0x2b34cb0)
     ARRAY(0x2ca2350)
   Fhem:
     lastDefChange 63
     last_update 1480498686.77801
   Helper:
     DEF
     cellStyle  {'c:1' => 'style="width:20px"',c:2' => 'style="width:20px"',c:3' => 'style="width:20px"', c:4' => 'style="width:20px"','c:5' => 'style="width:100px"'}
     commands   {'Ein' => 'set $DEVICE on','Aus' => 'set $DEVICE off',  'dim' => 'dim:0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100'}
     Positions:
       EG.ku.DI.DeckenSpot.Aus 3:5
       EG.ku.DI.DeckenSpot.Ein 3:4
       EG.ku.DI.DeckenSpot.dim 3:6
       EG.ku.DI.DeckenSpot.state 3:3
       EG.wz.DI.Esstisch.Aus 1:5
       EG.wz.DI.Esstisch.Ein 1:4
       EG.wz.DI.Esstisch.dim 1:6
       EG.wz.DI.Esstisch.state 1:3
       EG.wz.DI.Stehlampe.Aus 2:5
       EG.wz.DI.Stehlampe.Ein 2:4
       EG.wz.DI.Stehlampe.dim 2:6
       EG.wz.DI.Stehlampe.state 2:3
     Valueicon:
       state      %devStateIcon
     Values:
       formated:



         ARRAY(0x2c7f930)
         ARRAY(0x2fb9a08)
         ARRAY(0x2f34118)
         ARRAY(0x2faed68)
       orig:



         ARRAY(0x2fb04f0)
         ARRAY(0x2fb4bc8)
         ARRAY(0x2fc0920)
         ARRAY(0x2f37b90)
       prefixsuffix:



         ARRAY(0x2fb34c8)
         ARRAY(0x2f32148)
         ARRAY(0x2faa9e8)
         ARRAY(0x2fc4310)
Attributes:
   alias      Beleuchtung schalten
   cellStyle  {'c:1' => 'style="width:20px"',c:2' => 'style="width:20px"',c:3' => 'style="width:20px"', c:4' => 'style="width:20px"','c:5' => 'style="width:100px"'}
   commands   {'Ein' => 'set $DEVICE on','Aus' => 'set $DEVICE off',  'dim' => 'dim:0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100'}
   group      Test
   nonames    1
   notime     1
   room       01-Wohnzimmer
   style      style="border:0px;background:none;box-shadow:none""
   valueIcon  { state => '%devStateIcon' }


Alternativ könnte man RG2 auch in RG1 integrieren. Aber das kriege ich auch nicht sauber hin. Hat jemand einen Tipp, wie man das Ganze angeht?

Christian
Fhem-System: 1 x raspberry PI Typ B, 1 x enOcean PI Typ B | Enocean: PTM210, FMS61NP, FAM14, 2 x FSR14-4x, FTS14-EM | LaCrosse: 2 x TX29D über Jeelink V3 | 1-Wire: 2 x DS18B20 über DS9490R