[gelöst] readingsGroup für Level im AutoShuttersControl

Begonnen von cornelius fillmore, 29 Juli 2019, 07:17:50

Vorheriges Thema - Nächstes Thema

cornelius fillmore

Hallo Forum,

wer kann mich denn bei Einrichtung des o.g. unterstützen?

Bei mir sieht die Ausgabe der readings sehr merkwürdig aus.
Trotz angepasstem style und Farbpresent kommt das nicht so wie es im Wiki dargestellt ist
3 x Fhem 5.9 mit RPI

TomLee

Hier drei übliche Möglichkeiten dir weiterzuhelfen:

1. Du beschreibst das "merkwürdig ausehen" näher.
2. Du postest ein list der readingsGroup und eines der betroffenen Rollladen-Devices.
3. Du zeigst einen Screenshot  der ReadinsGroup aus dem man mglw. ableiten kann was mit  "merkwürdig ausehen" genau gemeint ist.

Gruß

Thomas

cornelius fillmore

Dann hab ich Soll und Ist als pic angehangen
3 x Fhem 5.9 mit RPI

Beta-User

Vorneweg: Bitte künftig gelöste Threads nicht "schließen", sondern einfach ein "[gelöst]" zum Threadtitel im ersten Beitrag packen.

Zitat von: TomLee am 29 Juli 2019, 12:01:47
2. Du postest ein list der readingsGroup und eines der betroffenen Rollladen-Devices.
Ohne das wird das nichts...

Und dann: Willst du jetzt die für "Level" haben, oder die für die Beschattung?
Es sieht nach ersterer aus, und das was du optisch geliefert hast, sieht danach aus, als wäre die Funktionsweise von ReadingsGroup im Allgemeinen nicht klar. Du mußt den Regex-Teil anpassen, also _nur_ die erste Zeile, wobei das eigentlich auf deine Geräte passen sollte:
(Rollo|Jalousie)_.*..:
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

cornelius fillmore

#4
Zitat von: Beta-User am 29 Juli 2019, 20:04:03
Und dann: Willst du jetzt die für "Level" haben, oder die für die Beschattung?
Zitatbeide bzw. alle drei Level, Zeiten, Beschattung
Es sieht nach ersterer aus, und das was du optisch geliefert hast, sieht danach aus, als wäre die Funktionsweise von ReadingsGroup im Allgemeinen nicht klar. Du mußt den Regex-Teil anpassen, also _nur_ die erste Zeile, wobei das eigentlich auf deine Geräte passen sollte:
(Rollo|Jalousie)_.*..:
Mir ging es halt um die optische Darstellung, da meine doch erheblich von der im Wiki abweicht
3 x Fhem 5.9 mit RPI

Beta-User

Dass es kaputt aussieht, war doch nicht die Frage....
Wenn wir helfen sollen, wird ein list oder eine RAW-Definition benötigt (immer noch....)
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

cornelius fillmore

