Neues Modul für Abfallkalender ABFALL

Begonnen von uniqueck, 27 Januar 2016, 01:02:41

Vorheriges Thema - Nächstes Thema

ToM_ToM

Hallo Kalle,

zeig dochmal deinen Code wie du die Zahl in FUTI darstellst. Ohne diesen zu kennen können wir dir nicht sagen wo der Fehler liegt.
Hardware: BananaPi, Busmaster CUL, SanDisk 16GB Ultra SD, 16 GB USB-Stick | Software: Armbian, FHEM 5.8

kalle86

Hallo zusammen,

hier mein code aus FTUI:
<li data-row="3" data-col="1" data-sizex="3" data-sizey="2">
<header>Abfall</header>
<div class="sheet">
<div class="row">
<div class="cell">
<div data-type="symbol"
     data-device="GelberSack1" class="large warn"
     data-get="next"
     data-get-warn=".*(\d+).*"
     data-get-on='["GelberSack_.*"]'
     data-get-warn=".*([1]).*"
     data-on-colors='["#ffff00"]'
     data-icons='["fs-bag"]'></div>
          <div>Gelber Sack</div>
<div data-type="label"
     data-device="GelberSack1"
     data-get="GelberSack_date"
     class="darker"></div>
<div data-type="label"
     data-device="GelberSack1"
     data-get="GelberSack_weekday"
     class="darker"></div>
</div>
<div class="cell">
          <div data-type="symbol" data-device="BlauerSack1" class="large warn"
          data-get="next" data-get-warn=".*(\d+).*"
          data-get-on='["BlauerSack_.*"]'
          data-get-warn=".*([0|1|2]).*"
          data-on-colors='["#0000bc"]'
          data-icons='["fs-bag"]'></div>
          <div>Blauer Sack</div>
<div data-type="label"
     data-device="BlauerSack1"
     data-get="BlauerSack_date"
     class="darker"></div>
<div data-type="label"
     data-device="BlauerSack1"
     data-get="BlauerSack_weekday"
     class="darker"></div>
</div>
          <div class="cell">
          <div data-type="symbol" data-device="Restmuell1" class="large warn"
          data-get="next" data-get-warn=".*(\d+).*"
          data-get-on='["Restmuell_.*"]'
          data-get-warn=".*([0|1|2]).*"
          data-on-colors='["#989898"]'
          data-icons='["fa-trash-o"]'></div>
          <div>Rest-Müll</div>
<div data-type="label"
     data-device="Restmuell1"
     data-get="Restmuell_date"
     class="darker"></div>
<div data-type="label"
     data-device="Restmuell1"
     data-get="Restmuell_weekday"
     data-type="label"
     class="darker"></div>
</div>
</div>
</div>
</li>


wie gesagt, soweit funktioniert alles bis auf die Darstellung von zweistelligen Zahlen bis zur Abholung :-/

ToM_ToM

Hi Kalle,

Ohne deinen Abfallkalender zu kennen, würde ich jetzt nur vermuten dass deine Device-Namen und Regex falsch sind.

Dein data-device heißt z.B. GelberSack1, dein Reading sprichst du aber nur mit GelberSack_.* an.

Zu den Regex hast du folgendes definiert:
data-get-on='["GelberSack_.*"]'
Der Sinn, hier mit Regex zu arbeiten, erschließt sich mir aktuell nicht. Dass es möglich ist, hier Regex zu verwenden, ist mir auch neu.

Dein Regex würde jetzt auf alles gehen was irgendwie mit GelberSack_ beginnt.

Also im Fall des Abfallkalenders:
GelberSack_date
GelberSack_days
GelberSack_description
GelberSack_location
GelberSack_text
GelberSack_uid
GelberSack_weekday

Ändere das mal in:
data-get-on="GelberSack_days"

PS: Und bei den anderen dann natürlich auch.

Dein data-get-warn hast du 2 Mal definiert
data-get-warn=".*([1]).*"
ist nicht sehr sinnvoll. Das würde jetzt auf alles reagieren wo eine 1 drin vorkommt. Also auch 10, 11, etc...
Ich nehme an, du möchtest dass die Warnung kommt wenn es noch einen Tag hin ist?
Dann mache daraus:
data-get-warn="1"

Und das zweite:
data-get-warn=".*(\d+).*"
Hier ist es egal welche Zahl in dem Reading steht, hauptsache es ist mind. eine Ziffer drin enthalten. Ich denke, das ist auch nicht das was du willst.

Nehmen wir also an, dein Device heißt: GelberSack und dein Reading in dem die Resttage stehen, heißt GelberSack_days, dann müsste es so aussehen:


<div data-type="symbol"
     data-device="GelberSack" class="large warn"
     data-get="next"
     data-get-on="GelberSack_days"
     data-get-warn="1"
     data-on-colors='["#ffff00"]'
     data-icons='["fs-bag"]'></div>


Probier das mal aus. Wenn es nicht funktioniert, schicke bitte mal ein list von deinem Abfall-Device mit.

VG, Thomas
Hardware: BananaPi, Busmaster CUL, SanDisk 16GB Ultra SD, 16 GB USB-Stick | Software: Armbian, FHEM 5.8

tj23

Hallo ich habe das Problem, dass die Anzeige im FTUI falsch dargestellt werdn, die Tonnen erscheinen nicht. Kann mir bitte jemand weiterhelfen. Hier die Readings etc. und Ausschnitt aus der html

