HourCounter Koste und Verbrauch aktualisieren nach Update nicht mehr

Begonnen von exot, 04 März 2018, 18:54:54

Vorheriges Thema - Nächstes Thema

exot

Hallo,
Nach einem Update am 10.02. 18 aktualisiert der HourCounter
in der Viisualisierung nicht mehr. Siehe Bild 1
In den Readings werden dagegen die Werte geändert. Bild 2+3
Im LogFile erscheint dieser Eintrag.
Wer kann mir helfen, damit die Werte wieder richtig dargestellt werden.
)
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Kosten) in void context at (eval 226135) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (%.2f €) in void context at (eval 226135) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Woche) in void context at (eval 226135) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Monat) in void context at (eval 226135) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Jahr) in void context at (eval 226135) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Kosten) in void context at (eval 226137) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (%.2f €) in void context at (eval 226137) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Woche) in void context at (eval 226137) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Monat) in void context at (eval 226137) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Jahr) in void context at (eval 226137) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Kosten) in void context at (eval 226139) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (%.2f €) in void context at (eval 226139) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Woche) in void context at (eval 226139) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Monat) in void context at (eval 226139) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Jahr) in void context at (eval 226139) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Kosten) in void context at (eval 226141) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (%.2f €) in void context at (eval 226141) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Woche) in void context at (eval 226141) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Monat) in void context at (eval 226141) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Jahr) in void context at (eval 226141) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Verbrauch) in void context at (eval 226143) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (%.2f Kg) in void context at (eval 226143) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Woche) in void context at (eval 226143) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Monat) in void context at (eval 226143) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Jahr) in void context at (eval 226143) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Verbrauch) in void context at (eval 226145) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (%.2f Kg) in void context at (eval 226145) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Woche) in void context at (eval 226145) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Monat) in void context at (eval 226145) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Jahr) in void context at (eval 226145) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Verbrauch) in void context at (eval 226147) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (%.2f Kg) in void context at (eval 226147) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Woche) in void context at (eval 226147) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Monat) in void context at (eval 226147) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Jahr) in void context at (eval 226147) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Verbrauch) in void context at (eval 226149) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (%.2f Kg) in void context at (eval 226149) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Woche) in void context at (eval 226149) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Monat) in void context at (eval 226149) line 1, <GEN30> line 12572.
2018.03.04 18:45:39 1: PERL WARNING: Useless use of a constant (Jahr) in void context at (eval 226149) line 1, <GEN30> line 12572.

Danke
Gruß Michael

exot

Hallo,
Gibt es wirklich keinen der mir behilflich sein kann.
Wenn Angaben benötigt werden, bitte posten.
Danke !
Gruß Michael

nils_

Zitat von: exot am 05 März 2018, 14:18:05
Wenn Angaben benötigt werden, bitte posten.

/post

bitte mal ein list von den devices....
viele Wege in FHEM es gibt!

exot

Moin nils,
Hier das Listing vom Brennstoffzähler:
Internals:
   DEF        GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
   NAME       CN.BrennstoffverbrauchDay
   NR         120
   NTFY_ORDER 50-CN.BrennstoffverbrauchDay
   STATE      67
   TYPE       HourCounter
   VERSION    1.0.1.2 - 24.12.2014
   READINGS:
     2018-02-11 08:20:27   Verbrauch       9.6306
     2018-03-06 00:00:00   appCountsPerDay 79
     2018-03-06 18:00:00   appCountsPerHour 5
     2018-03-06 18:48:23   appCountsPerHourTemp 5
     2018-03-01 00:00:01   appCountsPerMonth 2411
     2018-03-06 18:48:23   appCountsPerMonthTemp 517
     2018-03-04 00:00:00   appCountsPerWeek 686
     2018-03-06 18:48:23   appCountsPerWeekTemp 226
     2018-01-01 00:00:00   appCountsPerYear 10752
     2018-03-06 18:48:23   appCountsPerYearTemp 5162
     2018-03-06 00:00:00   appOpHoursPerDay 20.2319444444444
     2018-03-06 18:48:23   appOpHoursPerDayTemp 15.9755555555556
     2018-03-01 00:00:01   appOpHoursPerMonth 538.438333333333
     2018-03-06 00:00:00   appOpHoursPerMonthTemp 98.3158333333333
     2018-03-04 00:00:00   appOpHoursPerWeek 136.698888888889
     2018-03-06 00:00:00   appOpHoursPerWeekTemp 37.3847222222222
     2018-01-01 00:00:00   appOpHoursPerYear 7956.29472222222
     2018-03-06 00:00:00   appOpHoursPerYearTemp 1259.3475
     2018-03-06 00:00:00   appUtilization  84.2846716174102
     2018-03-06 18:48:23   appUtilizationTemp 84.9474912485414
     2018-03-06 18:48:23   appUtilizationTempOld 84.9487459750081
     2018-03-06 18:48:23   countsOverall   19185
     2018-03-06 18:48:23   countsPerDay    67
     2018-03-06 18:48:23   pauseTimeEdge   103
     2018-03-06 18:48:23   pauseTimeIncrement 103
     2018-03-06 18:48:23   pauseTimeOverall 5001556
     2018-03-06 18:48:23   pauseTimePerDay 10117
     2018-03-06 18:48:23   pulseTimeEdge   460
     2018-03-06 18:48:23   pulseTimeIncrement 0
     2018-03-06 18:48:23   pulseTimeOverall 38033274
     2018-03-06 18:48:23   pulseTimePerDay 57512
     2018-03-06 18:48:23   state           67
     2018-03-06 18:48:23   tickChanged     407
     2018-03-06 00:00:00   tickDay         2
     2018-03-06 18:00:00   tickHour        55
     2018-03-04 11:46:44   tickMonth       0
     2018-03-06 18:48:23   tickUpdated     363
     2018-03-04 11:46:44   tickWeek        0
     2018-03-04 11:46:44   tickYear        0
     2018-03-06 18:48:23   value           1
   helper:
     OFF_Regexp GPIOBrennstoffzaehler:off
     ON_Regexp  GPIOBrennstoffzaehler:on
     calledByEvent
     changedTimestamp 2018-03-06 18:48:23
     forceClear
     forceDayChange
     forceHourChange
     forceMonthChange
     forceWeekChange
     forceYearChange
     isFirstRun
     sdRoundHourLast 1520355600
     value      1
     cmdQueue:
