Müll auf die AWTRIX

Ich habe die Flabbamann Integration für die Müllabfuhrtage der AHA-Region Hannover integriert.
Die Anzeigen im Dashboard funktionieren auch.
Nun möchte ich die “warnungen” das morgen Papier abgeholt wird (liefert der sensor.papier) auf meiner AWTRIX am Vorabend von 18 - 22 Uhr darstellen, aber weder eine der AWTRIX Blueprints noch eine normale notivication sendet mir etwas an die AWTRIX. . . wie muss es klappen ?

Funktioniert seit langer Zeit einwandfrei bei mir und zwar mit dieser Automation.
Die entsprechenden Icons müsstest Du natürlich in Deine AWTRIX laden.

alias: AWTRIX - Mülltonnen Reminder MQTT
description: ""
triggers:
  - at: "08:30:00"
    enabled: false
    trigger: time
  - value_template: >-
      {# Get the next pickup date #}

      {% set next_pickup = states.sensor.abfallnaechster.attributes | first |
      as_timestamp |timestamp_custom("%d.%m.%Y") %}

      {# Get the next pickup date, MINUS the day #}

      {% set todays_date = now().timestamp() | timestamp_custom('%d.%m.%Y') %}

      {# Is there a pickup today, then show todays date #} 

      {% if next_pickup == todays_date %}
         true
      {% else %}
         false
      {% endif %}
    trigger: template
conditions: []
actions:
  - if:
      - condition: template
        value_template: >-
          {% set next_pickup = states.sensor.abfallgelbersack.attributes | first
          | as_timestamp |timestamp_custom("%d.%m.%Y") %}

          {% set todays_date = now().timestamp() | timestamp_custom('%d.%m.%Y')
          %}

          {% if next_pickup == todays_date %}
            true
          {% else %} 
            false
          {% endif %}  
    then:
      - data:
          qos: "0"
          retain: false
          payload: >-
            { "text": "Gelber Sack", "textCase": 2, "color": "#ffff00", "icon":
            "22618", "hold": true }
          topic: awtrix/notify
        action: mqtt.publish
    else: []
    enabled: true
  - if:
      - condition: template
        value_template: >-
          {% set next_pickup = states.sensor.abfallbiotonne.attributes | first |
          as_timestamp |timestamp_custom("%d.%m.%Y") %}

          {% set todays_date = now().timestamp() | timestamp_custom('%d.%m.%Y')
          %}

          {% if next_pickup == todays_date %}
            true
          {% else %} 
            false  
          {% endif %}  
    then:
      - data:
          qos: "0"
          retain: false
          topic: awtrix/notify
          payload: >-
            { "text": "Bio", "textCase": 2, "color": "#40a000", "icon": "22620",
            "hold": true }
        action: mqtt.publish
  - if:
      - condition: template
        value_template: >-
          {% set next_pickup = states.sensor.abfallrestmuell.attributes | first
          | as_timestamp |timestamp_custom("%d.%m.%Y") %}

          {% set todays_date = now().timestamp() | timestamp_custom('%d.%m.%Y')
          %}

          {% if next_pickup == todays_date %}
            true
          {% else %} 
            false
          {% endif %}  
    then:
      - data:
          qos: "0"
          retain: false
          topic: awtrix/notify
          payload: >-
            { "text": "Restmüll", "textCase": 2, "color": "#a0a0a0", "icon":
            "22621", "hold": true }
        action: mqtt.publish
    enabled: true
  - if:
      - condition: template
        value_template: >-
          {% set next_pickup = states.sensor.abfallpapiertonne.attributes |
          first | as_timestamp |timestamp_custom("%d.%m.%Y") %}

          {% set todays_date = now().timestamp() | timestamp_custom('%d.%m.%Y')
          %}

          {% if next_pickup == todays_date %}
            true
          {% else %} 
            false
          {% endif %}  
    then:
      - data:
          qos: "0"
          retain: false
          topic: awtrix/notify
          payload: >-
            { "text": "Papier", "textCase": 2, "color": "#0000ff", "icon":
            "22619", "hold": true }
        action: mqtt.publish
    enabled: true
mode: single

Oh, klasse,
die attributes bietet der sensor von flabbamann aber nicht [quote]
states.sensor.abfallnaechster.attributes
[/quote]
image

Du musst das schon auf Deine Sensoren anpassen… :crazy_face:

Das gibt es nicht fertig, habe ich mir mühselig gebaut.

sensoren und grafiken hab ich angepasst, aber den ersten sensor, abfallnaechster.attributes hab ich ja nicht. . .legt man den an?

Keine Ahnung wieso Du so ein “exotisches” Teil nimmst, leider wird Dir da wohl eher schlecht geholfen werden. Das hat wohl kaum jemand installiert. Wie bei Flabbamann die einzelnen Sensorer benannt sind, ist mir nicht bekannt. Muss ja so etwas ähnliches geben, was den nächsten Termin ausgibt.

Ich benutze diese Integration

2025-02-06 13-52-18