so?
Internals:
   CFGFN     
   DEF        <Gerät>,<Modus>,<Position>,<Richtung>,<°links>,<°rechts>,<Elevation>,<Sunny>,<Cloudy>,<Min Temp> (Rollo|Jalousie)_.*..:!?ASC_Shading_Mode,!?ASC_Shading_Pos,!?ASC_Shading_Direction,!?ASC_Shading_Angle_Left,!?ASC_Shading_Angle_Right,!?ASC_Shading_MinMax_Elevation,!?ASC_Shading_StateChange_Sunny,!?ASC_Shading_StateChange_Cloudy,!?ASC_Shading_Min_OutsideTemperature  attr rg_ASC_Rolllaeden_Shading alias Rollläden: Beschattung attr rg_ASC_Rolllaeden_Shading commands
   FUUID      5d3f38cb-f33f-4662-5646-a6c4320a6cb0b7bc
   NAME       rg_ASC_Rolllaeden_Shading
   NR         707
   NTFY_ORDER 50-rg_ASC_Rolllaeden_Shading
   STATE      Initialized
   TYPE       readingsGroup
   mayBeVisible 1
   CONTENT:
     Rollo_Arbeitszimmer 1
     Rollo_EZ_Velux 1
     Rollo_Esszimmer 1
     Rollo_Galerie_li 1
     Rollo_Galerie_re 1
     Rollo_Kueche 1
     Rollo_Raven 1
     Rollo_Schlafen 1
     Rollo_Wohnen_li_1 1
     Rollo_Wohnen_li_2 1
     Rollo_Wohnen_re_1 1
     Rollo_Wohnen_re_2 1
     rg_ASC_Rolllaeden_Shading 1
   CONTENT2:
   DEVICES:
     ARRAY(0x2d2e278)
     ARRAY(0x31d3360)
     ARRAY(0x31cff10)
     ARRAY(0x2c982d8)
     ARRAY(0x2db5120)
     ARRAY(0x3292ce8)
     ARRAY(0x20b4068)
     ARRAY(0x2d0e1f8)
     ARRAY(0x3214508)
     ARRAY(0x2dc6e70)
     ARRAY(0x30db588)
     ARRAY(0x31e6818)
     ARRAY(0x3414b40)
     ARRAY(0x3214448)
     ARRAY(0x31d30d8)
   fhem:
     lastDefChange 16
     last_update 1564427729.86416
   helper:
     DEF       
     positions:
       Rollo_Arbeitszimmer.ASC_Shading_Angle_Left 2:4
       Rollo_Arbeitszimmer.ASC_Shading_Angle_Right 2:5
       Rollo_Arbeitszimmer.ASC_Shading_Direction 2:3
       Rollo_Arbeitszimmer.ASC_Shading_MinMax_Elevation 2:6
       Rollo_Arbeitszimmer.ASC_Shading_Min_OutsideTemperature 2:9
       Rollo_Arbeitszimmer.ASC_Shading_Mode 2:1
       Rollo_Arbeitszimmer.ASC_Shading_Pos 2:2
       Rollo_Arbeitszimmer.ASC_Shading_StateChange_Cloudy 2:8
       Rollo_Arbeitszimmer.ASC_Shading_StateChange_Sunny 2:7
       Rollo_EZ_Velux.ASC_Shading_Angle_Left 3:4
       Rollo_EZ_Velux.ASC_Shading_Angle_Right 3:5
       Rollo_EZ_Velux.ASC_Shading_Direction 3:3
       Rollo_EZ_Velux.ASC_Shading_MinMax_Elevation 3:6
       Rollo_EZ_Velux.ASC_Shading_Min_OutsideTemperature 3:9
       Rollo_EZ_Velux.ASC_Shading_Mode 3:1
       Rollo_EZ_Velux.ASC_Shading_Pos 3:2
       Rollo_EZ_Velux.ASC_Shading_StateChange_Cloudy 3:8
       Rollo_EZ_Velux.ASC_Shading_StateChange_Sunny 3:7
       Rollo_Esszimmer.ASC_Shading_Angle_Left 4:4
       Rollo_Esszimmer.ASC_Shading_Angle_Right 4:5
       Rollo_Esszimmer.ASC_Shading_Direction 4:3
       Rollo_Esszimmer.ASC_Shading_MinMax_Elevation 4:6
       Rollo_Esszimmer.ASC_Shading_Min_OutsideTemperature 4:9
       Rollo_Esszimmer.ASC_Shading_Mode 4:1
       Rollo_Esszimmer.ASC_Shading_Pos 4:2
       Rollo_Esszimmer.ASC_Shading_StateChange_Cloudy 4:8
       Rollo_Esszimmer.ASC_Shading_StateChange_Sunny 4:7
       Rollo_Galerie_li.ASC_Shading_Angle_Left 5:4
       Rollo_Galerie_li.ASC_Shading_Angle_Right 5:5
       Rollo_Galerie_li.ASC_Shading_Direction 5:3
       Rollo_Galerie_li.ASC_Shading_MinMax_Elevation 5:6
       Rollo_Galerie_li.ASC_Shading_Min_OutsideTemperature 5:9
       Rollo_Galerie_li.ASC_Shading_Mode 5:1
       Rollo_Galerie_li.ASC_Shading_Pos 5:2
       Rollo_Galerie_li.ASC_Shading_StateChange_Cloudy 5:8
       Rollo_Galerie_li.ASC_Shading_StateChange_Sunny 5:7
       Rollo_Galerie_re.ASC_Shading_Angle_Left 6:4
       Rollo_Galerie_re.ASC_Shading_Angle_Right 6:5
       Rollo_Galerie_re.ASC_Shading_Direction 6:3
       Rollo_Galerie_re.ASC_Shading_MinMax_Elevation 6:6
       Rollo_Galerie_re.ASC_Shading_Min_OutsideTemperature 6:9
       Rollo_Galerie_re.ASC_Shading_Mode 6:1
       Rollo_Galerie_re.ASC_Shading_Pos 6:2
       Rollo_Galerie_re.ASC_Shading_StateChange_Cloudy 6:8
       Rollo_Galerie_re.ASC_Shading_StateChange_Sunny 6:7
       Rollo_Kueche.ASC_Shading_Angle_Left 7:4
       Rollo_Kueche.ASC_Shading_Angle_Right 7:5
       Rollo_Kueche.ASC_Shading_Direction 7:3
       Rollo_Kueche.ASC_Shading_MinMax_Elevation 7:6
       Rollo_Kueche.ASC_Shading_Min_OutsideTemperature 7:9
       Rollo_Kueche.ASC_Shading_Mode 7:1
       Rollo_Kueche.ASC_Shading_Pos 7:2
       Rollo_Kueche.ASC_Shading_StateChange_Cloudy 7:8
       Rollo_Kueche.ASC_Shading_StateChange_Sunny 7:7
       Rollo_Raven.ASC_Shading_Angle_Left 8:4
       Rollo_Raven.ASC_Shading_Angle_Right 8:5
       Rollo_Raven.ASC_Shading_Direction 8:3
       Rollo_Raven.ASC_Shading_MinMax_Elevation 8:6
       Rollo_Raven.ASC_Shading_Min_OutsideTemperature 8:9
       Rollo_Raven.ASC_Shading_Mode 8:1
       Rollo_Raven.ASC_Shading_Pos 8:2
       Rollo_Raven.ASC_Shading_StateChange_Cloudy 8:8
       Rollo_Raven.ASC_Shading_StateChange_Sunny 8:7
       Rollo_Schlafen.ASC_Shading_Angle_Left 9:4
       Rollo_Schlafen.ASC_Shading_Angle_Right 9:5
       Rollo_Schlafen.ASC_Shading_Direction 9:3
       Rollo_Schlafen.ASC_Shading_MinMax_Elevation 9:6
       Rollo_Schlafen.ASC_Shading_Min_OutsideTemperature 9:9
       Rollo_Schlafen.ASC_Shading_Mode 9:1
       Rollo_Schlafen.ASC_Shading_Pos 9:2
       Rollo_Schlafen.ASC_Shading_StateChange_Cloudy 9:8
       Rollo_Schlafen.ASC_Shading_StateChange_Sunny 9:7
       Rollo_Wohnen_li_1.ASC_Shading_Angle_Left 10:4
       Rollo_Wohnen_li_1.ASC_Shading_Angle_Right 10:5
       Rollo_Wohnen_li_1.ASC_Shading_Direction 10:3
       Rollo_Wohnen_li_1.ASC_Shading_MinMax_Elevation 10:6
       Rollo_Wohnen_li_1.ASC_Shading_Min_OutsideTemperature 10:9
       Rollo_Wohnen_li_1.ASC_Shading_Mode 10:1
       Rollo_Wohnen_li_1.ASC_Shading_Pos 10:2
       Rollo_Wohnen_li_1.ASC_Shading_StateChange_Cloudy 10:8
       Rollo_Wohnen_li_1.ASC_Shading_StateChange_Sunny 10:7
       Rollo_Wohnen_li_2.ASC_Shading_Angle_Left 11:4
       Rollo_Wohnen_li_2.ASC_Shading_Angle_Right 11:5
       Rollo_Wohnen_li_2.ASC_Shading_Direction 11:3
       Rollo_Wohnen_li_2.ASC_Shading_MinMax_Elevation 11:6
       Rollo_Wohnen_li_2.ASC_Shading_Min_OutsideTemperature 11:9
       Rollo_Wohnen_li_2.ASC_Shading_Mode 11:1
       Rollo_Wohnen_li_2.ASC_Shading_Pos 11:2
       Rollo_Wohnen_li_2.ASC_Shading_StateChange_Cloudy 11:8
       Rollo_Wohnen_li_2.ASC_Shading_StateChange_Sunny 11:7
       Rollo_Wohnen_re_1.ASC_Shading_Angle_Left 12:4
       Rollo_Wohnen_re_1.ASC_Shading_Angle_Right 12:5
       Rollo_Wohnen_re_1.ASC_Shading_Direction 12:3
       Rollo_Wohnen_re_1.ASC_Shading_MinMax_Elevation 12:6
       Rollo_Wohnen_re_1.ASC_Shading_Min_OutsideTemperature 12:9
       Rollo_Wohnen_re_1.ASC_Shading_Mode 12:1
       Rollo_Wohnen_re_1.ASC_Shading_Pos 12:2
       Rollo_Wohnen_re_1.ASC_Shading_StateChange_Cloudy 12:8
       Rollo_Wohnen_re_1.ASC_Shading_StateChange_Sunny 12:7
       Rollo_Wohnen_re_2.ASC_Shading_Angle_Left 13:4
       Rollo_Wohnen_re_2.ASC_Shading_Angle_Right 13:5
       Rollo_Wohnen_re_2.ASC_Shading_Direction 13:3
       Rollo_Wohnen_re_2.ASC_Shading_MinMax_Elevation 13:6
       Rollo_Wohnen_re_2.ASC_Shading_Min_OutsideTemperature 13:9
       Rollo_Wohnen_re_2.ASC_Shading_Mode 13:1
       Rollo_Wohnen_re_2.ASC_Shading_Pos 13:2
       Rollo_Wohnen_re_2.ASC_Shading_StateChange_Cloudy 13:8
       Rollo_Wohnen_re_2.ASC_Shading_StateChange_Sunny 13:7
     values:
       formated:
         undef
         ARRAY(0x2d9f670)
         ARRAY(0x31cee28)
         ARRAY(0x2da45e0)
         ARRAY(0x3358e08)
         ARRAY(0x220d858)
         ARRAY(0x33e5f88)
         ARRAY(0x33e5d18)
         ARRAY(0x33bff60)
         ARRAY(0x2dabc20)
       orig:
         undef
         ARRAY(0x2d97fe0)
         ARRAY(0x31e2618)
         ARRAY(0x2d291f0)
         ARRAY(0x30db828)
         ARRAY(0x31e62d8)
         ARRAY(0x33c0080)
         ARRAY(0x2d29d00)
         ARRAY(0x3235840)
         ARRAY(0x220db58)
       prefixsuffix:
         undef
         ARRAY(0x31990e0)
         ARRAY(0x32661d0)
         ARRAY(0x32352a0)
         ARRAY(0x31dd338)
         ARRAY(0x328c110)
         ARRAY(0x3199110)
         ARRAY(0x33e5078)
         ARRAY(0x2d294f0)
         ARRAY(0x30dc0c8)