Attributes:
   alias      Tag
   event-on-change-reading .*
   room       Unsorted
   sortby     1
   userReadings Verbrauch:countsPerDay {ReadingsVal("CN.BrennstoffverbrauchDay","countsPerDay",0)*0.2293;;}
   verbose    3 

Und hier die Brennstoffkosten:
Internals:
   DEF        .*:Kosten
   NAME       CN.Brennstoffkosten
   NR         126
   NTFY_ORDER 50-CN.Brennstoffkosten
   STATE      Initialized
   TYPE       readingsGroup
   CONTENT:
     ActionDetector 1
     Brennraumtemperatur 1
     BrennraumtemperaturAN 1
     CN.Brennstoffkosten 1
     CN.BrennstoffkostenDay 1
     CN.BrennstoffkostenMonth 1
     CN.BrennstoffkostenWeek 1
     CN.BrennstoffkostenYear 1
     CN.Brennstoffverbrauch 1
     CN.BrennstoffverbrauchDay 1
     CN.BrennstoffverbrauchMonth 1
     CN.BrennstoffverbrauchWeek 1
     CN.BrennstoffverbrauchYear 1
     CN.EVENT   1
     DF_Wasserstand_automatik 1
     FileLog_Brennraumtemperatur 1
     FileLog_CN.Brennstoffverbrauch 1
     FileLog_GPIO4_DS18B20_0315821fb9ff 1
     FileLog_HM_32AED8 1
     FileLog_HM_3B9BCC 1
     FileLog_HM_454323 1
     FileLog_HM_4EC118 1
     FileLog_HM_4EC127 1
     FileLog_HM_662575 1
     FileLog_HM_66271F 1
     FileLog_Rauchmelder_Dachboden 1
     FileLog_Rauchmelder_Flur 1
     FileLog_Rauchmelder_Schlafzimmer 1
     FileLog_Rollo_Diele 1
     FileLog_Rollo_Kueche 1
     FileLog_Rollo_WC 1
     FileLog_Rollo_WZ_Garten 1
     FileLog_Rollo_WZ_Terrasse 1
     FileLog_Rollo_WZ_Tuer 1
     FileLog_Temp_2PufferOben 1
     FileLog_Temp_9PufferMitte 1
     FileLog_Temp_Aussen 1
     FileLog_Temp_Foerderer 1
     FileLog_Temp_HKRL 1
     FileLog_Temp_HKVL 1
     FileLog_Temp_Heizkessel 1
     FlamLog    1
     FlammTronik 1
     GPIO4_DS18B20_0315821fb9ff 1
     GPIOBrennstoffzaehler 1
     GPIOWasserstand 1
     HMLAN1     1
     HMW_IO_12_Sw7_DR_LEQ1286311 1
     HMW_IO_12_Sw7_DR_LEQ1286311_01 1
     HMW_IO_12_Sw7_DR_LEQ1286311_02 1
     HMW_IO_12_Sw7_DR_LEQ1286311_03 1
     HMW_IO_12_Sw7_DR_LEQ1286311_04 1
     HMW_IO_12_Sw7_DR_LEQ1286311_05 1
     HMW_IO_12_Sw7_DR_LEQ1286311_06 1
     HMW_IO_12_Sw7_DR_LEQ1286311_07 1
     HMW_IO_12_Sw7_DR_LEQ1286311_08 1
     HMW_IO_12_Sw7_DR_LEQ1286311_09 1
     HMW_IO_12_Sw7_DR_LEQ1286311_10 1
     HMW_IO_12_Sw7_DR_LEQ1286311_11 1
     HMW_IO_12_Sw7_DR_LEQ1286311_12 1
     HM_32AED8  1
     HM_32AED8_SenF 1
     HM_32AED8_SenI 1
     HM_32AED8_SenU 1
     HM_454323  1
     HM_454323_Pwr 1
     HM_454323_SenF 1
     HM_454323_SenI 1
     HM_454323_SenU 1
     HM_4EC118  1
     HM_4EC118_Event 1
     HM_4EC118_T1 1
     HM_4EC118_T1_T2 1
     HM_4EC118_T2 1
     HM_4EC118_T2_T1 1
     HM_4EC127  1
     HM_4EC127_Event 1
     HM_4EC127_T1 1
     HM_4EC127_T1_T2 1
     HM_4EC127_T2 1
     HM_4EC127_T2_T1 1
     Heizkessel 1
     IMO_Baer_MiniPc 1
     LichtWetter 1
     Logfile    1
     MPM_Thoshiba 1
     RPi        1
     Rauchmelder_Dachboden 1
     Rauchmelder_Flur 1
     Rauchmelder_Schlafzimmer 1
     Rauchmelder_Team 1
     RegnerBuero 1
     RegnerGarten1 1
     RegnerGarten2 1
     RegnerOben 1
     Rollo_Diele 1
     Rollo_DieleAutoAuf 1
     Rollo_DieleAutoZu 1
     Rollo_Kueche 1
     Rollo_KuecheAutoAuf 1
     Rollo_KuecheAutoZu 1
     Rollo_WC   1
     Rollo_WCAutoAuf 1
     Rollo_WCAutoZu 1
     Rollo_WZ_Garten 1
     Rollo_WZ_GartenAutoAuf 1
     Rollo_WZ_GartenAutoZu 1
     Rollo_WZ_Terrasse 1
     Rollo_WZ_TerrasseAutoAuf 1
     Rollo_WZ_TerrasseAutoZu 1
     Rollo_WZ_Tuer 1
     Rollo_WZ_TuerAutoAuf 1
     Rollo_WZ_TuerAutoZu 1
     SVG_FileLog_Brennraumtemperatur_1 1
     SVG_FileLog_HM_4EC118_1 1
     SVG_FileLog_HM_4EC127_1 1
     SVG_FileLog_Temp_9PufferMitte_1 1
     SVG_FileLog_Temp_HKRL_1 1
     SVG_FlamLog_1 1
     SVG_FlamLog_3 1
     SVG_FlamLog_4 1
     SmartPhone 1
     SteckdosePflanzenLEDGarage 1
     SteckdosePflanzenLEDGarage_AutoAn 1
     SteckdosePflanzenLEDGarage_AutoAus 1
     SteckdosePflanzenLEDKeller 1
     SteckdosePflanzenLEDKeller_AutoAn 1
     SteckdosePflanzenLEDKeller_AutoAus 1
     TeamVirtuell 1
     Temp_2PufferOben 1
     Temp_9PufferMitte 1
     Temp_Aussen 1
     Temp_Foerderer 1
     Temp_HKRL  1
     Temp_HKVL  1
     Temp_Heizkessel 1
     VerbraucherPflanzenLEDGarage 1
     VerbraucherPflanzenLEDGarageSetzen 1
     VerbraucherPflanzenLEDKeller 1
     VerbraucherPflanzenLEDKellerSetzen 1
     VerbrauchsmessungPflanzenLEDGarage 1
     VerbrauchsmessungPflanzenLEDKeller 1
     WEB        1
     WEB_87.151.239.95_53930 1
     WEB_87.151.239.95_53932 1
     WEB_87.151.239.95_53933 1
     WEB_87.151.239.95_53934 1
     WEB_87.151.239.95_53935 1
     WEB_87.151.239.95_53936 1
     WEB_87.151.239.95_53951 1
     WEBphone   1
     WEBtablet  1
     WasserstandTeich 1
     WassersteckdoseGarten 1
     WassersteckdoseGartenAutoAus 1
     WassersteckdoseTeich 1
     WassersteckdoseTeichAutoAus 1
     Wetter     1
     allowed_WEB 1
     allowed_WEBphone 1
     allowed_WEBtablet 1
     allowed_telnetPort 1
     autocreate 1
     eventTypes 1
     fronthem   1
     global     1
     hm         1
     hm485      1
     initialUsbCheck 1
     telnetPort 1
   CONTENT2:
   DEVICES:
     ARRAY(0x31a7ad0)
     ARRAY(0x31a76e0)
     ARRAY(0x310a0c8)
     ARRAY(0x2f234b8)
     ARRAY(0x317caf0)
     ARRAY(0x3160d50)
     ARRAY(0x315fa20)
     ARRAY(0x3144320)
     ARRAY(0x31f75f8)
     ARRAY(0x3107eb8)
     ARRAY(0x31640d8)
     ARRAY(0x30efe50)
     ARRAY(0x311a1f8)
     ARRAY(0x2f2a7a0)
     ARRAY(0x31637a8)
     ARRAY(0x31a7210)
     ARRAY(0x31231f8)
     ARRAY(0x30f03c0)
     ARRAY(0x31fdc80)
     ARRAY(0x2f45b40)
     ARRAY(0x2fbfda8)
     ARRAY(0x16f8660)
     ARRAY(0x312fa40)
     ARRAY(0x2f67f98)
     ARRAY(0x31129e8)
     ARRAY(0x2f60be0)
     ARRAY(0x316bd10)
     ARRAY(0x32630f0)
     ARRAY(0x3101508)
     ARRAY(0x3169960)
     ARRAY(0x3107c00)
     ARRAY(0x3132890)
     ARRAY(0x31355a8)
     ARRAY(0x2f695c8)
     ARRAY(0x2f2cd80)
     ARRAY(0x30d0bc8)
     ARRAY(0x31aaa90)
     ARRAY(0x31b1ad8)
     ARRAY(0x3131e70)
     ARRAY(0x3109d80)
     ARRAY(0x2f97ef8)
     ARRAY(0x316be60)
     ARRAY(0x30cda08)
     ARRAY(0x31bba70)
     ARRAY(0x3130058)
     ARRAY(0x22097f0)
     ARRAY(0x2f26bd8)
     ARRAY(0x2f39108)
     ARRAY(0x30dcaf0)
     ARRAY(0x313bf78)
     ARRAY(0x2fab0d8)
     ARRAY(0x3111d58)
     ARRAY(0x2fbedc8)
     ARRAY(0x314b370)
     ARRAY(0x31666d8)
     ARRAY(0x30f19b8)
     ARRAY(0x32b7210)
     ARRAY(0x2f596f8)
     ARRAY(0x313ac30)
     ARRAY(0x31fdfc8)
     ARRAY(0x3128028)
     ARRAY(0x3177b60)
     ARRAY(0x3169c60)
     ARRAY(0x2f5aa40)
     ARRAY(0x2f51de0)
     ARRAY(0x31010a0)
     ARRAY(0x310cb00)
     ARRAY(0x2f330e8)
     ARRAY(0x31413c0)
     ARRAY(0x30c4aa8)
     ARRAY(0x3262ec8)
     ARRAY(0x3177290)
     ARRAY(0x32b72a0)
     ARRAY(0x2f2e380)
     ARRAY(0x30efaa0)
     ARRAY(0x2f19b38)
     ARRAY(0x3136858)
     ARRAY(0x31fd908)
     ARRAY(0x311fa88)
     ARRAY(0x310a218)
     ARRAY(0x32b7360)
     ARRAY(0x2f301a8)
     ARRAY(0x16f8be8)
     ARRAY(0x3107cc0)
     ARRAY(0x31897d8)
     ARRAY(0x2f28bc0)
     ARRAY(0x31ba3f0)
     ARRAY(0x312f618)
     ARRAY(0x3132170)
     ARRAY(0x3127ec0)
     ARRAY(0x31ba3c0)
     ARRAY(0x2f59ab8)
     ARRAY(0x2f59a10)
     ARRAY(0x31ba7c8)
     ARRAY(0x316d218)
     ARRAY(0x31a9f50)
     ARRAY(0x3117848)
     ARRAY(0x310c368)
     ARRAY(0x30e36c8)
     ARRAY(0x2f61b90)
     ARRAY(0x3189dc0)
     ARRAY(0x30e3e80)
     ARRAY(0x310ff58)
     ARRAY(0x31a71b0)
     ARRAY(0x318d160)
     ARRAY(0x30d3818)
     ARRAY(0x31b5ef8)
     ARRAY(0x18d9a58)
     ARRAY(0x30d37b8)
     ARRAY(0x3169288)
     ARRAY(0x2f329c8)
     ARRAY(0x2f5ec98)
     ARRAY(0x314af38)
     ARRAY(0x31097b0)
     ARRAY(0x2f28048)
     ARRAY(0x3127e90)
     ARRAY(0x3185598)
     ARRAY(0x2f68148)
     ARRAY(0x31a9ef0)
     ARRAY(0x2f602f0)
     ARRAY(0x30e3ce8)
     ARRAY(0x26901a0)
     ARRAY(0x2f2c690)
     ARRAY(0x30d14e0)
     ARRAY(0x2f68028)
     ARRAY(0x2f636e0)
     ARRAY(0x3145270)
     ARRAY(0x2f67cf8)
     ARRAY(0x31f9010)
     ARRAY(0x31b1268)
     ARRAY(0x313af30)
     ARRAY(0x31490c0)
     ARRAY(0x31b83f0)
     ARRAY(0x3177248)
     ARRAY(0x31bbcb0)
     ARRAY(0x3263d40)
     ARRAY(0x3166f90)
     ARRAY(0x30e43a8)
     ARRAY(0x313f010)
     ARRAY(0x318d9b8)
     ARRAY(0x315ae10)
     ARRAY(0x2f614b0)
     ARRAY(0x31fbb30)
     ARRAY(0x30d4c80)
     ARRAY(0x3166af8)
     ARRAY(0x3149180)
     ARRAY(0x318cf50)
     ARRAY(0x310fd30)
     ARRAY(0x2fbf428)
     ARRAY(0x31b0308)
     ARRAY(0x31418a0)
     ARRAY(0x312ea00)
     ARRAY(0x31b8510)
     ARRAY(0x31fc658)
     ARRAY(0x268d928)
     ARRAY(0x3263b48)
     ARRAY(0x315aff0)
     ARRAY(0x31acaf0)
     ARRAY(0x2fbf518)
     ARRAY(0x31ba438)
     ARRAY(0x3163f10)
     ARRAY(0x30cb480)
     ARRAY(0x30d1540)
     ARRAY(0x2bf1b68)
     ARRAY(0x3122820)
     ARRAY(0x2f59c50)
     ARRAY(0x317cd00)
     ARRAY(0x30d5250)
     ARRAY(0x2f291a8)
     ARRAY(0x2f30fc0)
   fhem:
     lastDefChange 4
     last_update 1520181450.98537
   helper:
     DEF       
     valueFormat {Tag:Kosten => "%.2f €", Woche => "%.2f €", Monat => "%.2f €", Jahr => "%.2f €"}
     valueStyle {($READING eq "pro Tag " && $VALUE > 40)?'style="color:red"':'style="color:green"'}
