Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter TrashSchedule

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter TrashSchedule

    This topic has been deleted. Only users with topic management privileges can see it.
    • bergjet
      bergjet @da_Woody last edited by

      @da_woody sagte in Test Adapter TrashSchedule:

      bekommst du von deiner gemeinde/müllentsorger keinen ical zur verfügung gestellt?

      Nein.

      Walter.O. 1 Reply Last reply Reply Quote 0
      • Walter.O.
        Walter.O. @bergjet last edited by

        Mal eine Frage..
        Hat jemand von euch auch ein Altglas Symbol im einsatz?
        Bin auf der suche nach einem Schicken Icoin

        da_Woody 1 Reply Last reply Reply Quote 0
        • S
          SevenUp @SevenUp last edited by

          @sevenup sagte in Test Adapter TrashSchedule:

          wir wohnen in einem Mehrfamilienhaus und müssen uns um das Rausstellen der Mülltonne am richtig Tag nicht kümmern.
          Stehen aber eher von dem gegenteiligen Problem: ich würde gerne wissen, wann die Mülltonne das letzte mal geleert wurde, statt wann sie das nächste mal geleert wird.
          Grund ist ziemlich einfach: manchmal ist die Gemeinschaft so eifrig, dass die Mülltonne schon nach 3 Tagen voll ist. Dann muss man nach der nächsten Leerung schnell sein, sonst bleibt man mit seinem Müll weiter sitzen 🙂

          --> wäre es mit dem Adapter irgendwie realisierbar?

          falls es jemand ebenfalls umsetzen möchte: war einfacher als gedacht:


          2022-03-23 20_55_38-javascript - iobroker.png

          <xml xmlns="https://developers.google.com/blockly/xml">
           <variables>
             <variable type="cron" id="schedule1">schedule1</variable>
           </variables>
           <block type="on_ext" id="61dn8Y%mW~Ea/n2+5@BV" x="62" y="113">
             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
             <field name="CONDITION">any</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="sx?0lQvY.*67!Fs=p!Dp">
                 <field name="oid">trashschedule.0.type.bioabfall.daysLeft</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="j/0X/#vxlkk+X}x~+(*T">
                 <value name="IF0">
                   <block type="logic_compare" id="@BU)]O6,@;UPiOY.!V@0">
                     <field name="OP">EQ</field>
                     <value name="A">
                       <block type="on_source" id="mcwidDz/3A)D(1j6kWS9">
                         <field name="ATTR">state.val</field>
                       </block>
                     </value>
                     <value name="B">
                       <block type="math_number" id="@x2g[JQ)Pk:G!5{i8gf=">
                         <field name="NUM">0</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="update" id="6]upU!fm,gM3@w(qVj*I">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                     <field name="OID">0_userdata.0.trashschedule.bioabfall.previous_date</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="time_get" id="AtcQP_JG,]gZR4h9EpIr">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                         <field name="OPTION">object</field>
                       </block>
                     </value>
                   </block>
                 </statement>
               </block>
             </statement>
             <next>
               <block type="on_ext" id="#AjlzDESxH`!|nbzK5Iq">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                 <field name="CONDITION">any</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="p?1c(=7c8sjM3Y`?d^yb">
                     <field name="oid">trashschedule.0.type.leichtverpackungen.daysLeft</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="IZ1v#V?j2#C62S;:YA^v">
                     <value name="IF0">
                       <block type="logic_compare" id="cyfrebv[Oox]_n.vSg~w">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="on_source" id="Whd4rW0u@v/GSHxOMX;[">
                             <field name="ATTR">state.val</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="n%{oe/MT_{E)gu4eK5T*">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="update" id="7=7o?_YZ.v|7=lSR*@O*">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">0_userdata.0.trashschedule.leichtverpackungen.previous_date</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="time_get" id="!a8(Ii+H`)+/CIU$#J2b">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                             <field name="OPTION">object</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </statement>
                 <next>
                   <block type="on_ext" id="}y5K:}Yb2!W[:r[2M?z=">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                     <field name="CONDITION">any</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="%yC%hqS-2I!Oms;Ot?q~">
                         <field name="oid">trashschedule.0.type.papier.daysLeft</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="g%QwhH3M+2c[`Zpz?Bgo">
                         <value name="IF0">
                           <block type="logic_compare" id="B/qjKq9RAbK.y.:g_uVg">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="on_source" id="u`Y,*SPbE=PBlHYE#1jR">
                                 <field name="ATTR">state.val</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="4Xjmk0`sxXC!u$kG*N+n">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="update" id="`A{J%t4#=s|XrZ{x-;mv">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">0_userdata.0.trashschedule.papier.previous_date</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="time_get" id="@XZZNo3hMbr^3,K%12Gv">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                 <field name="OPTION">object</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </statement>
                     <next>
                       <block type="on_ext" id="%*1pc]5,Cv%Jr=~sLr:T">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                         <field name="CONDITION">any</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="iq(Pb|Q,3A;:7uzN?yfC">
                             <field name="oid">trashschedule.0.type.restabfall.daysLeft</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="Zzl9H^9|uzd4OyC[aBos">
                             <value name="IF0">
                               <block type="logic_compare" id="ILGYZOp:nKvg~YC}:]TS">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="on_source" id="ce!Z[l=rc@0/xK+}Xe-e">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="Y3Ju2x=uyX$WFQ7}ETN(">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="update" id="7,fKRcsMtAr!SO;ubfqb">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">0_userdata.0.trashschedule.restabfall.previous_date</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="time_get" id="/WtmWE;C.h;Bk.R[eR#x">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                     <field name="OPTION">object</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                           </block>
                         </statement>
                         <next>
                           <block type="schedule_create" id="=Q]lV})sJVQ=+{nb5h)l">
                             <field name="NAME">schedule1</field>
                             <value name="SCHEDULE">
                               <shadow type="field_cron" id="SXa5l340!%VakT(rbjB_">
                                 <field name="CRON">10 0 * * *</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="update" id="ONHmX4_Z8yA5*CM%Uya-">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">0_userdata.0.trashschedule.bioabfall.days_past</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="math_round" id="p6cxR,zMleA#paF=X!D:">
                                     <field name="OP">ROUND</field>
                                     <value name="NUM">
                                       <shadow type="math_number" id="TN.~:gNP/va_7$6yKA66">
                                         <field name="NUM">3.1</field>
                                       </shadow>
                                       <block type="math_arithmetic" id="8qw)|e%!}5X04lA%SJgd" inline="false">
                                         <field name="OP">DIVIDE</field>
                                         <value name="A">
                                           <shadow type="math_number" id="v#UpF_*Inx@V|Izu/9I]">
                                             <field name="NUM">1</field>
                                           </shadow>
                                           <block type="math_arithmetic" id="]fJ8hRL~T.f_Qj~eK|89" inline="false">
                                             <field name="OP">MINUS</field>
                                             <value name="A">
                                               <shadow type="math_number" id="o:g0;zkB/m*OrYvLg9Ka">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                               <block type="time_get" id="cwBQ81b1-|M!ON)o|o::">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                 <field name="OPTION">object</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <shadow type="math_number" id="+9:NNvX,K,Ba5G:{;?Y?">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                               <block type="get_value" id=",LE8?[(8HgRjOasN#pOs">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">0_userdata.0.trashschedule.bioabfall.previous_date</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <shadow type="math_number" id="MuF+5d7@Pvf2,i=hFHbV">
                                             <field name="NUM">86400000</field>
                                           </shadow>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="update" id="aV?ee-o?/NBi}3c+a?:C">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">0_userdata.0.trashschedule.leichtverpackungen.days_past</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_round" id="|[*y#.,nbxbDm@JjkSRa">
                                         <field name="OP">ROUND</field>
                                         <value name="NUM">
                                           <shadow type="math_number">
                                             <field name="NUM">3.1</field>
                                           </shadow>
                                           <block type="math_arithmetic" id="2K7q:J)0eGIaKdJ,H=C4" inline="false">
                                             <field name="OP">DIVIDE</field>
                                             <value name="A">
                                               <shadow type="math_number">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                               <block type="math_arithmetic" id=")P3`(?S@Kl:9C(^aU4!j" inline="false">
                                                 <field name="OP">MINUS</field>
                                                 <value name="A">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="time_get" id="Jz1rgnF7qP*4B(|WBzc/">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                     <field name="OPTION">object</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="get_value" id="TynxSaWN|HoDZC5VR*E:">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">0_userdata.0.trashschedule.leichtverpackungen.previous_date</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <shadow type="math_number" id="}R#j8J+)`CI1JQuK+FU+">
                                                 <field name="NUM">86400000</field>
                                               </shadow>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="update" id="*VrJR:?vg~[MB6`2aqY=">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">0_userdata.0.trashschedule.papier.days_past</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_round" id="SVkze5rs1USVl7A5ZMtl">
                                             <field name="OP">ROUND</field>
                                             <value name="NUM">
                                               <shadow type="math_number">
                                                 <field name="NUM">3.1</field>
                                               </shadow>
                                               <block type="math_arithmetic" id="=hwLqB|9C]d*zZRS+~?O" inline="false">
                                                 <field name="OP">DIVIDE</field>
                                                 <value name="A">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="math_arithmetic" id="spZDAq3#xwIHtCWyP57N" inline="false">
                                                     <field name="OP">MINUS</field>
                                                     <value name="A">
                                                       <shadow type="math_number">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="time_get" id="2L{fUYl~|d/XWzHSaVz=">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                         <field name="OPTION">object</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="get_value" id="etc|Boav]zINX2!@WUf7">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">0_userdata.0.trashschedule.papier.previous_date</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number" id="1lvl$cE@6PTh:f9GkPs*">
                                                     <field name="NUM">86400000</field>
                                                   </shadow>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="update" id="`!thNs#;;Xf)0nTm.vx7">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">0_userdata.0.trashschedule.restabfall.days_past</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_round" id="V*3~69;PJPBHb9YSt;%I">
                                                 <field name="OP">ROUND</field>
                                                 <value name="NUM">
                                                   <shadow type="math_number">
                                                     <field name="NUM">3.1</field>
                                                   </shadow>
                                                   <block type="math_arithmetic" id="FwYW|NLqIVhP[cAZ?M.t" inline="false">
                                                     <field name="OP">DIVIDE</field>
                                                     <value name="A">
                                                       <shadow type="math_number">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="math_arithmetic" id="Mf4kVyGj3{H$w`{J?h-;" inline="false">
                                                         <field name="OP">MINUS</field>
                                                         <value name="A">
                                                           <shadow type="math_number">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="time_get" id="KXt#l#,P%#/j@+!UBPZo">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                             <field name="OPTION">object</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="get_value" id="!/(]BY?2%Izr%Ybs!#9.">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">0_userdata.0.trashschedule.restabfall.previous_date</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number" id="U5{*;i[;zb9)c[Ffu!*E">
                                                         <field name="NUM">86400000</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </next>
           </block>
          </xml>
          

          1 Reply Last reply Reply Quote 0
          • da_Woody
            da_Woody @Walter.O. last edited by

            @walter-o was stellst du vor? tonne in einer bestimmten farbe? scherben? zerbrochenes?
            ac683831-d508-4666-9f02-20e3078221b7-grafik.png 0043a6e5-1963-47df-b87d-76c147dedaed-grafik.png bb11eda2-39a2-43ff-8449-0207c5ad2155-grafik.png 20ab16c2-4129-4588-9601-c95182594a78-grafik.png
            machbar mit freistellen ist alles möglich. bißchen input muss schon sein.

            Walter.O. 1 Reply Last reply Reply Quote 2
            • U
              UnruBas last edited by

              Hallöchen zusammen,

              Ich benutze hier den trashschedule 1.4.1

              0be632a3-6dcb-4170-bb0a-ae3928a14bd8-grafik.png

              und der ical ist auch soweit richtig eingestellt. (sonst würden hier keine Daten rein kommen)

              In den Objekten beim trashschedule/ 0/ type/
              Bio, gelbe Tonne, Papier, Restmüll

              2e47e0dc-9739-4625-a89c-46440e067386-grafik.png

              6b0aa9e6-7338-4979-9517-4ad54ac87733-grafik.png

              kommen die Daten akurat rein.

              Wenn ich das in der Vis so zusammen baue sieht das so aus:
              60652e8c-0b3a-499f-bae7-9caa2f3c51d6-grafik.png

              Ich habe hier 4 Mülltonnen
              Bio
              Gelbe Tonne
              Papier Tonne
              Restmüll Tonne

              Alle 4 Tonnen werden angezeigt WANN sie wieder geleert werden. ( in der Tabelle im Bild)
              Auf dem Bild werden nur 2 Tonnen angezeigt.
              Meine Frage:
              Wieso nicht die anderen 2 auch noch? Wo sind die??

              so sieht mein json- Datei aus:
              854dff16-ba4d-425f-9706-cacdfbf7b49f-grafik.png

              Wäre echt sehr geil, wenn mir jemand von euch noch die 2 fehlenden Tonnen rumbringen würde 🙂

              Ich sage schon mal Danke schöön

              Liebe Grüße
              Bastian

              1 Reply Last reply Reply Quote 0
              • Walter.O.
                Walter.O. @da_Woody last edited by

                @da_woody Danke, das reicht mir schon. Bei uns gibt es Körbe, die machen nichts her..
                Noch mal danke.

                U 1 Reply Last reply Reply Quote 1
                • U
                  UnruBas @Walter.O. last edited by

                  @walter-o
                  2c7d7387-b435-429f-a2ad-f119dc23bf73-grafik.png

                  ich habe gerade daran nicht "rumgedoktert"

                  Ich habe mir ein anderes YouTube Tutorial angesehen.
                  Als ich gerade den PC ausschalten wollte, waren die fehlenden 2 Mülltonnen da.
                  Ich weiß zwar nicht, wer von euch hier war... 😉 aber jetzt läuft es...
                  Dankeschön

                  ...vielleicht muß man ja auch nur drohen... 😉

                  Liebe Grüße
                  Bastian

                  1 Reply Last reply Reply Quote 0
                  • S
                    Superdad last edited by Superdad

                    Hallo,

                    ich habe folgendes Problem.
                    Mein ical-Adapter ist Version 1.12.1 und Vorschau steht auf 50.
                    Trashscedule-Adapter ist Version 1.4.5.

                    Unter Objekte/JSON steht aber nur der gelbe Sack drin, der in 17 Tagen ist.
                    Im View habe ich auch nur den gelben Sack drin. Restmüll und Papiertonne werden nicht angezeigt.

                    In nextAfter steht aber wenigstens die Papiertonne drin. Wird aber nicht angezeigt.

                    Wenn ich jetzt im Adapter im globalen Offset 30 Tage hinzu addiere, zeigt er alles an.
                    Nur ebend 30 Tage später.

                    Was läuft oder was mache ich verkehrt?

                    Bis zum Update von einer vorherigen Version (weiß leider nicht mehr welche?) lief alles perfekt.

                    haus-automatisierung 1 Reply Last reply Reply Quote 0
                    • haus-automatisierung
                      haus-automatisierung Developer Most Active @Superdad last edited by

                      @superdad sagte in Test Adapter TrashSchedule:

                      Was läuft oder was mache ich verkehrt?

                      Schwer zu sagen - dafür bräuchte ich ein Debug Log welches alle Schritte und die Ausgangssituation genau dokumentiert.

                      S 2 Replies Last reply Reply Quote 0
                      • S
                        Superdad @haus-automatisierung last edited by

                        @haus-automatisierung Vielen Dank für die schnelle Antwort.
                        Aber?! Wo ist dieses Debug-Log?
                        Wie komme ich da ran?

                        Negalein 1 Reply Last reply Reply Quote 0
                        • S
                          Superdad @haus-automatisierung last edited by Negalein

                          @haus-automatisierung Hilft dir vielleicht das?

                          trashschedule.0
                          	2022-04-22 09:38:21.533	warn	nextAfter has no entries. Check configuration of iCal and trashschedule!
                          trashschedule.0
                          	2022-04-22 09:38:21.465	warn	no events matches type "Restmüll" with match "Restmüll". Check configuration of iCal (increase preview) and trashschedule!
                          trashschedule.0
                          	2022-04-22 09:38:21.410	warn	no events matches type "Papiertonne" with match "Papiertonne". Check configuration of iCal (increase preview) and trashschedule!
                          trashschedule.0
                          	2022-04-22 09:38:21.357	info	State value to set for "trashschedule.0.type.gelberSack.nextWeekday" has to be type "string" but received type "number"
                          trashschedule.0
                          	2022-04-22 09:38:20.998	info	configurured iCal preview is 50 days - increase this value to find more events in the future
                          trashschedule.0
                          	2022-04-22 09:38:20.803	info	starting. Version 1.4.5 in /opt/iobroker/node_modules/iobroker.trashschedule, node: v12.22.10, js-controller: 4.0.21
                          host.andreas-ubuntu
                          	2022-04-22 09:38:19.831	info	instance system.adapter.trashschedule.0 started with pid 5789
                          host.andreas-ubuntu
                          	2022-04-22 09:38:17.266	info	instance system.adapter.trashschedule.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                          host.andreas-ubuntu
                          	2022-04-22 09:38:16.750	info	stopInstance system.adapter.trashschedule.0 send kill signal
                          trashschedule.0
                          	2022-04-22 09:38:16.711	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                          trashschedule.0
                          	2022-04-22 09:38:16.711	info	terminating
                          trashschedule.0
                          	2022-04-22 09:38:16.711	info	cleaned everything up...
                          trashschedule.0
                          	2022-04-22 09:38:16.710	info	Got terminate signal TERMINATE_YOURSELF
                          host.andreas-ubuntu
                          	2022-04-22 09:38:16.707	info	stopInstance system.adapter.trashschedule.0 (force=false, process=true)
                          

                          Mod-Edit: Code in </> Code-Tag gepackt!

                          haus-automatisierung 1 Reply Last reply Reply Quote 0
                          • Negalein
                            Negalein Global Moderator @Superdad last edited by

                            @superdad sagte in Test Adapter TrashSchedule:

                            Wo ist dieses Debug-Log?
                            Wie komme ich da ran?

                            hier von Info auf Debug ändern.
                            Und dann wieder ins Log schaun.

                            Screenshot 2022-04-22 095523.png

                            1 Reply Last reply Reply Quote 0
                            • haus-automatisierung
                              haus-automatisierung Developer Most Active @Superdad last edited by

                              @superdad Im Prinzip siehst Du da ja schon, dass keine Termine für "Restmüll" und "Papiertonne" gefunden werden. Gibts die Events wirklich im Kalender?

                              Ansonsten: Lösch bitte einmal alle Objekte unter trashschedule.0 und starte die Instanz neu. Dann wird alles neu angelegt. Scheinbar hast Du noch sehr alte Objekte mit dem falschen Datentyp aus der Beta-Phase.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                Superdad @haus-automatisierung last edited by

                                @haus-automatisierung Ich probiere das mal.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Superdad last edited by Superdad

                                  Es scheint am iCal-Adapter zu liegen.
                                  Bekomme immer Error Reading beim verbinden mit dem iCloud Kalender.

                                  Kann mir jemand sagen wie die URL zur iCloud aussehen muss?
                                  Ich glaube, dass die verändert ist.
                                  War da nur ein "http" davor zu setzen?

                                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                                  Danke, ich habe es.

                                  URL muss mit "http://p121-calendarws.icloud.com/published/xxxxxxxxxxx" beginnen.

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    rotamint @Superdad last edited by rotamint

                                    Danke für den Adapter! Habe ihn nach Anleitung installiert und möchte mich herzlich bedanken!

                                    1 Reply Last reply Reply Quote 1
                                    • JB_Sullivan
                                      JB_Sullivan last edited by JB_Sullivan

                                      Kurze Rückmeldung zur neuesten Version 2.0.1 - mit 2.0.0 läuft alles ohne Fehlermeldung.

                                      
                                      trashschedule.0
                                      9324	2022-05-26 07:58:01.577	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                      
                                      trashschedule.0
                                      9324	2022-05-26 07:58:01.576	info	terminating
                                      
                                      trashschedule.0
                                      9324	2022-05-26 07:58:01.575	info	cleaned everything up...
                                      
                                      trashschedule.0
                                      9324	2022-05-26 07:58:01.556	error	The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "."
                                      
                                      trashschedule.0
                                      9324	2022-05-26 07:58:01.555	error	Error: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." at Utils.validateId (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\utils.ts:215:23) at Trashschedule.delForeignObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3267:23) at Trashschedule.delObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3209:18) at C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2116:16 at new Promise (<anonymous>) at Trashschedule.delObjectAsync (C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2115:16) at Trashschedule.onReady (C:\iobroker\GLT\node_modules\iobroker.trashschedule\main.js:257:28)
                                      
                                      trashschedule.0
                                      9324	2022-05-26 07:58:01.264	error	unhandled promise rejection: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "."
                                      
                                      trashschedule.0
                                      9324	2022-05-26 07:58:01.263	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                      
                                      trashschedule.0
                                      9324	2022-05-26 07:58:01.096	info	starting. Version 2.0.1 in C:/iobroker/GLT/node_modules/iobroker.trashschedule, node: v14.16.0, js-controller: 4.0.23
                                      
                                      haus-automatisierung 1 Reply Last reply Reply Quote 0
                                      • haus-automatisierung
                                        haus-automatisierung Developer Most Active @JB_Sullivan last edited by

                                        @jb_sullivan Mh, hast Du einen Typ ohne Namen?! Normalerweise kann das nicht passieren an der Stelle. Muss ich nochmal in allen Varianten testen

                                        JB_Sullivan 1 Reply Last reply Reply Quote 0
                                        • JB_Sullivan
                                          JB_Sullivan @haus-automatisierung last edited by JB_Sullivan

                                          @haus-automatisierung

                                          Trashscheduler stürzt unter 2.0.2 immer noch ab. ..... und ich habe auch keinen leeren Typen definiert.

                                          8589eba7-d9ec-4a84-b8a2-2931921d89cc-image.png

                                          2e6ef8eb-a680-4ea0-b293-e795b6fdffd9-image.png

                                          host.GLTGLT)
                                          2022-05-27 18:46:33.519	warn	host.GLT(GLT) Do not restart adapter system.adapter.trashschedule.0 because restart loop detected
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	info	host.GLT(GLT) Restart adapter system.adapter.trashschedule.0 because enabled
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	error	host.GLT(GLT) instance system.adapter.trashschedule.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	error	host.GLT(GLT) Caught by controller[1]: at Trashschedule.onReady (C:\iobroker\GLT\node_modules\iobroker.trashschedule\main.js:260:28)
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	error	host.GLT(GLT) Caught by controller[1]: at Trashschedule.delObjectAsync (C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2115:16)
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	error	host.GLT(GLT) Caught by controller[1]: at new Promise (<anonymous>)
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	error	host.GLT(GLT) Caught by controller[1]: at C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2116:16
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	error	host.GLT(GLT) Caught by controller[1]: at Trashschedule.delObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3209:18)
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	error	host.GLT(GLT) Caught by controller[1]: at Trashschedule.delForeignObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3267:23)
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	error	host.GLT(GLT) Caught by controller[1]: at Utils.validateId (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\utils.ts:215:23)
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.518	error	host.GLT(GLT) Caught by controller[1]: Error: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "."
                                          host.GLTGLT)
                                          2022-05-27 18:46:33.517	error	host.GLT(GLT) Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                                          
                                          trashschedule.0
                                          12044	2022-05-27 18:46:32.852	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                          
                                          trashschedule.0
                                          12044	2022-05-27 18:46:32.851	info	terminating
                                          
                                          trashschedule.0
                                          12044	2022-05-27 18:46:32.851	info	cleaned everything up...
                                          
                                          trashschedule.0
                                          12044	2022-05-27 18:46:32.837	error	The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "."
                                          
                                          trashschedule.0
                                          12044	2022-05-27 18:46:32.837	error	Error: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." at Utils.validateId (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\utils.ts:215:23) at Trashschedule.delForeignObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3267:23) at Trashschedule.delObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3209:18) at C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2116:16 at new Promise (<anonymous>) at Trashschedule.delObjectAsync (C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2115:16) at Trashschedule.onReady (C:\iobroker\GLT\node_modules\iobroker.trashschedule\main.js:260:28)
                                          
                                          trashschedule.0
                                          12044	2022-05-27 18:46:32.592	error	unhandled promise rejection: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "."
                                          
                                          trashschedule.0
                                          12044	2022-05-27 18:46:32.591	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          
                                          web.0
                                          11340	2022-05-27 18:46:32.494	info	<== Disconnect system.user.admin from ::ffff:10.122.60.92 vis.0
                                          
                                          trashschedule.0
                                          12044	2022-05-27 18:46:32.293	info	starting. Version 2.0.2 in C:/iobroker/GLT/node_modules/iobroker.trashschedule, node: v14.16.0, js-controller: 4.0.23
                                          
                                          Glasfaser haus-automatisierung 2 Replies Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @JB_Sullivan last edited by

                                            @jb_sullivan

                                            Zeige mal bitte die DEBUG Ausgabe

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            758
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter calendar ical kalender müll trash
                                            184
                                            1432
                                            362462
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo