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.
    • G
      G4l4h4d @Homoran last edited by

      @Homoran Welche Ansicht hättest du den gerne?

      Chaot 1 Reply Last reply Reply Quote 0
      • Chaot
        Chaot @G4l4h4d last edited by

        @G4l4h4d Gesucht ist was unter den Objekten bei ical.X.data.htmlsteht

        1 Reply Last reply Reply Quote 0
        • G
          G4l4h4d last edited by Negalein

          <span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">03.01.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Restabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">04.01.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Papierbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">09.01.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Gelber Sack </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">14.01.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Bioabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">16.01.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Restabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">28.01.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Bioabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">30.01.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Restabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">31.01.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Papierbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">06.02.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Gelber Sack </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">11.02.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Bioabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">13.02.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Restabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">25.02.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Bioabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">27.02.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Restabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">28.02.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Papierbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">05.03.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Gelber Sack </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">09.03.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Gruensperrmuell </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">10.03.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Bioabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">12.03.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Restabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">24.03.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Bioabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">26.03.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Restabfallbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">27.03.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Papierbehaelter </span></span><br/><span style="font-weight: bold; color: white"><span class="icalNormal iCal-Abfallkalender_2020">02.04.2020 08:00-09:00</span></span><span style="font-weight: normal; color: white"><span class='icalNormal2 iCal-Abfallkalender_20202'> Gelber Sack </span></span>
          

          Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
          Hier gehts zur Hilfe.

          Chaot Homoran 2 Replies Last reply Reply Quote 0
          • Chaot
            Chaot @G4l4h4d last edited by Chaot

            Edit - war Blödsinn

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @G4l4h4d last edited by

              @G4l4h4d
              Danke - das wollte ich sehen!

              Leider hast du deine Einstellungen bei der ical-Instanz nicht gepostet.

              In dem Kalender ist die nächste Leerung des Restabfallbehaelters am 16.01.2020

              • kann das sein?
                • wenn ja, hast du eine Vorlaufzeit von 23 Tagen eingestellt?
              G 1 Reply Last reply Reply Quote 0
              • G
                G4l4h4d @Homoran last edited by

                @Homoran
                Nein die nächste Leerung ist am 03.01.2020. Vorlaufzeit habe ich jetzt auf 365 Tage gestellt und nun bekomme ich alles angezeigt.
                Bildschirmfoto vom 2019-12-25 21-59-44.png

                Bildschirmfoto vom 2019-12-25 21-55-39.png

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @G4l4h4d last edited by

                  @G4l4h4d sagte in Test Adapter TrashSchedule v0.0.x:

                  Nein die nächste Leerung ist am 03.01.2020

                  War aber bisher in deinem Datenpunkt nicht drin

                  @G4l4h4d sagte in Test Adapter TrashSchedule v0.0.x:

                  Vorlaufzeit habe ich jetzt auf 365 Tage gestellt

                  und wie war es vorher?

                  G 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @sigi234 last edited by

                    @sigi234

                    Hallo Sigi,

                    ich habe deine Trash-Icons genutzt: Nur eine kosmetische Frage: Ich habe sie eingefügt und der hintergrund hat so leichte Karomuster. Kann ich den auf die Hintergrundfarbe der View setzen? Danke

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Guest last edited by

                      @Alina @sigi234

                      Hat sich erledigt: Ist nur im Editor so 🙂

                      1 Reply Last reply Reply Quote 0
                      • G
                        G4l4h4d @Homoran last edited by

                        @Homoran Vorher hatte ich diverse Werte zwischen 20 und 60 probiert. Aber erst bei 365Tagen habe ich eine vollständige Anzeige in den Datenpunkten.

                        1 Reply Last reply Reply Quote 0
                        • 0
                          0018 last edited by

                          @SBorg danke für die Binding, habe diese auch erfolgreich implementiert. Leider ist es nun so das die Widgets mit den Bindings sich in meiner vis nicht automatisch aktualisieren, sondern nur nach einem Reload der Seite neue Werte anzeigen. Benutze denn Fully Browser auf einem Samsung Tab.

                          Hast du eine Idee woran das liegen könnte?

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

                            @0018 Hast du beim HTML-Widget eine Updatezeit eingestellt? Die steht per "default" auf 0ms = nie updaten (außer halt beim reload der Seite). Beispiel für 5 Minuten Updateintervall: 5min x 60Sekunden x 1000ms = 300000ms

                            1 Reply Last reply Reply Quote 0
                            • K
                              ktsalti last edited by

                              Guten Abend,

                              ich möchte per html-binding gerne "Morgen" und "Heute" angezeigt haben. Ich habe es mit folgenden Code versucht, aber da ist wohl noch ein Fehler 😞

                              {tage:trashschedule.0.type.Gelbe Tonne.daysleft;tage > 1 ? "in "+tage+" Tagen" :: tage = 1 ? "Morgen" :: "Heute"}
                              

                              kann jemand helfen?

                              Vielen Dank im Voraus!
                              Marcus

                              SBorg 0 2 Replies Last reply Reply Quote 0
                              • SBorg
                                SBorg Forum Testing Most Active @ktsalti last edited by

                                @ktsalti sagte in Test Adapter TrashSchedule v0.0.x:

                                ...Gelbe Tonne...

                                Der [SPACE] geht da IMHO nicht. Du müsstest den Datenpunkt zB. in "GelbeTonne" oder "Gelbe_Tonne" umbenennen.
                                Aber der Hauptfehler: "tage = 1" ist keine gültige Abfrage in JS, sondern eine Zuweisung. Du setzt also tage auf den Wert "1".
                                Korrekt ist tage == 1

                                K 1 Reply Last reply Reply Quote 0
                                • 0
                                  0018 @ktsalti last edited by

                                  @ktsalti ich habe es bei mir so gelöst:

                                  {tage:trashschedule.0.type.Papier.daysleft; tage == 0 ? "Heute" :: tage == 1 ? "Morgen" :: "in "+tage+" Tagen am: " } 
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    andi2055 last edited by

                                    Super Adapter!
                                    Würde ich nun auch verwenden für andere periodische Erinnerungen wie z.B. "Filter wechseln" / "Filter reinigen" / Wartung XY usw. in x Tagen durchführen

                                    Daher über den Namen TRASHSchedule nochmal nachdenken. Der kann ja mehr!

                                    Ich habe nun die Einheit manuell von "Days" in "Tage" umbenannt für alle Datenpunkte. Wäre schön wenn man das zentral konfigurieren könnte.

                                    So sieht das bei mir in Lovelace aus - je nach Restdauer haben die Balken unterschiedliche Farben. Auf der Startseite gibt es zusätzlich auch noch eine Erinnerung bei Müllabfuhr am nächsten Tag.
                                    f2c7e36c-b539-4ad3-97d7-e8f4e5421a9a-grafik.png

                                    Danke für den Adapter!

                                    M Chaot 2 Replies Last reply Reply Quote 1
                                    • K
                                      ktsalti @SBorg last edited by

                                      Danke euch @SBorg und @0018 !!
                                      Das == war der springende Punkt - so funktioniert es jetzt (sogar mit Leerzeichen).

                                      Viele Grüße!

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        Machinima @andi2055 last edited by

                                        @andi2055
                                        Wow, sieht gut aus! Wie hast du das genau mit der Darstellung realisiert?

                                        A 1 Reply Last reply Reply Quote 0
                                        • Chaot
                                          Chaot @andi2055 last edited by

                                          @andi2055
                                          Ihr habt ne Glastonne? Wow!

                                          M 1 Reply Last reply Reply Quote 0
                                          • A
                                            andi2055 @Machinima last edited by

                                            @Machinima
                                            Das ist der Lovelace Visualisierung Adapter
                                            https://forum.iobroker.net/topic/22781/test-adapter-lovelace-v0-2-x

                                            Code für Lovelace (custom Adapter custom:bar-card muss zuvor installiert sein)


                                            type: vertical-stack
                                            title: Müll
                                            cards:

                                            • type: 'custom:bar-card'
                                              title: Grüne Tonne
                                              entity: sensor.Trash_Grüne_Tonne_daysleft
                                              min: 0
                                              max: 30
                                              title_position: inside
                                              show_label: true
                                              title_style:
                                              color: white
                                              font-size: 16px
                                              severity:
                                              • value: 1
                                                color: red
                                              • value: 3
                                                color: orange
                                              • value: 7
                                                color: yellow
                                              • value: 30
                                                color: blue
                                            • type: 'custom:bar-card'
                                              title: Restmüll
                                              entity: sensor.Trash_Restmüll_daysleft
                                              min: 0
                                              max: 30
                                              title_position: inside
                                              show_label: true
                                              title_style:
                                              color: white
                                              font-size: 16px
                                              severity:
                                              • value: 1
                                                color: red
                                              • value: 3
                                                color: orange
                                              • value: 7
                                                color: yellow
                                              • value: 30
                                                color: blue
                                            • type: 'custom:bar-card'
                                              title: Biomüll
                                              entity: sensor.Trash_Biomüll_daysleft
                                              min: 0
                                              max: 30
                                              title_position: inside
                                              show_label: true
                                              title_style:
                                              color: white
                                              font-size: 16px
                                              severity:
                                              • value: 1
                                                color: red
                                              • value: 3
                                                color: orange
                                              • value: 7
                                                color: yellow
                                              • value: 30
                                                color: blue
                                            • type: 'custom:bar-card'
                                              title: Glastonne
                                              entity: sensor.Trash_Glasbox_daysleft
                                              min: 0
                                              max: 30
                                              title_position: inside
                                              show_label: true
                                              title_style:
                                              color: white
                                              font-size: 16px
                                              severity:
                                              • value: 1
                                                color: red
                                              • value: 3
                                                color: orange
                                              • value: 7
                                                color: yellow
                                              • value: 30
                                                color: blue

                                            @Chaot
                                            Naja Glasbox/Korb ist passender. Wird aber abgeholt alle 4 Wochen 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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