Attributes:
   room       1.3.1 Heizraum
   style      style="font-size:15px"
   valueFormat {Tag:Kosten => "%.2f €", Woche => "%.2f €", Monat => "%.2f €", Jahr => "%.2f €"}
   valueStyle {($READING eq "pro Tag " && $VALUE > 40)?'style="color:red"':'style="color:green"'}

Ich verstehe nur nicht was er mir hier alles anzeigt
und noch den Brennstoffverbrauch:
Internals:
   DEF        .*:Verbrauch
   NAME       CN.Brennstoffverbrauch
   NR         119
   NTFY_ORDER 50-CN.Brennstoffverbrauch
   STATE      Initialized
   TYPE       readingsGroup
   mayBeVisible 1
   CONTENT:
     ActionDetector 1
     Brennraumtemperatur 1
     BrennraumtemperaturAN 1
     CN.Brennstoffkosten 1
     CN.BrennstoffkostenDay 1
     CN.BrennstoffkostenMonth 1
     CN.BrennstoffkostenWeek 1
     CN.BrennstoffkostenYear 1
     CN.Brennstoffverbrauch 1
     CN.BrennstoffverbrauchDay 1
     CN.BrennstoffverbrauchMonth 1
     CN.BrennstoffverbrauchWeek 1
     CN.BrennstoffverbrauchYear 1
     CN.EVENT   1
     DF_Wasserstand_automatik 1
     FileLog_Brennraumtemperatur 1
     FileLog_CN.Brennstoffverbrauch 1
     FileLog_GPIO4_DS18B20_0315821fb9ff 1
     FileLog_HM_32AED8 1
     FileLog_HM_3B9BCC 1
     FileLog_HM_454323 1
     FileLog_HM_4EC118 1
     FileLog_HM_4EC127 1
     FileLog_HM_662575 1
     FileLog_HM_66271F 1
     FileLog_Rauchmelder_Dachboden 1
     FileLog_Rauchmelder_Flur 1
     FileLog_Rauchmelder_Schlafzimmer 1
     FileLog_Rollo_Diele 1
     FileLog_Rollo_Kueche 1
     FileLog_Rollo_WC 1
     FileLog_Rollo_WZ_Garten 1
     FileLog_Rollo_WZ_Terrasse 1
     FileLog_Rollo_WZ_Tuer 1
     FileLog_Temp_2PufferOben 1
     FileLog_Temp_9PufferMitte 1
     FileLog_Temp_Aussen 1
     FileLog_Temp_Foerderer 1
     FileLog_Temp_HKRL 1
     FileLog_Temp_HKVL 1
     FileLog_Temp_Heizkessel 1
     FlamLog    1
     FlammTronik 1
     GPIO4_DS18B20_0315821fb9ff 1
     GPIOBrennstoffzaehler 1
     GPIOWasserstand 1
     HMLAN1     1
     HMW_IO_12_Sw7_DR_LEQ1286311 1
     HMW_IO_12_Sw7_DR_LEQ1286311_01 1
     HMW_IO_12_Sw7_DR_LEQ1286311_02 1
     HMW_IO_12_Sw7_DR_LEQ1286311_03 1
     HMW_IO_12_Sw7_DR_LEQ1286311_04 1
     HMW_IO_12_Sw7_DR_LEQ1286311_05 1
     HMW_IO_12_Sw7_DR_LEQ1286311_06 1
     HMW_IO_12_Sw7_DR_LEQ1286311_07 1
     HMW_IO_12_Sw7_DR_LEQ1286311_08 1
     HMW_IO_12_Sw7_DR_LEQ1286311_09 1
     HMW_IO_12_Sw7_DR_LEQ1286311_10 1
     HMW_IO_12_Sw7_DR_LEQ1286311_11 1
     HMW_IO_12_Sw7_DR_LEQ1286311_12 1
     HM_32AED8  1
     HM_32AED8_SenF 1
     HM_32AED8_SenI 1
     HM_32AED8_SenU 1
     HM_454323  1
     HM_454323_Pwr 1
     HM_454323_SenF 1
     HM_454323_SenI 1
     HM_454323_SenU 1
     HM_4EC118  1
     HM_4EC118_Event 1
     HM_4EC118_T1 1
     HM_4EC118_T1_T2 1
     HM_4EC118_T2 1
     HM_4EC118_T2_T1 1
     HM_4EC127  1
     HM_4EC127_Event 1
     HM_4EC127_T1 1
     HM_4EC127_T1_T2 1
     HM_4EC127_T2 1
     HM_4EC127_T2_T1 1
     Heizkessel 1
     IMO_Baer_MiniPc 1
     LichtWetter 1
     Logfile    1
     MPM_Thoshiba 1
     RPi        1
     Rauchmelder_Dachboden 1
     Rauchmelder_Flur 1
     Rauchmelder_Schlafzimmer 1
     Rauchmelder_Team 1
     RegnerBuero 1
     RegnerGarten1 1
     RegnerGarten2 1
     RegnerOben 1
     Rollo_Diele 1
     Rollo_DieleAutoAuf 1
     Rollo_DieleAutoZu 1
     Rollo_Kueche 1
     Rollo_KuecheAutoAuf 1
     Rollo_KuecheAutoZu 1
     Rollo_WC   1
     Rollo_WCAutoAuf 1
     Rollo_WCAutoZu 1
     Rollo_WZ_Garten 1
     Rollo_WZ_GartenAutoAuf 1
     Rollo_WZ_GartenAutoZu 1
     Rollo_WZ_Terrasse 1
     Rollo_WZ_TerrasseAutoAuf 1
     Rollo_WZ_TerrasseAutoZu 1
     Rollo_WZ_Tuer 1
     Rollo_WZ_TuerAutoAuf 1
     Rollo_WZ_TuerAutoZu 1
     SVG_FileLog_Brennraumtemperatur_1 1
     SVG_FileLog_HM_4EC118_1 1
     SVG_FileLog_HM_4EC127_1 1
     SVG_FileLog_Temp_9PufferMitte_1 1
     SVG_FileLog_Temp_HKRL_1 1
     SVG_FlamLog_1 1
     SVG_FlamLog_3 1
     SVG_FlamLog_4 1
     SmartPhone 1
     SteckdosePflanzenLEDGarage 1
     SteckdosePflanzenLEDGarage_AutoAn 1
     SteckdosePflanzenLEDGarage_AutoAus 1
     SteckdosePflanzenLEDKeller 1
     SteckdosePflanzenLEDKeller_AutoAn 1
     SteckdosePflanzenLEDKeller_AutoAus 1
     TeamVirtuell 1
     Temp_2PufferOben 1
     Temp_9PufferMitte 1
     Temp_Aussen 1
     Temp_Foerderer 1
     Temp_HKRL  1
     Temp_HKVL  1
     Temp_Heizkessel 1
     VerbraucherPflanzenLEDGarage 1
     VerbraucherPflanzenLEDGarageSetzen 1
     VerbraucherPflanzenLEDKeller 1
     VerbraucherPflanzenLEDKellerSetzen 1
     VerbrauchsmessungPflanzenLEDGarage 1
     VerbrauchsmessungPflanzenLEDKeller 1
     WEB        1
     WEB_87.151.239.95_53930 1
     WEB_87.151.239.95_53932 1
     WEB_87.151.239.95_53933 1
     WEB_87.151.239.95_53934 1
     WEB_87.151.239.95_53935 1
     WEB_87.151.239.95_53936 1
     WEB_87.151.239.95_53951 1
     WEBphone   1
     WEBtablet  1
     WasserstandTeich 1
     WassersteckdoseGarten 1
     WassersteckdoseGartenAutoAus 1
     WassersteckdoseTeich 1
     WassersteckdoseTeichAutoAus 1
     Wetter     1
     allowed_WEB 1
     allowed_WEBphone 1
     allowed_WEBtablet 1
     allowed_telnetPort 1
     autocreate 1
     eventTypes 1
     fronthem   1
     global     1
     hm         1
     hm485      1
     initialUsbCheck 1
     telnetPort 1
   CONTENT2:
   DEVICES:
     ARRAY(0x3144278)
     ARRAY(0x31aa8b0)
     ARRAY(0x312f120)
     ARRAY(0x31b9ec8)
     ARRAY(0x30dc148)
     ARRAY(0x3110468)
     ARRAY(0x1d32848)
     ARRAY(0x3118178)
     ARRAY(0x3127560)
     ARRAY(0x2f5b640)
     ARRAY(0x31a6e98)
     ARRAY(0x3176ff0)
     ARRAY(0x32b6df0)
     ARRAY(0x313a8d0)
     ARRAY(0x3178a30)
     ARRAY(0x30e3da8)
     ARRAY(0x31453a8)
     ARRAY(0x2f983c0)
     ARRAY(0x30ce560)
     ARRAY(0x2f5f0e8)
     ARRAY(0x316f7a0)
     ARRAY(0x31224a8)
     ARRAY(0x2f8d858)
     ARRAY(0x2f26020)
     ARRAY(0x2fbe8d0)
     ARRAY(0x2fabca8)
     ARRAY(0x30dceb0)
     ARRAY(0x3177830)
     ARRAY(0x310fc88)
     ARRAY(0x30d4a68)
     ARRAY(0x3160a38)
     ARRAY(0x31b5ac0)
     ARRAY(0x30f4d88)
     ARRAY(0x316c4f0)
     ARRAY(0x2d4de98)
     ARRAY(0x31a70a8)
     ARRAY(0x2f98000)
     ARRAY(0x31f55b0)
     ARRAY(0x3111c50)
     ARRAY(0x31bc070)
     ARRAY(0x2f2e068)
     ARRAY(0x3112988)
     ARRAY(0x31fdce0)
     ARRAY(0x1d52fc8)
     ARRAY(0x3118640)
     ARRAY(0x3166498)
     ARRAY(0x318d9e8)
     ARRAY(0x3122b08)
     ARRAY(0x3166b28)
     ARRAY(0x3132c08)
     ARRAY(0x3188188)
     ARRAY(0x31b9dc0)
     ARRAY(0x3108128)
     ARRAY(0x30cdd80)
     ARRAY(0x3161770)
     ARRAY(0x2fab5d0)
     ARRAY(0x30f14a8)
     ARRAY(0x3109d08)
     ARRAY(0x31f8ab8)
     ARRAY(0x31b75f8)
     ARRAY(0x3112a60)
     ARRAY(0x315ee98)
     ARRAY(0x2f32d70)
     ARRAY(0x311a450)
     ARRAY(0x30f4f38)
     ARRAY(0x31bc820)
     ARRAY(0x3128208)
     ARRAY(0x30e4a68)
     ARRAY(0x3172660)
     ARRAY(0x313e3b0)
     ARRAY(0x313aa50)
     ARRAY(0x2f5a9b0)
     ARRAY(0x31278a8)
     ARRAY(0x31b6408)
     ARRAY(0x2f32c80)
     ARRAY(0x3135b08)
     ARRAY(0x3134900)
     ARRAY(0x2fab9f0)
     ARRAY(0x3149168)
     ARRAY(0x31f6d58)
     ARRAY(0x30d4180)
     ARRAY(0x2f31860)
     ARRAY(0x31a6640)
     ARRAY(0x31356b0)
     ARRAY(0x3140e08)
     ARRAY(0x310c548)
     ARRAY(0x2f45648)
     ARRAY(0x30e35a8)
     ARRAY(0x311fea8)
     ARRAY(0x317c2c8)
     ARRAY(0x31b5af0)
     ARRAY(0x3111f08)
     ARRAY(0x2f31038)
     ARRAY(0x16f9080)
     ARRAY(0x31722d0)
     ARRAY(0x31104e0)
     ARRAY(0x1fbda00)
     ARRAY(0x30dc508)
     ARRAY(0x268f400)
     ARRAY(0x30cad00)
     ARRAY(0x3120490)
     ARRAY(0x2f2d510)
     ARRAY(0x3136810)
     ARRAY(0x318cf38)
     ARRAY(0x314b340)
     ARRAY(0x3111ea8)
     ARRAY(0x31f8c08)
     ARRAY(0x1d52ef0)
     ARRAY(0x3168e20)
     ARRAY(0x2f59068)
     ARRAY(0x311dff0)
     ARRAY(0x2f63f70)
     ARRAY(0x2f2aab8)
     ARRAY(0x315b7a0)
     ARRAY(0x316fb78)
     ARRAY(0x314aba8)
     ARRAY(0x315f7b0)
     ARRAY(0x31b1be0)
     ARRAY(0x2f30028)
     ARRAY(0x31b7898)
     ARRAY(0x31a6a60)
     ARRAY(0x2fbf308)
     ARRAY(0x2f521a0)
     ARRAY(0x2f277a8)
     ARRAY(0x314aae8)
     ARRAY(0x32b6d48)
     ARRAY(0x3149150)
     ARRAY(0x311db40)
     ARRAY(0x3120538)
     ARRAY(0x3176e10)
     ARRAY(0x310cf68)
     ARRAY(0x3144988)
     ARRAY(0x3132518)
     ARRAY(0x30f50b8)
     ARRAY(0x2f31ba8)
     ARRAY(0x315ebf8)
     ARRAY(0x2f52230)
     ARRAY(0x2f47538)
     ARRAY(0x3127a40)
     ARRAY(0x31f6ed8)
     ARRAY(0x311a330)
     ARRAY(0x2f28a70)
     ARRAY(0x31f6ea8)
     ARRAY(0x3109b10)
     ARRAY(0x2fc08b8)
     ARRAY(0x310fd78)
     ARRAY(0x3161500)
     ARRAY(0x3118100)
     ARRAY(0x31fda58)
     ARRAY(0x31348b8)
     ARRAY(0x31776b0)
     ARRAY(0x31fc040)
     ARRAY(0x2fbfd90)
     ARRAY(0x30caa18)
     ARRAY(0x30eff10)
     ARRAY(0x3107738)
     ARRAY(0x315f690)
     ARRAY(0x2f62280)
     ARRAY(0x31ac3a0)
     ARRAY(0x2f2d528)
     ARRAY(0x3100e78)
     ARRAY(0x313ef20)
     ARRAY(0x2f27700)
     ARRAY(0x2f64270)
     ARRAY(0x3263f38)
     ARRAY(0x2fc0870)
     ARRAY(0x1f85ec0)
     ARRAY(0x2f30040)
     ARRAY(0x314b310)
     ARRAY(0x2f31380)
   fhem:
     lastDefChange 4
     last_update 1520181451.05524
   helper:
     DEF       
     valueFormat {Tag:Verbrauch => "%.2f Kg", Woche => "%.2f Kg", Monat => "%.2f Kg", Jahr => "%.2f Kg"}

     valueStyle {($READING eq "Tag" && $VALUE > 40)?'style="color:red"':'style="color:green"'}
     positions:
       CN.BrennstoffverbrauchDay.Verbrauch 10:1
       CN.BrennstoffverbrauchMonth.Verbrauch 11:1
       CN.BrennstoffverbrauchWeek.Verbrauch 12:1
       CN.BrennstoffverbrauchYear.Verbrauch 13:1
     values:
       formated:
         undef
         ARRAY(0x3214d88)
       orig:
         undef
         ARRAY(0x3388dc8)
       prefixsuffix:
         undef
         ARRAY(0x2f318a8)