Internals:
   CFGFN     
   DEF        AbfallGoogleCalender 3600
   KALENDER   AbfallGoogleCalender
   NAME       myABFALL
   NOTIFYDEV  AbfallGoogleCalender
   NR         2068
   NTFY_ORDER 50-myABFALL
   STATE      6
   TYPE       ABFALL
   OLDREADINGS:
   READINGS:
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_date 07.09.2018
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_days 22
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_description Der Abfall wird im Laufe des Tages abgeholt.
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_location 54427 Kell am See
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_text A.R.T. Abfuhrtermin: Altpapier & Gelber Sack
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_uid art_gelbblau_1_20180907arttrierde
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_weekday Freitag
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminRestmuell_date 22.08.2018
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminRestmuell_days 6
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminRestmuell_description Der Abfall wird im Laufe des Tages abgeholt.
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminRestmuell_location 54427 Kell am See
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminRestmuell_text A.R.T. Abfuhrtermin: Restmüll
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminRestmuell_uid art_restmuell_2_20180822arttrierde
     2018-08-16 10:06:10   AbfallGoogleCalender_ARTAbfuhrterminRestmuell_weekday Mittwoch
     2018-08-16 10:06:10   ftui_datum      22.08.2018
     2018-08-16 10:06:10   ftui_next       AbfallGoogleCalender_ARTAbfuhrterminRestmuell_6
     2018-08-16 10:06:10   next            AbfallGoogleCalender_ARTAbfuhrterminRestmuell_6
     2018-08-16 10:06:10   next_date       22.08.2018
     2018-08-16 10:06:10   next_days       6
     2018-08-16 10:06:10   next_description Der Abfall wird im Laufe des Tages abgeholt.
     2018-08-16 10:06:10   next_location   54427 Kell am See
     2018-08-16 10:06:10   next_text       A.R.T. Abfuhrtermin: Restmüll
     2018-08-16 10:06:10   next_weekday    Mittwoch
     2018-08-16 10:06:10   state           6
Attributes:
   userReadings ftui_datum {ReadingsVal("myABFALL","now_text","") eq "" ? datumHeuteMorgen(ReadingsVal("myABFALL","next_date","")) : "heute";},ftui_next {ReadingsVal("myABFALL","now_text","") eq "" ? ReadingsVal("myABFALL","next","") : ReadingsVal("myABFALL","now","")."_0";}/code]






<li data-row="3" data-col="6" data-sizex="3" data-sizey="3">
<header><div data-type="label" class="medium orange">Abfall</div></header>
       
             <div data-type="popup" data-draggable="false" data-height="350px" data-width="550px">
             
             
             
             
             
<div data-type="symbol"
data-device="myABFALL"
                     data-get="ftui_next"
                     data-get-on='["AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_0$","AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_1$","AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_.*","AbfallGoogleCalender_ARTAbfuhrterminRestmuell_0$","AbfallGoogleCalender_ARTAbfuhrterminRestmuell_1$","AbfallGoogleCalender_ARTAbfuhrterminRestmuell_.*"]'
                     data-get-warn=".*([0|1|2]).*"
                     data-on-colors='["#E6E600","#E6E600","#E6E600","gray","gray","gray"]'
                     class="large warn narrow"
                     data-icons='["fa-trash-o fa-spin","fa-trash-o blink","fa-trash-o","fa-trash-o fa-spin","fa-trash-o blink","fa-trash-o"]'
                     />             
                <div data-device="myABFALL" data-get="ftui_datum" data-type="label" class="darker"/>   
                <div data-device="myABFALL" data-get="next_text" data-type="label" class="darker"/> 
                <div class="dialog"> 
                    <header>Abfall</header>
    <div class="cell">
    <div class="inline">
<div data-type="symbol"  data-off-background-color="#7A7A7A" data-on-background-color="#7A7A7A" data-device="myABFALL" data-get='AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_days' data-off-color="#E6E600" data-get-on='["off","^[01]$","^[1-9][0-9]|[2-9]$"]' data-icons='["fs-bag warn","fs-bag warn blink","fs-bag warn"]' data-on-colors='["#E6E600","#E6E600","#E6E600"]' class="bigger"></div>
    <div data-device="myABFALL" data-get="AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_weekday" data-type="label" class="darker"/>               
                <div data-device="myABFALL" data-get="AbfallGoogleCalender_ARTAbfuhrterminAltpapierGelberSack_date" data-type="label" class="darker"/>
                <div data-type="label" class="darker">Gelber Sack</div>
</div>

marcel151

Vielleicht packe ich es auch hier mal mit rein, dies ist ja der eigentliche Thread für das Abfallmodul. Bei mir ist aktuell das "now_text" Reading nicht verfügbar, obwohl definitiv heute die Papiertonne dran ist. Er hat mich gestern ja noch brav über "next_text" informiert. Da er für die heutige Info das "now_text" hinzuzieht funktioniert das ganze nicht. Hat jemand ähnliche Probleme?

Sailor

Ein herzerfrischendes "MoinMoin vom hintern Deich" vorweg.

Ich habe nach wie vor das Problem, dass mein Abfall-Modul die "now_" Werte nicht anzeigt.

Heute wird die Papiertonne geleert aber die "now_" Werte sind nicht da.
Die Papiertonne im Kalender zeigt schon die nächste Leerung in 28 Tagen an.

Wo liegt bloß der Hund begraben, den ich nicht finde?
Danke für Eure Hilfe vorab.

Gruss
    Sailor

Abfall Modul

File                Rev   Last Change
57_ABFALL.pm        11023 2018-06-13 12:34:34Z uniqueck
ABFALL_getEvents.pm 11023 2018-06-13 12:34:34Z uniqueck
ABFALL_setUpdate.pm 11021 2017-09-13 00:32:22Z uniqueck



