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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter TrashSchedule

    This topic has been deleted. Only users with topic management privileges can see it.
    • haus-automatisierung
      haus-automatisierung Developer Most Active @bergjet last edited by

      @bergjet sagte in Test Adapter TrashSchedule:

      Wenn im Datumsbereich der Anzeige zweimal der selbe Müll abgeholt wird, wird er nur einmal angezeigt. Ist das gewollt?

      Ja, das geht nicht nach Datum, sondern nach Typ. Jeder Typ zeigt seine nächste Abholung.
      Warum möchtest Du die übernächste Abholung heute schon wissen?

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

        @haus-automatisierung sagte in Test Adapter TrashSchedule:

        Warum möchtest Du die übernächste Abholung heute schon wissen?

        Naja, ich schaue manchmal am manuellen Kalender nach, weil ich glaube, dass ich einen Termin einzutragen vergessen habe.

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

          @bergjet bekommst du von deiner gemeinde/müllentsorger keinen ical zur verfügung gestellt?
          da kannst du nichts vergessen... 😉

          bergjet 1 Reply Last reply Reply Quote 0
          • SBorg
            SBorg Forum Testing Most Active last edited by

            Ich nutze zwar auch fast ausschließlich den Adapter, muss aber wg. unseres örtlichen Abfuhrsystemes uU. wissen, ob ich jetzt den Müll raus stelle, oder bis zur nächsten Leerung abwarte, die dann wann nochmal genau ist?

            Ich nutze dafür einfach ein "Basic-String"-Widget und lasse mir direkt die HTML des entsprechenden icals anzeigen:
            Bild 1.png
            (bevor jemand fragt: nein, die Farben kommen von mir und gibt es so im ical nicht 😉 )

            1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            924
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter calendar ical kalender müll trash
                                            184
                                            1432
                                            417772
                                            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