Attributes:
   room       1.3.1 Heizraum
   style      style="font-size:15px"
   valueFormat {Tag:Verbrauch => "%.2f Kg", Woche => "%.2f Kg", Monat => "%.2f Kg", Jahr => "%.2f Kg"}

   valueStyle {($READING eq "Tag" && $VALUE > 40)?'style="color:red"':'style="color:green"'}

Auch hier wird wieder das selbe angezeigt wie bei den Kosten.
Hilft das weiter?
Danke
Gruß Michael

nils_

sorry, dafür kenne ich mich zu weing / bis gar nicht mit ReadingsGroup aus.
HourCounter würde ich evtl. ausschließen, da ist ja schon ewig nichts geändert worden dran (kann uU aber auch zum Fehler führen)

evtl. solltest du diesen Beitrag in das entsprechende Forum verschieben (siehe maintainer.txt)


und um herauszufinden ob es wirklich an deinem update lag, spiel doch einfach die version vorher wieder ein!
viele Wege in FHEM es gibt!

exot

Hallo nils,
Das Backup zurück spielen ist von der Sache her nicht verkehrt.
Nur habe ich dann keine Rauchmelder mehr im System.
Es wurde vor Installation der RM gemacht.
Gruß Michael

nils_

du musst ja deine aktuelle variante auch nicht löschen.... ;)

