[gelöst]: cards footer format bei Wochentagen und Uhrzeit

Begonnen von KlaGho, 07 Dezember 2022, 18:22:38

Vorheriges Thema - Nächstes Thema

KlaGho

Hallo, ich habe ein kleines Formatierungsproblem bei cards im footer-Bereich: hier überlappen sich die Wochentage und die Uhrzeit.

Habe ich evtl. Parameter falsch gewählt? Ich habe schon ohne Erfolg mit der card Größe experimentiert.

Das problem tritt nur bei der ersten card auf (col24 !!!!)
Für Hinweise bin ich dankbar :)

[code]define sprit DOIF ##
attr sprit DbLogExclude .*
attr sprit room Spritpreise
attr sprit uiTable {package ui_Table;;}\
card([Tankstelle:SuperE10:col24],"E10","fuel","1.50","2.0",120,0,"E10",undef,"2","200,,,,,1,200,","1")|\
card([Tankstelle:SuperE10:col7d],"E10","fuel","1.50","2.0",120,0,"E10",undef,"2","200,,,,,1,200,","1")\
card([Tankstelle:SuperE10:col30d],"E10","fuel","1.50","2.0",120,0,"E10",undef,"2","200,,,,,1,200,","1")|\
card([Tankstelle:SuperE10:col365d],"E10","fuel","1.50","2.0",120,0,"E10",undef,"2","200,,,,,1,200,","1")\
##card([Tankstelle:SuperE5:col24],"E5","fuel","1.00","1.40",120,0,"E5",undef,"2","200,,,,,1,200","1")|\
##card([Tankstelle:SuperE5:col7d],"E5","fuel","1.00","1.40",120,0,"E5",undef,"2","200,,,,,1,200","1")\