Abfall Device

Internals:
   CFGFN      ./cfg/Room_OS.cfg
   DEF        OS_CalendarGarbage 3600
   KALENDER   OS_CalendarGarbage
   NAME       OS_Garbage
   NOTIFYDEV  OS_CalendarGarbage
   NR         2823
   NTFY_ORDER 50-OS_Garbage
   STATE      2
   TYPE       ABFALL
   OLDREADINGS:
   READINGS:
     2018-09-04 20:08:39   OS_CalendarGarbage_Altpapier_date 02.10.2018
     2018-09-04 20:08:39   OS_CalendarGarbage_Altpapier_days 28
     2018-09-04 20:08:39   OS_CalendarGarbage_Altpapier_description 
     2018-09-04 20:08:39   OS_CalendarGarbage_Altpapier_location
     2018-09-04 20:08:39   OS_CalendarGarbage_Altpapier_text Altpapier
     2018-09-04 20:08:39   OS_CalendarGarbage_Altpapier_uid c0bbc9f939c81499c08266ff7b1c81ca
     2018-09-04 20:08:39   OS_CalendarGarbage_Altpapier_weekday Dienstag
     2018-09-04 20:08:39   OS_CalendarGarbage_Bioabfall_date 06.09.2018
     2018-09-04 20:08:39   OS_CalendarGarbage_Bioabfall_days 2
     2018-09-04 20:08:39   OS_CalendarGarbage_Bioabfall_description 
     2018-09-04 20:08:39   OS_CalendarGarbage_Bioabfall_location
     2018-09-04 20:08:39   OS_CalendarGarbage_Bioabfall_text Bioabfall
     2018-09-04 20:08:39   OS_CalendarGarbage_Bioabfall_uid f478e66df5c4b60a6319899be17d8ffe
     2018-09-04 20:08:39   OS_CalendarGarbage_Bioabfall_weekday Donnerstag
     2018-09-04 20:08:39   OS_CalendarGarbage_Gartentonne_date 26.09.2018
     2018-09-04 20:08:39   OS_CalendarGarbage_Gartentonne_days 22
     2018-09-04 20:08:39   OS_CalendarGarbage_Gartentonne_description 
     2018-09-04 20:08:39   OS_CalendarGarbage_Gartentonne_location
     2018-09-04 20:08:39   OS_CalendarGarbage_Gartentonne_text Gartentonne
     2018-09-04 20:08:39   OS_CalendarGarbage_Gartentonne_uid af0de501445a5aeeaccf801c6450dc5b
     2018-09-04 20:08:39   OS_CalendarGarbage_Gartentonne_weekday Mittwoch
     2018-09-04 20:08:39   OS_CalendarGarbage_GelberSack_date 07.09.2018
     2018-09-04 20:08:39   OS_CalendarGarbage_GelberSack_days 3
     2018-09-04 20:08:39   OS_CalendarGarbage_GelberSack_description 
     2018-09-04 20:08:39   OS_CalendarGarbage_GelberSack_location
     2018-09-04 20:08:39   OS_CalendarGarbage_GelberSack_text Gelber Sack
     2018-09-04 20:08:39   OS_CalendarGarbage_GelberSack_uid ca1c10525be0bde625eee1d6116ab9cb
     2018-09-04 20:08:39   OS_CalendarGarbage_GelberSack_weekday Freitag
     2018-09-04 20:08:39   OS_CalendarGarbage_Hausmuell14-taeglich_date 10.09.2018
     2018-09-04 20:08:39   OS_CalendarGarbage_Hausmuell14-taeglich_days 6
     2018-09-04 20:08:39   OS_CalendarGarbage_Hausmuell14-taeglich_description 
     2018-09-04 20:08:39   OS_CalendarGarbage_Hausmuell14-taeglich_location
     2018-09-04 20:08:39   OS_CalendarGarbage_Hausmuell14-taeglich_text Hausmüll 14-täglich
     2018-09-04 20:08:39   OS_CalendarGarbage_Hausmuell14-taeglich_uid d80b71567589796b6d6bb74fd4eccedd
     2018-09-04 20:08:39   OS_CalendarGarbage_Hausmuell14-taeglich_weekday Montag
     2018-09-04 20:08:39   ftui_date       06.09.2018
     2018-09-04 20:08:39   ftui_next       OS_CalendarGarbage_Bioabfall_2
     2018-09-04 20:08:39   next            OS_CalendarGarbage_Bioabfall_2
     2018-09-04 20:08:39   next_date       06.09.2018
     2018-09-04 20:08:39   next_days       2
     2018-09-04 20:08:39   next_description 
     2018-09-04 20:08:39   next_location   
     2018-09-04 20:08:39   next_text       Bioabfall
     2018-09-04 20:08:39   next_weekday    Donnerstag
     2018-09-04 20:08:39   state           2
Attributes:
   DbLogExclude .*
   alias      Next waste collection in days
   group      Garbage
   icon       dustbin
   room       Outside
   userReadings ftui_date  {ReadingsVal("OS_Garbage","now_text","") eq "" ? DateTodayTomorrow(ReadingsVal("OS_Garbage","next_date",""))  : "today";},ftui_next {ReadingsVal("OS_Garbage","now_text","") eq "" ? ReadingsVal("OS_Garbage","next","") : ReadingsVal("OS_Garbage","now","")."_0";;}
   verbose    2


99_myUtils

###START########## Define Sub for calculation of garbage collection indicator in ftui ###########################START###
sub DateTodayTomorrow($){
my $compareDate = shift;
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
$year += 1900; $mon += 1;
my $today = sprintf('%02d.%02d.%04d', $mday, $mon, $year);
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time+86400);
$year += 1900; $mon += 1;
my $tomorrow = sprintf('%02d.%02d.%04d', $mday, $mon, $year);
return "today" if $compareDate eq $today;
return "tomorrow" if $compareDate eq $tomorrow;
return $compareDate;
}
####END########### Define Sub for calculation of garbage collection indicator in ftui ############################END####


******************************
Man wird immer besser...

tatu123

Hallo zusammen,

ich habe ein ähnliches Problem. Das Modul funktioniert so weit erst mal. Aber bei mir erstscheinen auch keine now_-Readings und das schlimmere das Modul updatet sich NICHT eigenständig. Bei manuellem Update tut alles wie es soll.

Ich habe dem Kalender zum Test auf 60s gestellt um testen zu können.

Vielleicht hat je einer eine Idee was bei mir falsch läuft.

Danke
Heiko

Version: # $Id: 57_ABFALL.pm 11023 2018-06-13 12:34:34Z uniqueck $

Kalender-DEF:
defmod Abfall_cal Calendar ical url https://calendar.google.com/calen...../basic.ics 60
attr Abfall_cal event-on-change-reading modeStarted,modeEnded,modeChanged,modeUpcoming
attr Abfall_cal group Kalender
attr Abfall_cal hideOlderThan 3600
attr Abfall_cal room Kalendar,all
attr Abfall_cal update async
attr Abfall_cal verbose 5

setstate Abfall_cal triggered
setstate Abfall_cal 2018-09-06 09:52:13 calname Abfuhr-2
setstate Abfall_cal 2018-09-06 09:52:13 lastUpdate 2018-09-06 09:52:11
setstate Abfall_cal 2018-08-13 16:52:49 modeAlarm
setstate Abfall_cal 2018-09-06 09:00:00 modeAlarmOrStart
setstate Abfall_cal 2018-08-08 19:43:31 modeAlarmed
setstate Abfall_cal 2018-09-06 09:00:45 modeChanged
setstate Abfall_cal 2018-09-06 09:52:13 modeEnd 20180904T000000_20542stadtplan;;20180807T000000_20542stadtplan;;20180821T000000_20542stadtplan;;20180823T000000_20542stadtplan  ;;20180815T000000_20542stadtplan;;20180828T000000_20542stadtplan;;20180906T000000_20542stadtplan;;20180829T000000_20542stadtplan;;20180809T000000_20542stadtplan;;20180814T000000_20542stadtplan 
setstate Abfall_cal 2018-09-06 09:00:45 modeEnded
setstate Abfall_cal 2018-09-06 09:00:00 modeStart
setstate Abfall_cal 2018-09-06 00:00:43 modeStarted
setstate Abfall_cal 2018-09-06 09:52:13 modeUpcoming 20181213T000000_20542stadtplan;;20181002T000000_20542stadtplan;;20181005T000000_20542stadtplan;;20181226T010000_20542_rmbstadtplan  ;;20181010T000000_20542stadtplan;;20180912T000000_20542stadtplan;;20180918T000000_20542stadtplan;;20181018T000000_20542stadtplan;;20181228T000000_20542stadtplan;;20181030T000000_20542stadtplan;;20181024T000000_20542stadtplan;;20181113T000000_20542stadtplan;;20180926T000000_20542stadtplan;;20181009T000000_20542stadtplan;;20181115T000000_20542stadtplan;;20181226T000000_20542stadtplan;;20181211T000000_20542stadtplan;;20181122T000000_20542stadtplan;;20181106T000000_20542stadtplan;;20181023T000000_20542stadtplan;;20181129T000000_20542stadtplan;;20181218T000000_20542stadtplan;;20181127T000000_20542stadtplan;;20181219T000000_20542stadtplan;;20181204T000000_20542stadtplan;;20180925T000000_20542stadtplan;;20180911T000000_20542stadtplan;;20181102T000000_20542stadtplan;;20181016T000000_20542stadtplan;;20181107T000000_20542stadtplan;;20180920T000000_20542stadtplan;;20181205T000000_20542stadtplan;;20181120T000000_20542stadtplan 
setstate Abfall_cal 2018-09-06 09:52:13 nextUpdate 2018-09-06 09:53:11
setstate Abfall_cal 2018-09-06 09:52:13 nextWakeup 2018-09-06 09:53:11
setstate Abfall_cal 2018-09-06 09:52:13 state triggered


myABFALL vor manuellem Update:
Internals:
   DEF        Abfall_cal
   KALENDER   Abfall_cal
   NAME       myABFALL
   NOTIFYDEV  Abfall_cal
   NR         254
   NTFY_ORDER 50-myABFALL
   STATE      next_text in next_days Tag(en)
   TYPE       ABFALL
   Helper:
     DBLOG:
       state:
         myDbLog:
           TIME       1536158973.42866
           VALUE      Keine Abholungen
   OLDREADINGS:
   READINGS:
     2018-09-05 16:08:55   ftui_next       
     2018-09-05 16:49:33   state           Keine Abholungen
Attributes:
   calendarname_praefix 0
   date_style date
   delimiter_reading |
   delimiter_text_reading und
   group      Abfall
   room       Kalendar,all
   stateFormat next_text in next_days Tag(en)
   verbose    5
   weekday_mapping Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag


myABFALL nach manuellem Update:
Internals:
   DEF        Abfall_cal
   KALENDER   Abfall_cal
   NAME       myABFALL
   NOTIFYDEV  Abfall_cal
   NR         254
   NTFY_ORDER 50-myABFALL
   STATE      Bio-Tonne, Restabfall in 5 Tag(en)
   TYPE       ABFALL
   Helper:
     DBLOG:
       Abfallkalenderendetbald_date:
         myDbLog:
           TIME       1536220057.85836
           VALUE      26.12.2018
       Abfallkalenderendetbald_days:
         myDbLog:
           TIME       1536220057.85836
           VALUE      111
       Abfallkalenderendetbald_description:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Abfallkalender endet
       Abfallkalenderendetbald_location:
         myDbLog:
           TIME       1536220057.85836
           VALUE        59
       Abfallkalenderendetbald_text:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Abfallkalender endet bald
       Abfallkalenderendetbald_uid:
         myDbLog:
           TIME       1536220057.85836
           VALUE      20181226T010000_20542_rmbstadtplan
       Abfallkalenderendetbald_weekday:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Mittwoch
       Bio-TonneRestabfall_date:
         myDbLog:
           TIME       1536220057.85836
           VALUE      11.09.2018
       Bio-TonneRestabfall_days:
         myDbLog:
           TIME       1536220057.85836
           VALUE      5
       Bio-TonneRestabfall_description:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Bio-Tonne, Restabfall am 11.09.2018
       Bio-TonneRestabfall_location:
         myDbLog:
           TIME       1536220057.85836
           VALUE        59
       Bio-TonneRestabfall_text:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Bio-Tonne, Restabfall
       Bio-TonneRestabfall_uid:
         myDbLog:
           TIME       1536220057.85836
           VALUE      20180911T000000_20542stadtplan
       Bio-TonneRestabfall_weekday:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Dienstag
       Bio-Tonne_date:
         myDbLog:
           TIME       1536220057.85836
           VALUE      18.09.2018
       Bio-Tonne_days:
         myDbLog:
           TIME       1536220057.85836
           VALUE      12
       Bio-Tonne_description:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Bio-Tonne am 18.09.2018
       Bio-Tonne_location:
         myDbLog:
           TIME       1536220057.85836
           VALUE        59
       Bio-Tonne_text:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Bio-Tonne
       Bio-Tonne_uid:
         myDbLog:
           TIME       1536220057.85836
           VALUE      20180918T000000_20542stadtplan
       Bio-Tonne_weekday:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Dienstag
       BlaueTonne_date:
         myDbLog:
           TIME       1536220057.85836
           VALUE      20.09.2018
       BlaueTonne_days:
         myDbLog:
           TIME       1536220057.85836
           VALUE      14
       BlaueTonne_description:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Blaue Tonne am 20.09.2018
       BlaueTonne_location:
         myDbLog:
           TIME       1536220057.85836
           VALUE        59
       BlaueTonne_text:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Blaue Tonne
       BlaueTonne_uid:
         myDbLog:
           TIME       1536220057.85836
           VALUE      20180920T000000_20542stadtplan
       BlaueTonne_weekday:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Donnerstag
       GelbeTonne_date:
         myDbLog:
           TIME       1536220057.85836
           VALUE      12.09.2018
       GelbeTonne_days:
         myDbLog:
           TIME       1536220057.85836
           VALUE      6
       GelbeTonne_description:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Gelbe Tonne am 12.09.2018
       GelbeTonne_location:
         myDbLog:
           TIME       1536220057.85836
           VALUE        59
       GelbeTonne_text:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Gelbe Tonne
       GelbeTonne_uid:
         myDbLog:
           TIME       1536220057.85836
           VALUE      20180912T000000_20542stadtplan
       GelbeTonne_weekday:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Mittwoch
       next:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Bio-TonneRestabfall_5
       next_date:
         myDbLog:
           TIME       1536220057.85836
           VALUE      11.09.2018
       next_days:
         myDbLog:
           TIME       1536220057.85836
           VALUE      5
       next_description:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Bio-Tonne, Restabfall am 11.09.2018
       next_location:
         myDbLog:
           TIME       1536220057.85836
           VALUE        59
       next_text:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Bio-Tonne, Restabfall
       next_weekday:
         myDbLog:
           TIME       1536220057.85836
           VALUE      Dienstag
       state:
         myDbLog:
           TIME       1536220057.85836
           VALUE      5
   OLDREADINGS:
   READINGS:
     2018-09-06 09:47:37   Abfallkalenderendetbald_date 26.12.2018
     2018-09-06 09:47:37   Abfallkalenderendetbald_days 111
     2018-09-06 09:47:37   Abfallkalenderendetbald_description Abfallkalender endet
     2018-09-06 09:47:37   Abfallkalenderendetbald_location   59
     2018-09-06 09:47:37   Abfallkalenderendetbald_text Abfallkalender endet bald
     2018-09-06 09:47:37   Abfallkalenderendetbald_uid 20181226T010000_20542_rmbstadtplan  de
     2018-09-06 09:47:37   Abfallkalenderendetbald_weekday Mittwoch
     2018-09-06 09:47:37   Bio-TonneRestabfall_date 11.09.2018
     2018-09-06 09:47:37   Bio-TonneRestabfall_days 5
     2018-09-06 09:47:37   Bio-TonneRestabfall_description Bio-Tonne, Restabfall am 11.09.2018
     2018-09-06 09:47:37   Bio-TonneRestabfall_location   59
     2018-09-06 09:47:37   Bio-TonneRestabfall_text Bio-Tonne, Restabfall
     2018-09-06 09:47:37   Bio-TonneRestabfall_uid 20180911T000000_20542stadtplan
     2018-09-06 09:47:37   Bio-TonneRestabfall_weekday Dienstag
     2018-09-06 09:47:37   Bio-Tonne_date  18.09.2018
     2018-09-06 09:47:37   Bio-Tonne_days  12
     2018-09-06 09:47:37   Bio-Tonne_description Bio-Tonne am 18.09.2018
     2018-09-06 09:47:37   Bio-Tonne_location   59
     2018-09-06 09:47:37   Bio-Tonne_text  Bio-Tonne
     2018-09-06 09:47:37   Bio-Tonne_uid   20180918T000000_20542stadtplan
     2018-09-06 09:47:37   Bio-Tonne_weekday Dienstag
     2018-09-06 09:47:37   BlaueTonne_date 20.09.2018
     2018-09-06 09:47:37   BlaueTonne_days 14
     2018-09-06 09:47:37   BlaueTonne_description Blaue Tonne am 20.09.2018
     2018-09-06 09:47:37   BlaueTonne_location   59
     2018-09-06 09:47:37   BlaueTonne_text Blaue Tonne
     2018-09-06 09:47:37   BlaueTonne_uid  20180920T000000_20542stadtplan
     2018-09-06 09:47:37   BlaueTonne_weekday Donnerstag
     2018-09-06 09:47:37   GelbeTonne_date 12.09.2018
     2018-09-06 09:47:37   GelbeTonne_days 6
     2018-09-06 09:47:37   GelbeTonne_description Gelbe Tonne am 12.09.2018
     2018-09-06 09:47:37   GelbeTonne_location   59
     2018-09-06 09:47:37   GelbeTonne_text Gelbe Tonne
     2018-09-06 09:47:37   GelbeTonne_uid  20180912T000000_20542stadtplan
     2018-09-06 09:47:37   GelbeTonne_weekday Mittwoch
     2018-09-05 16:08:55   ftui_next       
     2018-09-06 09:47:37   next            Bio-TonneRestabfall_5
     2018-09-06 09:47:37   next_date       11.09.2018
     2018-09-06 09:47:37   next_days       5
     2018-09-06 09:47:37   next_description Bio-Tonne, Restabfall am 11.09.2018
     2018-09-06 09:47:37   next_location     59
     2018-09-06 09:47:37   next_text       Bio-Tonne, Restabfall
     2018-09-06 09:47:37   next_weekday    Dienstag
     2018-09-06 09:47:37   state           5