ging ja nur um das testen, ob mit einer alten version wieder alles läuft.



die rauchmelder-änderung hat aber keinen einfluß auf den fehler??
oder gibt es da einen zusammenhang??
viele Wege in FHEM es gibt!

exot

Hallo nils,
Nach dem Update traten zwei Probleme auf.
In einem SVG FileLog wurden zwei Temperaturen nicht mehr angezeigt.
Warum steht in den Sternen. Otto war diesbezüglich sehr hilfsbereit.
Das läuft jetzt wieder.
Der zweite Punkt ist der Kosten und Verbrauchszähler.
Ich weiß auch nicht wo ich hier noch ansetzen soll.
Es muss doch jemanden geben der damit Erfahrung hat.
Gruß Michael

exot

Moin moin,
Ich bin langsam am verzweifeln.
Ich komme nicht hinter den Grund warum nicht die richtigen werte angezeigt werden.
Im Log bin ich jetzt auf folgende Meldung gestoßen.
Useless use of a constant (Kosten) in void context at (eval 139969967) line 1.
das heißt:
Nutzloser Gebrauch einer Konstante (Kosten) im leeren Zusammenhang am (eval 139969967) Linie 1. 
Wer kann mir erklären was es damit auf sich hat.
Danke
Gruß Michael

Wzut

