Awtrix light: How to use it as notification screen?

I want to use my awtrix-light pixel screen for notifications.

The MQTT API does provide the feature: [PREFIX]/notify(AWTRIX LIGHT)

But I do not understand how I can integrate this to the notify.notify. Is there a way other than writing a integration?

Thanks!

here is an example from me!

Automation:

- alias: Kalender KW Tag (Awtrix)
  mode: single
  initial_state: 'on'
  trigger:
    platform: time_pattern
    minutes: "/3"
  action:
    - service: mqtt.publish
      data:
        topic: awtrix_a90760/notify
        payload: |-
          {
              "icon": "12345",
              "text": [
                {
                  "t": "{{states('sensor.wochentag')}} - ",
                  "c": "FF0000"
                },
                {
                  "t": "KW{{states('sensor.kalenderwoche')}}",
                  "c": "00FF00"
                }
              ],
              "pushIcon": 2,
              "repeat": 2
            }

awtrix

https://flows.blueforcer.de/

1 Like

Hi Johann thanks for your suggestion.

I think i know how to do the normal mqtt usage of awtrix light. What I want to do is have awtrix to integrate with the notification framework.

So for example to call from some trigger something like that:

action:
  service: notify.notify
  data:
    message: "Hey awtrix {{ some data here }}"

and then this text should be displayed on the awtrix display.

If this would be possible the awtrix display could be integrated in a more general way IMHO.

6 Likes
1 Like