Attributes:
   mapping    {ASC_Shading_Pos => 'ASC_Shading_Pos:knob,min:0,max:100,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:5,lineCap:round',\ ASC_Shading_Mode => 'ASC_Shading_Mode:always,home,absent,off',\ ASC_Shading_Direction => 'ASC_Shading_Direction:knob,min:0,max:360,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:1,cursor:true,lineCap:round',\ ASC_Shading_Angle_Left => 'ASC_Shading_Angle_Left:knob,min:0,max:85,angleArc:85,rotation:anticlockwise,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:5,lineCap:round,angleOffset:270',\ ASC_Shading_Angle_Right => 'ASC_Shading_Angle_Right:knob,min:0,max:85,angleArc:85,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:5,lineCap:round,',\ ASC_Shading_MinMax_Elevation => 'ASC_Shading_MinMax_Elevation:knob,min:0,max:35,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:1,lineCap:round,angleArc:120,angleOffset:270',\ ASC_Shading_StateChange_Sunny => 'ASC_Shading_StateChange_Sunny:knob,min:100,max:1200,angleArc:85,rotation:anticlockwise,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:20,lineCap:round,angleOffset:270',\ ASC_Shading_StateChange_Cloudy => 'ASC_Shading_StateChange_Cloudy:knob,min:100,max:1200,angleArc:85,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:20,lineCap:round,',\ ASC_Shading_Min_OutsideTemperature => 'ASC_Shading_Min_OutsideTemperature:knob,min:5,max:30,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:0.5,lineCap:round,angleArc:120,angleOffset:270'} attr rg_ASC_Rolllaeden_Shading room Rollladen
   room       Steuerung->ASC