Attributes:
   calendarname_praefix 0
   date_style date
   delimiter_reading |
   delimiter_text_reading und
   group      Abfall
   room       Kalendar,all
   stateFormat next_text in next_days Tag(en)
   verbose    5
   weekday_mapping Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag


Logging ohne manuelles Update
2018.09.06 09:46:14 4: Calendar Abfall_cal: Wakeup
2018.09.06 09:46:14 4: Calendar Abfall_cal: Updating...
2018.09.06 09:46:14 4: Calendar Abfall_cal: Getting data from URL <hidden>
2018.09.06 09:46:14 4: Calendar Abfall_cal: parsing data asynchronously (PID= 16975)
2018.09.06 09:46:14 5: Calendar Abfall_cal: control passed back to main loop.
2018.09.06 09:46:15 4: Calendar Abfall_cal: got result from asynchronous parsing.
2018.09.06 09:46:15 4: Calendar Abfall_cal: asynchronous parsing finished.
2018.09.06 09:46:15 4: Calendar Abfall_cal: merging data
2018.09.06 09:46:15 4: Calendar Abfall_cal: 43 records processed, 0 new, 43 known, 0 modified, 0 changed.
2018.09.06 09:46:15 4: Calendar Abfall_cal: creating calendar events
2018.09.06 09:46:15 4: Calendar Abfall_cal: Checking times...
2018.09.06 09:46:15 5: ABFALL_Notify(myABFALL) - Device: Abfall_cal
2018.09.06 09:46:15 4: Calendar Abfall_cal: process ended.