#   DEF        ##
#   FUUID      636e3d56-f33f-2206-2bee-c0914ccb8710c175
#   MODEL      FHEM
#   NAME       sprit
#   NOTIFYDEV  Tankstelle,global
#   NR         634
#   NTFY_ORDER 50-sprit
#   STATE      initialized
#   TYPE       DOIF
#   VERSION    26703 2022-11-14 16:43:41
#   READINGS:
#     2022-11-11 13:17:26   cmd             0
#     2022-11-11 17:33:09   mode            enabled
#     2022-11-11 13:17:26   state           initialized
#   Regex:
#     accu:
#     collect:
#       Tankstelle:
#         collect:
#           SuperE10   ^Tankstelle$:^SuperE10:
#     uiTable:
#       Tankstelle:
#         sprit_uiTable_c_0_0_0_0:
#           SuperE10   ^Tankstelle$:^SuperE10:
#         sprit_uiTable_c_0_1_0_0:
#           SuperE10   ^Tankstelle$:^SuperE10:
#         sprit_uiTable_c_1_0_0_0:
#           SuperE10   ^Tankstelle$:^SuperE10:
#         sprit_uiTable_c_1_1_0_0:
#           SuperE10   ^Tankstelle$:^SuperE10:
#   card:
#   collect:
#     Tankstelle SuperE10:
#       168:
#         animate    0
#         dim        72
#         hours      168
#         last       
#         last_v     1.619
#         last_value 1.679
#         max_value  1.909
#         max_value_slot 14
#         max_value_time 1669959313
#         min_value  1.619
#         min_value_slot 71
#         min_value_time 1670432475
#         name       Tankstelle
#         reading    SuperE10
#         time       1670432493
#         value      1.619
#         times:
#           1669836011
#           1669844411
#           1669852811
#           1669861211
#           1669872911
#           1669882511
#           1669891212
#           1669894812
#           1669903211
#           1669917912
#           1669923012
#           1669928712
#           1669936812
#           1669945213
#           1669959313
#           1669966213
#           1669978513
#           1669979114
#           1669987214
#           1669995614
#           1670004014
#           1670015115
#           1670020816
#           1670029216
#           1670045717
#           1670052916
#           1670054716
#           1670070345
#           1670073347
#           1670079647
#           1670094751
#           1670101654
#           1670104954
#           1670120816
#           1670121719
#           1670132219
#           1670140019
#           1670148420
#           1670155320
#           1670168520
#           1670177220
#           1670180520
#           1670188921
#           1670197321
#           1670205721
#           1670218621
#           1670225521
#           1670236801
#           1670239201
#           1670247600
#           1670262018
#           1670264418
#           1670274318
#           1670281218
#           1670289618
#           1670304918
#           1670312062
#           1670318963
#           1670324663
#           1670335463
#           1670342663
#           1670348663
#           1670360663
#           1670365463
#           1670373864
#           1670382264
#           1670391265
#           1670407165
#           1670410319
#           1670420219
#           1670431446
#           1670432475
#         values:
#           1.649
#           1.649
#           1.649
#           1.649
#           1.889
#           1.819
#           1.699
#           1.729
#           1.679
#           1.709
#           1.679
#           1.719
#           1.699
#           1.699
#           1.909
#           1.839
#           1.699
#           1.749
#           1.679
#           1.719
#           1.679
#           1.719
#           1.719
#           1.719
#           1.899
#           1.819
#           1.869
#           1.749
#           1.699
#           1.729
#           1.699
#           1.739
#           1.729
#           1.729
#           1.729
#           1.899
#           1.749
#           1.699
#           1.739
#           1.709
#           1.729
#           1.699
#           1.739
#           1.739
#           1.739
#           1.899
#           1.819
#           1.729
#           1.759
#           1.709
#           1.659
#           1.689
#           1.719
#           1.699
#           1.699
#           1.879
#           1.819
#           1.729
#           1.769
#           1.639
#           1.659
#           1.639
#           1.679
#           1.679
#           1.679
#           1.679
#           1.859
#           1.749
#           1.679
#           1.619
#           1.619
#           1.619
#       24:
#         animate    0
#         dim        72
#         hours      24
#         last       
#         last_v     1.619
#         last_value 1.639
#         max_value  1.859
#         max_value_slot 39
#         max_value_time 1670394265
#         min_value  1.619
#         min_value_slot 71
#         min_value_time 1670432475
#         name       Tankstelle
#         reading    SuperE10
#         time       1670432493
#         value      1.619
#         times:
#           1670347463
#           1670348663
#           1670349863
#           1670351063
#           1670352563
#           1670353463
#           1670354663
#           1670355863
#           1670357063
#           1670358263
#           1670359463
#           1670360663
#           1670361863
#           1670363064
#           1670364264
#           1670365463
#           1670366663
#           1670367864
#           1670369063
#           1670370264
#           1670371464
#           1670372663
#           1670373864
#           1670375064
#           1670376263
#           1670377464
#           1670378663
#           1670379863
#           1670381064
#           1670382264
#           1670383464
#           1670384664
#           1670385864
#           1670387064
#           1670388264
#           1670389465
#           1670391265
#           1670391864
#           1670393065
#           1670394265
#           1670395465
#           1670396665
#           1670398465
#           1670399065
#           1670400265
#           1670401465
#           1670402665
#           1670403865
#           1670405665
#           1670407165
#           1670407465
#           1670408526
#           1670410319
#           1670411219
#           1670412119
#           1670414219
#           1670414519
#           1670416319
#           1670416919
#           1670419019
#           1670420219
#           1670420519
#           1670422020
#           1670422919
#           1670424120
#           1670425319
#           1670426519
#           1670428319
#           1670428920
#           1670431019
#           1670431446
#           1670432475
#         values:
#           1.639
#           1.639
#           1.669
#           1.669
#           1.639
#           1.639
#           1.639
#           1.639
#           1.639
#           1.639
#           1.639
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.679
#           1.859
#           1.859
#           1.859
#           1.859
#           1.829
#           1.829
#           1.789
#           1.789
#           1.839
#           1.819
#           1.819
#           1.819
#           1.759
#           1.749
#           1.749
#           1.709
#           1.679
#           1.729
#           1.729
#           1.719
#           1.719
#           1.689
#           1.689
#           1.639
#           1.619
#           1.619
#           1.659
#           1.649
#           1.649
#           1.649
#           1.649
#           1.629
#           1.629
#           1.619
#           1.619
#           1.619
#       720:
#         animate    0
#         dim        72
#         hours      720
#         last_v     1.859
#         max_value  1.929
#         max_value_slot 39
#         max_value_time 1669277006
#         min_value  1.619
#         min_value_slot 71
#         min_value_time 1670431446
#         name       Tankstelle
#         reading    SuperE10
#         time       1670432493
#         value      1.619
#         times:
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           1669211902
#           1669212202
#           1669277006
#           1669295908
#           1669354409
#           1669382350
#           1669410250
#           1669440851
#           1669484419
#           1669534093
#           1669568211
#           1669583092
#           1669633719
#           1669657255
#           1669713936
#           1669743690
#           1669786459
#           1669814286
#           1669834808
#           1669872911
#           1669900512
#           1669959313
#           1669985414
#           1670015115
#           1670070345
#           1670094751
#           1670132219
#           1670148420
#           1670218621
#           1670246101
#           1670262018
#           1670313863
#           1670335463
#           1670391265
#           1670431446
#         values:
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           1.709
#           1.749
#           1.929
#           1.709
#           1.919
#           1.699
#           1.739
#           1.919
#           1.699
#           1.849
#           1.699
#           1.739
#           1.779
#           1.679
#           1.849
#           1.649
#           1.889
#           1.649
#           1.679
#           1.889
#           1.679
#           1.909
#           1.679
#           1.719
#           1.749
#           1.699
#           1.899
#           1.699
#           1.899
#           1.709
#           1.659
#           1.869
#           1.639
#           1.859
#           1.619
#       8760:
#         animate    0
#         dim        72
#         hours      8760
#         last_v     1.749
#         max_value  1.749
#         max_value_slot 70
#         max_value_time 1670070345
#         min_value  1.619
#         min_value_slot 71
#         min_value_time 1670431446
#         name       Tankstelle
#         reading    SuperE10
#         time       1670432493
#         value      1.619
#         times:
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           1669217902
#           1669650055
#           1670070345
#           1670431446
#         values:
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           undef
#           1.749
#           1.709
#           1.749
#           1.619
#   condition:
#   do:
#     0:
#   helper:
#     NOTIFYDEV  Tankstelle,global
#     globalinit 1
#     last_timer 0
#     sleeptimer -1
#   perlblock:
#   uiState:
#   uiTable:
#     dev        Tankstelle
#     header     
#<table uitabid='DOIF-sprit' class=' block wide uiTabledoif doif-sprit ' style='border-top:none;'>
#     package    package ui_Table;
#     reading    SuperE10
#     table:
#       0:
#         0:
#           0:
#             0          package ui_Table;::DOIF_Widget($hash,$reg,'sprit_uiTable_c_0_0_0_0',card(::ReadingValDoIf($hash,'Tankstelle','SuperE10','','col24'),"E10","fuel","1.50","2.0",120,0,"E10",undef,"2","200,,,,,1,200,","1"),"")
#         1:
#           0:
#             0          package ui_Table;::DOIF_Widget($hash,$reg,'sprit_uiTable_c_0_1_0_0',card(::ReadingValDoIf($hash,'Tankstelle','SuperE10','','col7d'),"E10","fuel","1.50","2.0",120,0,"E10",undef,"2","200,,,,,1,200,","1"),"")
#       1:
#         0:
#           0:
#             0          package ui_Table;::DOIF_Widget($hash,$reg,'sprit_uiTable_c_1_0_0_0',card(::ReadingValDoIf($hash,'Tankstelle','SuperE10','','col30d'),"E10","fuel","1.50","2.0",120,0,"E10",undef,"2","200,,,,,1,200,","1"),"")
#         1:
#           0:
#             0          package ui_Table;::DOIF_Widget($hash,$reg,'sprit_uiTable_c_1_1_0_0',card(::ReadingValDoIf($hash,'Tankstelle','SuperE10','','col365d'),"E10","fuel","1.50","2.0",120,0,"E10",undef,"2","200,,,,,1,200,","1"),"")
#     tc:
#     td:
#       0:
#       1:
#     tr:
#
setstate sprit initialized
setstate sprit 2022-12-07 17:43:43 .col_72_Tankstelle_SuperE10_168_times 1669834808,1669836011,1669844411,1669852811,1669861211,1669872911,1669882511,1669891212,1669894812,1669903211,1669917912,1669923012,1669928712,1669936812,1669945213,1669959313,1669966213,1669978513,1669979114,1669987214,1669995614,1670004014,1670015115,1670020816,1670029216,1670045717,1670052916,1670054716,1670070345,1670073347,1670079647,1670094751,1670101654,1670104954,1670120816,1670121719,1670132219,1670140019,1670148420,1670155320,1670168520,1670177220,1670180520,1670188921,1670197321,1670205721,1670218621,1670225521,1670236801,1670239201,1670247600,1670262018,1670264418,1670274318,1670281218,1670289618,1670304918,1670312062,1670318963,1670324663,1670335463,1670342663,1670348663,1670360663,1670365463,1670373864,1670382264,1670391265,1670407165,1670410319,1670420219,1670424120
setstate sprit 2022-12-07 17:43:43 .col_72_Tankstelle_SuperE10_168_values 1.679,1.649,1.649,1.649,1.649,1.889,1.819,1.699,1.729,1.679,1.709,1.679,1.719,1.699,1.699,1.909,1.839,1.699,1.749,1.679,1.719,1.679,1.719,1.719,1.719,1.899,1.819,1.869,1.749,1.699,1.729,1.699,1.739,1.729,1.729,1.729,1.899,1.749,1.699,1.739,1.709,1.729,1.699,1.739,1.739,1.739,1.899,1.819,1.729,1.759,1.709,1.659,1.689,1.719,1.699,1.699,1.879,1.819,1.729,1.769,1.639,1.659,1.639,1.679,1.679,1.679,1.679,1.859,1.749,1.679,1.619,1.649
setstate sprit 2022-12-07 17:43:43 .col_72_Tankstelle_SuperE10_24_times 1670346263,1670347463,1670348663,1670349863,1670351063,1670352563,1670353463,1670354663,1670355863,1670357063,1670358263,1670359463,1670360663,1670361863,1670363064,1670364264,1670365463,1670366663,1670367864,1670369063,1670370264,1670371464,1670372663,1670373864,1670375064,1670376263,1670377464,1670378663,1670379863,1670381064,1670382264,1670383464,1670384664,1670385864,1670387064,1670388264,1670389465,1670391265,1670391864,1670393065,1670394265,1670395465,1670396665,1670398465,1670399065,1670400265,1670401465,1670402665,1670403865,1670405665,1670407165,1670407465,1670408526,1670410319,1670411219,1670412119,1670414219,1670414519,1670416319,1670416919,1670419019,1670420219,1670420519,1670422020,1670422919,1670424120,1670425319,1670426519,1670428319,1670428920,1670431019,1670431319
setstate sprit 2022-12-07 17:43:43 .col_72_Tankstelle_SuperE10_24_values 1.639,1.639,1.639,1.669,1.669,1.639,1.639,1.639,1.639,1.639,1.639,1.639,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.679,1.859,1.859,1.859,1.859,1.829,1.829,1.789,1.789,1.839,1.819,1.819,1.819,1.759,1.749,1.749,1.709,1.679,1.729,1.729,1.719,1.719,1.689,1.689,1.639,1.619,1.619,1.659,1.649,1.649,1.649,1.649,1.629,1.629,1.619,1.619
setstate sprit 2022-12-07 17:43:43 .col_72_Tankstelle_SuperE10_720_times ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1669211902,1669212202,1669277006,1669295908,1669354409,1669382350,1669410250,1669440851,1669484419,1669534093,1669568211,1669583092,1669633719,1669657255,1669713936,1669743690,1669786459,1669814286,1669834808,1669872911,1669900512,1669959313,1669985414,1670015115,1670070345,1670094751,1670132219,1670148420,1670218621,1670246101,1670262018,1670313863,1670335463,1670391265,1670420219
setstate sprit 2022-12-07 17:43:43 .col_72_Tankstelle_SuperE10_720_values ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1.709,1.749,1.929,1.709,1.919,1.699,1.739,1.919,1.699,1.849,1.699,1.739,1.779,1.679,1.849,1.649,1.889,1.649,1.679,1.889,1.679,1.909,1.679,1.719,1.749,1.699,1.899,1.699,1.899,1.709,1.659,1.869,1.639,1.859,1.619
setstate sprit 2022-12-07 17:43:43 .col_72_Tankstelle_SuperE10_8760_times ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1669217902,1669650055,1670070345,1670420219
setstate sprit 2022-12-07 17:43:43 .col_72_Tankstelle_SuperE10_8760_values ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1.749,1.709,1.749,1.619
setstate sprit 2022-11-11 13:17:26 cmd 0
setstate sprit 2022-11-11 17:33:09 mode enabled
setstate sprit 2022-11-11 13:17:26 state initialized

[/code]

Damian

Einfach die Systemsprache auf deutsch im System stellen, dann werden die Wochentage zweistellig dargestellt - das passt dann.
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

KlaGho