3 x Fhem 5.9 mit RPI

TomLee

Das Beispiel aus dem Wiki war nicht korrekt. Hoffe das passt jetzt.

In deiner DEF steht etwas zuviel, folglich sind die Attribute nicht richtig gesetzt.:

attr rg_ASC_Rolllaeden_Shading alias Rollläden: Beschattung attr rg_ASC_Rolllaeden_Shading commands

Keine Ahnung wie das beim einstellen passieren konnte, tut mir Leid.

cornelius fillmore

3 x Fhem 5.9 mit RPI

TomLee

Kannst du die u. a. Definition mal testen ?

Zitatdefmod rg_ASC_Rolllaeden_Shading readingsGroup <Gerät>,<Modus>,<Position>,<Richtung>,<°links>,<°rechts>,<Elevation>,<Sunny>,<Cloudy>,<Min Temp> (Rollo|Jalousie)_.*..:!?ASC_Shading_Mode,!?ASC_Shading_Pos,!?ASC_Shading_Direction,!?ASC_Shading_Angle_Left,!?ASC_Shading_Angle_Right,!?ASC_Shading_MinMax_Elevation,!?ASC_Shading_StateChange_Sunny,!?ASC_Shading_StateChange_Cloudy,!?ASC_Shading_Min_OutsideTemperature
attr rg_ASC_Rolllaeden_Shading alias Rollläden: Beschattung
attr rg_ASC_Rolllaeden_Shading commands {ASC_Shading_Pos => 'ASC_Shading_Pos:knob,min:0,max:100,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:5,lineCap:round',\
ASC_Shading_Mode => 'ASC_Shading_Mode:always,home,absent,off',\
ASC_Shading_Direction => 'ASC_Shading_Direction:knob,min:0,max:360,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:1,cursor:true,lineCap:round',\
ASC_Shading_Angle_Left => 'ASC_Shading_Angle_Left:knob,min:0,max:85,angleArc:85,rotation:anticlockwise,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:5,lineCap:round,angleOffset:270',\
ASC_Shading_Angle_Right => 'ASC_Shading_Angle_Right:knob,min:0,max:85,angleArc:85,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:5,lineCap:round,',\
ASC_Shading_MinMax_Elevation => 'ASC_Shading_MinMax_Elevation:knob,min:0,max:35,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:1,lineCap:round,angleArc:120,angleOffset:270',\
ASC_Shading_StateChange_Sunny => 'ASC_Shading_StateChange_Sunny:knob,min:100,max:40000,angleArc:85,rotation:anticlockwise,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:20,lineCap:round,angleOffset:270',\
ASC_Shading_StateChange_Cloudy => 'ASC_Shading_StateChange_Cloudy:knob,min:100,max:40000,angleArc:85,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:20,lineCap:round,',\
ASC_Shading_Min_OutsideTemperature => 'ASC_Shading_Min_OutsideTemperature:knob,min:5,max:30,width:50,height:50,fgColor:#FF9900,bgColor:#CCCCCC,step:0.5,lineCap:round,angleArc:120,angleOffset:270'}
attr rg_ASC_Rolllaeden_Shading room Rollladen

cornelius fillmore

#10
Hab mal probiert.
Textlich ist es vorhanden, aber keine grafische Darstellung oder gar pulldown Menues
Einfach mal richtig lesen hilft
Im RAW-Format eingeben und dann funzt es
3 x Fhem 5.9 mit RPI