Logging wärend des manuellem Updates
2018.09.06 09:47:37 4: ABFALL_setUpdate(myABFALL) - Start
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - reading lastNow
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 2, 21
2018.09.06 09:47:37 5: ABFALL_GetUpdate (myABFALL) - delete readings
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - weekDayMapping (Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag)
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 1, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - size of events: 33
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20180911T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 19, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - calendar(Abfall_cal) - uid(20180911T000000_20542stadtplan  ) - start(11.09.2018 00:00) - days(5) - text(Bio-Tonne, Restabfall) - location(   59) - description(Bio-Tonne, Restabfall am 11.09.2018) - readingName(Bio-TonneRestabfall)
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20180912T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 19, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - calendar(Abfall_cal) - uid(20180912T000000_20542stadtplan  ) - start(12.09.2018 00:00) - days(6) - text(Gelbe Tonne) - location(   59) - description(Gelbe Tonne am 12.09.2018) - readingName(GelbeTonne)
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20180918T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 19, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - calendar(Abfall_cal) - uid(20180918T000000_20542stadtplan  ) - start(18.09.2018 00:00) - days(12) - text(Bio-Tonne) - location(   59) - description(Bio-Tonne am 18.09.2018) - readingName(Bio-Tonne)
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20180920T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 19, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - calendar(Abfall_cal) - uid(20180920T000000_20542stadtplan  ) - start(20.09.2018 00:00) - days(14) - text(Blaue Tonne) - location(   59) - description(Blaue Tonne am 20.09.2018) - readingName(BlaueTonne)
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20180925T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20180926T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181002T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181005T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181009T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181010T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181016T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181018T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181023T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181024T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181030T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181102T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181106T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181107T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181113T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181115T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181120T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181122T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181127T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181129T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181204T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181205T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181211T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181213T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181218T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181219T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181226T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181226T010000_20542_rmbstadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 19, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - calendar(Abfall_cal) - uid(20181226T010000_20542_rmbstadtplan  ) - start(26.12.2018 08:00) - days(111) - text(Abfallkalender endet bald) - location(   59) - description(Abfallkalender endet) - readingName(Abfallkalenderendetbald)
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 3, 19
2018.09.06 09:47:37 5: ABFALL_getEvents - next uid : 20181228T000000_20542stadtplan 
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 5, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 15, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 18, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 6, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 4, 19
2018.09.06 09:47:37 5: ABFALL_getEvents(myABFALL) - ABFALL_getEvents, 20180613.123304, 2, 19
2018.09.06 09:47:37 5: Vor Sortieren
2018.09.06 09:47:37 5: Bio-TonneRestabfall
2018.09.06 09:47:37 5: GelbeTonne
2018.09.06 09:47:37 5: Bio-Tonne
2018.09.06 09:47:37 5: BlaueTonne
2018.09.06 09:47:37 5: Abfallkalenderendetbald
2018.09.06 09:47:37 5: Nach Sortieren
2018.09.06 09:47:37 5: Abfallkalenderendetbald
2018.09.06 09:47:37 5: Bio-Tonne
2018.09.06 09:47:37 5: Bio-TonneRestabfall
2018.09.06 09:47:37 5: BlaueTonne
2018.09.06 09:47:37 5: GelbeTonne
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 3, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 11, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 16, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 19, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 20, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 3, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 8, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 16, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 19, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 20, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 3, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 8, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 16, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 19, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 20, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 3, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 10, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 16, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 19, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 20, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 3, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 10, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 16, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 19, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 20, 21
2018.09.06 09:47:37 5: ABFALL_setUpdate(myABFALL) - ABFALL_setUpdate, 20170912.220919, 4, 21

Otto123

Moin,

mir hat damals das Abfallmodul den Zugang zum Calendar Modul geöffnet. Mittlerweile habe ich das Kalendermodul an sich zu nutzen verstanden, deshalb der Vorschlag:
Selber machen: Quelle
ZitatSignalisierung der Abfalltonne, Aktualisierung einmal am Tag
define AbfallKalender Calendar ical url https://... 86400 Dann brauchen wir ein Gerät wo die aktuelle Tonne drin steht, im einfachsten Fall ein Dummy
define Tonne dummy Und ein Timer der einmal am Tag den Kalender ausliest und das Ergebnis ablegt.
define a_Tonne at *12:00:00 set Tonne {(my $evt=fhem('get AbfallKalender events format:custom="$S" limit:from=1d,to=1d');;;;$evt?$evt:"0")} Die Funktion:
Am Mittag den Kalender für morgen auslesen -> limit:from=1d,to=1d
Nur den Textinhalt des Eintrages lesen -> format:custom="$S"
$evt?$evt:"0" -> Falls kein Termin gefunden wird, wird der dann leere String durch eine 0 ersetzt.
Den resultierenden Text in den Dummy Tonne schreiben.
Damit kann man am Vortag des Termines ein Aktion auslösen: z.B. Nachmittag den Hinweis geben: die Tonne muss morgen raus. Und am Morgen des Termines kann man nochmal den Hinweis geben: die Tonne muss heute raus. Der Zeitpunkt im Timer entscheidet über das Auftauchen und Verschwinden des Inhaltes von der "Tonne".
Hinweis:
Bei Perl Code innerhalb von einem at Kommando müssen die ; verdoppelt werden, im define müssen sie auch verdoppelt werden, deshalb ;;;; !
Bei Perl Code im set Befehl muss eine zusätzliche Klammer () stehen, sonst wird der Perlausdruck als String gesehen: set Tonne {3+5} ergibt {3+5} im Dummy, set Tonne {(3+5)} ergibt 8 im Dummy.
Nochmal komplett meine Ermittlung und Ansage der Abfalltonne
defmod Tonne dummy
attr Tonne room Abfall

defmod a_Tonne at *12:00:00 set Tonne {(my $evt=fhem('get AbfallKalender events format:custom="$S" limit:from=1d,to=1d');;;;$evt?$evt:"0")}
attr a_Tonne room Abfall

defmod di_AbholungAnsage3 DOIF ([?17:00 - 20:00] and [PIR1:"motion: on"] and [?Tonne:state] ne "0") ( set MyTTS volume 30, set MyTTS tts Morgen wird [Tonne:state] abgeholt)
attr di_AbholungAnsage3 cmdpause 1800
attr di_AbholungAnsage3 do always
attr di_AbholungAnsage3 room Abfall

defmod di_AbholungAnsage4 DOIF ([?06:00 - 10:00] and [PIR1:"motion: on"] and [?Tonne:state] ne "0") ( set MyTTS volume 30, set MyTTS tts Heute wird [Tonne:state] abgeholt)
attr di_AbholungAnsage4 cmdpause 1800
attr di_AbholungAnsage4 do always
attr di_AbholungAnsage4 room Abfall


Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

Sailor

Moin Otto

Zitat von: Otto123 am 06 September 2018, 11:00:46
mir hat damals das Abfallmodul den Zugang zum Calendar Modul geöffnet. Mittlerweile habe ich das Kalendermodul an sich zu nutzen verstanden, deshalb der Vorschlag:
Selber machen:

Im Grunde würde ich dir ja schon Recht geben, aber hierbei scheint es sich ja nicht um einen Einzelfall zu handeln.
Mich würde schon interessieren, warum das Abfallmodul bei manchen mit "now_" finktioniert und bei anderen nicht...

Außerdem ist es doch das Bestreben eines Modulprogrammierers seine Module möglichst Bugfrei zu bekommen.
Zumindest ist das bei mir und meinen Modulen so.

Ich hoffe immernoch, dass uniqueck die Ursache finden und beheben kann.

Gruss
    Sailor
******************************
Man wird immer besser...

uniqueck

Zitat von: Sailor am 06 September 2018, 12:41:33
Moin Otto

Im Grunde würde ich dir ja schon Recht geben, aber hierbei scheint es sich ja nicht um einen Einzelfall zu handeln.
Mich würde schon interessieren, warum das Abfallmodul bei manchen mit "now_" finktioniert und bei anderen nicht...

Außerdem ist es doch das Bestreben eines Modulprogrammierers seine Module möglichst Bugfrei zu bekommen.
Zumindest ist das bei mir und meinen Modulen so.

Ich hoffe immernoch, dass uniqueck die Ursache finden und beheben kann.

Gruss
    Sailor
Das ist auch mein Bestreben, allerdings habe ich immer noch kein Internet zu Hause. Daher kann ich aktuell nur sehr bedingt helfen.

Gruß Constantin

Ich schaue mir mal die logs von dir an und melde mich wenn ich etwas sehe.

Gesendet von meinem ONEPLUS A3003 mit Tapatalk


TomLee

Hallo Constantin,

hab eine <abfallArt> welche ein  / beinhaltet. 

Restabfall/Wertstoffe

Mit einem

set myAbfall count Restabfall/Wertstoffe

erhalte ich ein

Zitat"set myAbfall count Restabfall/Wertstoffe" : unknown waste type Restabfall/Wertstoffe

Kannst du das Modul erweitern das auch ein / im count Befehl unterstützt wird ?

Gruß

Thomas

tomspatz

Ich würde mich hier auch gerne einreihen mit den nicht vorhandenen now_ Readings.
Habe mich mit den Ausgaben bislang gar nicht befasst.
Musste jetzt allerdings feststellen das sie in den beiden letzten Perioden nicht vorhanden waren.

Wenn ich mit irgendwelchen Daten helfen kann, sehr gerne.

LG
Tom

Mirko_2013

#1227
Hallo Zusammen,

Ich bin auch gerade dabei den Abfall Kalender im Fhem einzubinden.
Der Kalender über das Calendar Modul habe ich eingebunden und wird auch ausgelesen.

Beim Versuch den Kalender über das Modul "ABFALL" einzubinden friert Fhem ein mit der Meldung im Logfile:


"PERL WARNING: Use of uninitialized value $SplitDate[1] in subtraction (-) at FHEM/ABFALL_getEvents.pm line 258."
Month '-1' out of range 0..11 at FHEM/ABFALL_getEvents.pm line 258.


Die Definition erstelle ich mit define myABFALL ABFALL HA.Abfall

Könnt Ihr mir hier weiterhelfen?

Danke
Mirko
HP Microserver Gen8; fhem-5.8; CUL868 - V1.66; CUL868 - V1.61; CUL433 - V1.61; CUNX - V2.67; eBus Koppler USB

Mirko_2013

Zitat von: Mirko_2013 am 11 Oktober 2018, 22:04:26
Hallo Zusammen,

Ich bin auch gerade dabei den Abfall Kalender im Fhem einzubinden.
Der Kalender über das Calendar Modul habe ich eingebunden und wird auch ausgelesen.

Beim Versuch den Kalender über das Modul "ABFALL" einzubinden friert Fhem ein mit der Meldung im Logfile:


"PERL WARNING: Use of uninitialized value $SplitDate[1] in subtraction (-) at FHEM/ABFALL_getEvents.pm line 258."
Month '-1' out of range 0..11 at FHEM/ABFALL_getEvents.pm line 258.


Die Definition erstelle ich mit define myABFALL ABFALL HA.Abfall

Könnt Ihr mir hier weiterhelfen?

Danke
Mirko

Problem gelöst, mit einem update auf Fhem 5.9.
HP Microserver Gen8; fhem-5.8; CUL868 - V1.66; CUL868 - V1.61; CUL433 - V1.61; CUNX - V2.67; eBus Koppler USB

pointde

#1229
Ich habe seit langem wieder einmal ein Update vom Server gemacht. Leider werden mir jetzt die Dummys der Tonnen mit unbekannt ausgefüllt:
myAbfall:.* {
       my $vPapier = ReadingsVal("myAbfall","MuellKalender_Papiertonne_tage","unbekannt");;
             fhem "set Papiertonne $vPapier ";;

    my $vRest = ReadingsVal("myAbfall","MuellKalender_Restmuelltonne_tage","unbekannt");;
             fhem "set Restmuell $vRest ";;
}


Die Readings von myAbfall passen aber:

MuellKalender_Papiertonne_date





   
22.10.2018
   
2018-10-15 18:02:14
MuellKalender_Papiertonne_days
   
7
   
2018-10-15 18:02:14



edit: habs gefunden. Heisst jetzt nicht mehr ......_tage, sondern _days
MuellKalender_Restmuelltonne_days