also was du da zusammengebaut hast verstehe ich nicht so ganz ....
zuerst der HourCounter :
userReadings Verbrauch:countsPerDay {ReadingsVal("CN.BrennstoffverbrauchDay","countsPerDay",0)*0.2293;;}
ändere den mal ab in
userReadings Verbrauch {ReadingsVal($NAME,"countsPerDay",0)*0.2293}
ich hätte da noch ein weiteres userReading erwartet mit Namen Kosten, denn wo die herkommen ist mir nicht klar.

Die Definition der readingsGroup zu Verbrauch schaut auch merkwürdig aus ( und daher auch dein ellenlanges list )
DEF        .*:Verbrauch 
Der Verbrauch kommt doch aus CN.BrennstoffverbrauchDay also warum dann nicht statt auf alle Geräte zu gehen nur dieses benutzen :
DEF        CN.BrennstoffverbrauchDay:Verbrauch 
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

exot

Hallo Wzut,
Danke für Deine Nachricht.
userReadings Verbrauch {ReadingsVal($NAME,"countsPerDay",0)*0.2293} 
habe ich geändert.
Das war schon mal ein super Erfolg. Der Tagesverbrauch wird visuell aktualisiert. :)
Internals:
   DEF        GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
   NAME       CN.BrennstoffverbrauchDay
   NR         120
   NTFY_ORDER 50-CN.BrennstoffverbrauchDay
   STATE      25
   TYPE       HourCounter
   VERSION    1.0.1.2 - 24.12.2014
   READINGS:
     2018-03-11 10:00:00   Verbrauch       5.7325
     2018-03-11 00:00:00   appCountsPerDay 75
     2018-03-11 10:00:00   appCountsPerHour 0
     2018-03-11 10:00:00   appCountsPerHourTemp 0
     2018-03-01 00:00:01   appCountsPerMonth 2411
     2018-03-11 08:14:41   appCountsPerMonthTemp 890
     2018-03-11 00:00:00   appCountsPerWeek 574
     2018-03-11 08:14:41   appCountsPerWeekTemp 25
     2018-01-01 00:00:00   appCountsPerYear 10752
     2018-03-11 08:14:41   appCountsPerYearTemp 5535
     2018-03-11 00:00:00   appOpHoursPerDay 21.6230555555556
     2018-03-11 10:00:00   appOpHoursPerDayTemp 7.16111111111111
     2018-03-01 00:00:01   appOpHoursPerMonth 538.438333333333
     2018-03-11 00:00:00   appOpHoursPerMonthTemp 196.239166666667
     2018-03-11 00:00:00   appOpHoursPerWeek 135.308055555556
     2018-03-11 00:00:00   appOpHoursPerWeekTemp 0
     2018-01-01 00:00:00   appOpHoursPerYear 7956.29472222222
     2018-03-11 00:00:00   appOpHoursPerYearTemp 1357.27083333334
     2018-03-11 00:00:00   appUtilization  89.9428799774341
     2018-03-11 10:00:00   appUtilizationTemp 71.6111111111111
     2018-03-11 10:00:00   appUtilizationTempOld 69.0865093768905
     2018-03-11 10:00:00   countsOverall   19558
     2018-03-11 10:00:00   countsPerDay    25
     2018-03-11 10:00:00   pauseTimeEdge   71
     2018-03-11 10:00:00   pauseTimeIncrement 71
     2018-03-11 10:00:00   pauseTimeOverall 5080168
     2018-03-11 10:00:00   pauseTimePerDay 10185
     2018-03-11 10:00:00   pulseTimeEdge   0
     2018-03-11 10:00:00   pulseTimeIncrement 6319
     2018-03-11 10:00:00   pulseTimeOverall 38354066
     2018-03-11 10:00:00   pulseTimePerDay 25780
     2018-03-11 10:00:00   state           25
     2018-03-11 08:14:41   tickChanged     154
     2018-03-11 00:00:00   tickDay         3
     2018-03-11 10:00:00   tickHour        71
     2018-03-08 11:02:36   tickMonth       0
     2018-03-11 10:00:00   tickUpdated     816
     2018-03-11 00:00:00   tickWeek        1
     2018-03-08 11:02:36   tickYear        0
     2018-03-11 10:00:00   value           1
   helper:
     OFF_Regexp GPIOBrennstoffzaehler:off
     ON_Regexp  GPIOBrennstoffzaehler:on
     calledByEvent
     changedTimestamp 2018-03-11 10:00:00
     forceClear
     forceDayChange
     forceHourChange
     forceMonthChange
     forceWeekChange
     forceYearChange
     isFirstRun
     sdRoundHourLast 1520758800
     value      1
     cmdQueue:
Attributes:
   alias      Tag
   event-on-change-reading .*
   room       Unsorted
   sortby     1
   userReadings Verbrauch {ReadingsVal($NAME,"countsPerDay",0)*0.2293}
   verbose    3 

Bei Woche, Monat, und Jahr steht jetzt immer noch der alte Code an.
Sollte ich den Code dort ebenfalls ändern?
Ich versuche es mal bei Woche.
Unter Readings 1. Zeile ist auf 0 gesetzt sonst ist der Selbe Inhalt wie bei Tag.
Ist das so ok?
Ich möchte nicht weiter probieren, sondern Schritt für Schritt versuchen das Problem zu lösen.
Internals:
   CHANGED   
   DEF        GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
   NAME       CN.BrennstoffverbrauchWeek
   NR         122
   NTFY_ORDER 50-CN.BrennstoffverbrauchWeek
   STATE      25
   TYPE       HourCounter
   VERSION    1.0.1.2 - 24.12.2014
   READINGS:
     2018-03-11 11:00:00   Verbrauch       0
     2018-03-11 00:00:01   appCountsPerDay 75
     2018-03-11 11:00:00   appCountsPerHour 0
     2018-03-11 11:00:00   appCountsPerHourTemp 0
     2018-03-01 00:00:01   appCountsPerMonth 2411
     2018-03-11 08:14:41   appCountsPerMonthTemp 890
     2018-03-11 00:00:01   appCountsPerWeek 574
     2018-03-11 08:14:41   appCountsPerWeekTemp 25
     2018-01-01 00:00:01   appCountsPerYear 10752
     2018-03-11 08:14:41   appCountsPerYearTemp 5535
     2018-03-11 00:00:01   appOpHoursPerDay 21.6241666666667
     2018-03-11 11:00:00   appOpHoursPerDayTemp 8.16138888888889
     2018-03-01 00:00:01   appOpHoursPerMonth 538.438888888889
     2018-03-11 00:00:01   appOpHoursPerMonthTemp 196.248055555556
     2018-03-11 00:00:01   appOpHoursPerWeek 135.314722222222
     2018-03-11 00:00:01   appOpHoursPerWeekTemp 0
     2018-01-01 00:00:01   appOpHoursPerYear 7956.34777777778
     2018-03-11 00:00:01   appOpHoursPerYearTemp 1357.28666666666
     2018-03-11 00:00:01   appUtilization  89.9475812138592
     2018-03-11 11:00:00   appUtilizationTemp 74.1944444444444
     2018-03-11 11:00:00   appUtilizationTempOld 71.6138888888889
     2018-03-11 11:00:00   countsOverall   19557
     2018-03-11 11:00:00   countsPerDay    25
     2018-03-11 11:00:00   pauseTimeEdge   72
     2018-03-11 11:00:00   pauseTimeIncrement 72
     2018-03-11 11:00:00   pauseTimeOverall 5079959
     2018-03-11 11:00:00   pauseTimePerDay 10190
     2018-03-11 11:00:00   pulseTimeEdge   0
     2018-03-11 11:00:00   pulseTimeIncrement 9918
     2018-03-11 11:00:00   pulseTimeOverall 38356214
     2018-03-11 11:00:00   pulseTimePerDay 29381
     2018-03-11 11:00:00   state           25
     2018-03-11 08:14:41   tickChanged     152
     2018-03-11 00:00:01   tickDay         3
     2018-03-11 11:00:00   tickHour        72
     2018-03-08 11:02:36   tickMonth       0
     2018-03-11 11:00:00   tickUpdated     767
     2018-03-11 00:00:01   tickWeek        1
     2018-03-08 11:02:36   tickYear        0
     2018-03-11 11:00:00   value           1
   helper:
     OFF_Regexp GPIOBrennstoffzaehler:off
     ON_Regexp  GPIOBrennstoffzaehler:on
     calledByEvent
     changedTimestamp 2018-03-11 11:00:00
     forceClear
     forceDayChange
     forceHourChange
     forceMonthChange
     forceWeekChange
     forceYearChange
     isFirstRun
     sdRoundHourLast 1520762400
     value      1
     cmdQueue:
Attributes:
   alias      Woche
   event-on-change-reading .*
   room       Unsorted
   sortby     2
   userReadings Verbrauch {ReadingsVal($NAME,"countsPerWeek",0)*0.2293}
   verbose    3


DEF        CN.BrennstoffverbrauchDay:Verbrauch 
Bei dieser Änderung wird nur noch der Tag angezeigt.
Gruß Michael




Wzut

Ohje ... so lamgsam dämmert mir was du dir da zusammengebaut hast ...
Gehe ich recht in der Annahme das du in Summe da 8 identische HourCounter laufen lässt nur um die 8 verschiedenen Werte zu bekommen ?
Wenn ja : Fang an aufzuräumen ! Nr. 2 (Woche) Nr. 3 (Monat) und Nr.4 -> löschen
Statt in jedem HC nur ein userReading zu bauen machst du alle im ersten (Tag)
userReadings Verbrauch_Tag {ReadingsVal($NAME,"countsPerDay",0)*0.2293}, Verbrauch_Woche  {ReadingsVal($NAME,"countsPerWeek",0)*0.2293}, Verbrauch_Monat {ReadingsVal($NAME,"countsPerMonth",0)*0.2293},Verbrauch_Jahr {ReadingsVal($NAME,"countsPerYear",0)*0.2293}
Da du deine Kosten vermutlich genauso umständlich erstellt hast mache mit deinen Kostenformeln weiter, also die Zeile oben noch um deine 4 Kostenwerte mit Komma getrennt dranpappen.
Nun solltest su schon mal 8 eigene Readings in deinem Hourcounter  CN.BrennstoffverbrauchDay haben , denn kannst auch umbennen in z.B. CN.Brennstoffverbrauch da in den userReadings $NAME steckt passt das ab sofort immer.

Im nächsten Schritt geht es dann an die ReadingsGroup , überlege dir ob du wieder zwei getrennte machen willst oder alles in eine packst.
DEF        CN.BrennstoffverbrauchDay:Verbrauch
natürlich ging das jetzt nur auf den Tag , ich hatte ja keine Ahnung wo die anderen Werte herkamen ....da du aber jetzt alle in einem hast :
DEF        CN.BrennstoffverbrauchDay:Verbrauch_.*
bzw. wenn schon umbennant dann natürlich
DEF        CN.Brennstoffverbrauch:Verbrauch_.*
sollen die Kosten auch noch dazu :
DEF        CN.Brennstoffverbrauch:(Verbrauch_|Kosten_).*
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

Wzut

Edit : Ich sehe gerade die Readings countsPerWeek , usw. gibt es im HC gar nicht , sollte das und die folgenden eventuell appCountsPerWeek sein ?
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

exot

Hallo Wzut,
Danke für Deine Nachricht.
ZitatGehe ich recht in der Annahme das du in Summe da 8 identische HourCounter laufen lässt nur um die 8 verschiedenen Werte zu bekommen ?
Auf dem Screenshot sind alle HC zu sehen.
Bitte;  welche soll ich löschen.
Und dann langsam weiter. Ich möchte verstehen was ich mache.
Es ist leicht jetzt mein Alter als Entschuldigung hervorzukramen,
aber es ist nun mal so, ich habe sehr spät mit Fhem angefangen und
und jetzt gehe ich auf die 70 zu. Deshalb auch exot. Bitte hab etwas Geduld  :-[
Gruß Michael

Wzut

Zitat von: exot am 11 März 2018, 17:25:28
Bitte;  welche soll ich löschen.
und jetzt gehe ich auf die 70 zu. Deshalb auch exot. Bitte hab etwas Geduld  :-[
a. alle bis auf den ersten Patient CN.BrennstoffverbrauchDay , alle anderen sind IMHO unötigen und machen die Sache nur kompliziert.
b. Alter lasse ich nicht als Entschuldigung gelten, zum einen bin ich selbst nur ein Stück jünger als du zum anderen ist alles Willensache :)
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher