Mit Dropdown in Readingsgroup einen dummy schalten - Fehler

Begonnen von nettiger, 21 Dezember 2015, 13:43:54

Vorheriges Thema - Nächstes Thema

nettiger

Hallo zusammen,

ich kämpfe nun schon seit einiger Zeit mit einem Problem bei einem dropdown in meiner Readingsgroup.

In der Readingsgroup für meine Rolladensteuerung (welche sonst auch funktioniert) will ich ein Dropdown Feld für die Umschaltung des Modus einbauen (Zeit/Aus/Winter via sunset/sunrise).
die Steuerung dahinter funktioniert auch bereits, nur beim Dropdown hapert es noch.

Das Dropdown habe ich bereits drinnen, aber der State wert im dummy wird nicht gesetzt, wenn ich einen Wert im Dropdown auswähle.

Ich vermute ja stark einen Fehler im Commands Teil der Readingsgroup, komme aber nicht darauf.

hier mal mein code:


Internals:
   DEF        <%fts_shutter_updown>,<Position>,<Modus>,<Zeit auf>,<Zeit zu>,<Auf>,<25%>,<50%>,<75%>,<Lüftung>,<Zu>,<Stop>,<Dropdown> OG_KA_RO:pct,state@du_ka_ro_mode,state@du_og_ka_ro_opentime,state@du_og_ka_ro_closetime,<%fts_shutter_10@red>,<%fts_shutter_100@red>,<%fts_shutter_100@red>,<%fts_shutter_100@red>,<%fts_shutter_100@green>,<%fts_shutter_100@green>,<>,!dd
   NAME       rg_heatingInfo1
   NR         210
   NTFY_ORDER 50-rg_heatingInfo1
   STATE      Initialized
   TYPE       readingsGroup
   mayBeVisible 1
   Content:
     OG_KA_RO   1
   Content2:
     du_ka_ro_mode 1
     du_og_ka_ro_closetime 1
     du_og_ka_ro_opentime 1
   DEVICES:
     ARRAY(0x20dbbf8)
     ARRAY(0x2101170)
   DEVICES2:
     ARRAY(0x20dbbf8)
     ARRAY(0x2101170)
     ARRAY(0x1da7098)
     ARRAY(0x1f8f318)
     ARRAY(0x1fad8b0)
   Fhem:
     lastDefChange 18
     last_update 1450700476.99916
   Helper:
     DEF
     Cellstyle:
       r:1        style="font-weight:bold;font-size:16px"
       r:12,c:0   style="font-weight:bold"
       r:2,c:0    style="font-weight:bold"
       r:6,c:0    style="font-weight:bold"
       r:9,c:0    style="font-weight:bold"
     Commands:
       dd         du_ka_ro_mode.state:Zeit,Winter,Aus
     Mapping:
       OG_KA_RO   OG Kammer
     Positions:
       OG_KA_RO.dd 2:12
       OG_KA_RO.pct 2:1
       du_ka_ro_mode.state 2:2
       du_og_ka_ro_closetime.state 2:4
       du_og_ka_ro_opentime.state 2:3
     Valueformat:
       pct        %.0f %%
     Values:
       formated:

         ARRAY(0x221bd00)
         ARRAY(0x20b8b20)
         ARRAY(0x2057b58)
         ARRAY(0x20db0d0)







         ARRAY(0x1f8ff90)
       orig:

         ARRAY(0x228ca30)
         ARRAY(0x170a510)
         ARRAY(0x1b7efb0)
         ARRAY(0x20204d8)







         ARRAY(0x20ffd50)
       prefixsuffix:

         ARRAY(0x1fbbdb8)
         ARRAY(0x20b5c30)
         ARRAY(0x1fc03f8)
         ARRAY(0x20b6500)







         ARRAY(0x20460a0)
Attributes:
   alias      Rolladensteuerung
   cellStyle  { "r:1"=>'style="font-weight:bold;font-size:16px"', "r:2,c:0"=>'style="font-weight:bold"',"r:6,c:0" =>'style="font-weight:bold"', "r:9,c:0"=>'style="font-weight:bold"',"r:12,c:0"=>'style="font-weight:bold"'}
   commands   {'dd' => 'du_ka_ro_mode.state:Zeit,Winter,Aus'}
   fp_test    343,91,1, ,rg_heatingInfo1
   group      rolladen
   mapping    {'OG_KA_RO'=>"OG Kammer"}
   room       x_Readinggroups
   valueFormat { 'pct' => "%.0f %%" }


define rg_heatingInfo1 readingsGroup <%fts_shutter_updown>,<Position>,<Modus>,<Zeit auf>,<Zeit zu>,<Auf>,<25%>,<50%>,<75%>,<Lüftung>,<Zu>,<Stop>,<Dropdown> OG_KA_RO:pct,state@du_ka_ro_mode,state@du_og_ka_ro_opentime,state@du_og_ka_ro_closetime,<%fts_shutter_10@red>,<%fts_shutter_100@red>,<%fts_shutter_100@red>,<%fts_shutter_100@red>,<%fts_shutter_100@green>,<%fts_shutter_100@green>,<>,!dd
attr rg_heatingInfo1 alias Rolladensteuerung
attr rg_heatingInfo1 cellStyle { "r:1"=>'style="font-weight:bold;;font-size:16px"', "r:2,c:0"=>'style="font-weight:bold"',"r:6,c:0" =>'style="font-weight:bold"', "r:9,c:0"=>'style="font-weight:bold"',"r:12,c:0"=>'style="font-weight:bold"'}
attr rg_heatingInfo1 commands {'dd' => 'du_ka_ro_mode.state:Zeit,Winter,Aus'}
attr rg_heatingInfo1 fp_test 343,91,1, ,rg_heatingInfo1
attr rg_heatingInfo1 group rolladen
attr rg_heatingInfo1 mapping {'OG_KA_RO'=>"OG Kammer"}
attr rg_heatingInfo1 room x_Readinggroups
attr rg_heatingInfo1 valueFormat { 'pct' => "%.0f %%" }


Danke und Gruß
Jens