Werte aus einem Dummy auf mehreren Zeilen anzeigen

Begonnen von pschlaeppi, 25 Juni 2016, 15:37:25

Vorheriges Thema - Nächstes Thema

pschlaeppi

Hallo zusammen,

Ich habe einen Dummy mit verschiedenen Readings drin die ich über die readingsGroup visualisieren möchte.
Da die Liste aber sehr breit würde, möchte ich die Werte eines einzelnen Dummys über mehrere Zeilen verteilen.

Eine erste Darstellung der angestrebten Designs ist in attachtem Screenshot sichtbar.
Im angefügten list der readingsGroup sind die vorgesehenen Zeilen aufgeführt.

Kann mir jemand einen Tipp geben ob dieses Vorhaben überhaupt so möglich ist und mit welchem Ansatz es allenfalls bewerkstelligt werden könnte?

mit freundlichem Gruss,

Philipp

Internals:
   DEF        <%edit_settings>,<Dachfenster Settings>,<Status>,<Auto>,<Lockdown>,<Von>,<Bis>,<1st>,<2nd>,<3rd>
ou.po.SW.PoolRoboter:Description,state,state@dm_auto.PoolRoboter
ou.po.SW.PoolRoboter:<Datum>,DatumVon,DatumBis
ou.po.SW.PoolRoboter:<1st Run>,Zeit1Von,Zeit1Von,Temp1,Dauer1
ou.po.SW.PoolRoboter:<2nd Run>,Zeit1Von,Zeit2Von,Temp2,Dauer2
ou.po.SW.PoolRoboter:<3rd Run>,Zeit3Von,Zeit3Von,Temp3,Dauer3
ou.po.SW.PoolFilter:Description,state,state@dm_auto.PoolFilter
ou.po.SW.PoolFilter:<Datum>,DatumVon,DatumBis
ou.po.SW.PoolFilter:<1st Run>,Zeit1Von,Zeit1Von,Temp1,Dauer1
ou.po.SW.PoolFilter:<2nd Run>,Zeit1Von,Zeit2Von,Temp2,Dauer2
ou.po.SW.PoolFilter:<3rd Run>,Zeit3Von,Zeit3Von,Temp3,Dauer3
attr rg.PoolSettings cellStyle
   NAME       rg.PoolSettings
   NR         1169
   NTFY_ORDER 50-rg.PoolSettings
   STATE      Initialized
   TYPE       readingsGroup
   mayBeVisible 1
   Content:
     ou.po.SW.PoolFilter 1
     ou.po.SW.PoolRoboter 1
     rg.PoolSettings 1
   Content2:
     dm_auto.PoolFilter 1
     dm_auto.PoolRoboter 1
   DEVICES:
     ARRAY(0x66493f8)
     ARRAY(0x5022a40)
     ARRAY(0x67229a0)
     ARRAY(0x686d668)
     ARRAY(0x8026d50)
     ARRAY(0x664da00)
     ARRAY(0x68fb868)
     ARRAY(0x6964c18)
     ARRAY(0x6042770)
     ARRAY(0x1ff05e0)
     ARRAY(0x72794f0)
     ARRAY(0x665a2d0)
   DEVICES2:
     ARRAY(0x66493f8)
     ARRAY(0x5022a40)
     ARRAY(0x67229a0)
     ARRAY(0x686d668)
     ARRAY(0x8026d50)
     ARRAY(0x664da00)
     ARRAY(0x68fb868)
     ARRAY(0x6964c18)
     ARRAY(0x6042770)
     ARRAY(0x1ff05e0)
     ARRAY(0x72794f0)
     ARRAY(0x665a2d0)
     ARRAY(0x66a81e0)
     ARRAY(0x6829af0)
   Fhem:
     lastDefChange 11751
     last_update 1466193078.73111
   Helper:
     DEF
     nameStyle  style="font-weight:bold"
     valueIcon  {temperature => '{return \'secur_locked@red\' if( $VALUE <= 2 ); return \'secur_open@green\' }', state => '%devStateIcon' }
     valueStyle style="text-align:left"
     Commands:
       Delay      Delay:
       state      state:
     Mapping:
       c:0        style="text-align:left"
       c:1        style="text-align:left"
     Nameicon:
       ou.po.SW.PoolFilter sani_pump
       ou.po.SW.PoolRoboter scene_robo_lawnmower
     Positions:
       dm_auto.PoolFilter.state 7:3
       dm_auto.PoolRoboter.state 2:3
       ou.po.SW.PoolFilter.Description 7:1
       ou.po.SW.PoolFilter.state 7:2
       ou.po.SW.PoolRoboter.Description 2:1
       ou.po.SW.PoolRoboter.state 2:2
     Valuecolumn:
       state      2
     Values:
       formated:

         ARRAY(0x45ca638)
         ARRAY(0x4599300)
         ARRAY(0x807f9d0)
       orig:

         ARRAY(0x74f1ba8)
         ARRAY(0x677cb38)
         ARRAY(0x681db50)
       prefixsuffix:

         ARRAY(0x6901490)
         ARRAY(0x6271ef8)
         ARRAY(0x72618b8)
Attributes:
   commands   {'state' => 'state:','Delay' => 'Delay:'}
   group      03 Pool Settings
   mapping    { "c:0" => 'style="text-align:left"', "c:1" => 'style="text-align:left"'}
   nameIcon   {'ou.po.SW.PoolRoboter' => 'scene_robo_lawnmower','ou.po.SW.PoolFilter' => 'sani_pump'}
   nameStyle  style="font-weight:bold"
   noheading  1
   nolinks    0
   room       Pool
   style      style="border:3px;background:none;box-shadow:none;"
   valueColumn { state => 2 }
   valueIcon  {temperature => '{return \'secur_locked@red\' if( $VALUE <= 2 ); return \'secur_open@green\' }', state => '%devStateIcon' }
   valueStyle style="text-align:left"

justme1968

du kannst mit <br> einen zeilenumbruch erzeugen.

wenn du sowieso alle readings aufzählst kannst du den dummy auch einfach zwei mal mit jeweils einem teil der readings angeben.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968