Awtrix (clock) notification [Custom Component]

Hi!

service: notify.awtrix_bedroom
data:
  message: Hi!

or

service: notify.awtrix_bedroom
data:
  message: Hi!
  data:
     icon: 16701
     # here you can add any params from https://blueforcer.github.io/awtrix-light/#/api?id=json-properties

as bonus, you can provide any urls with 8x8 icons

service: notify.awtrix_bedroom
data:
  message: Hi!
  data:
     icon: https://developer.lametric.com/content/apps/icon_thumbs/3253

or

service: notify.awtrix_bedroom
data:
  message: Hi!
  data:
     icon: http://homeassistant.local:8123/local/my-super-duper-icon.jpg

Here is URL for manual install

also, you can add component via HACS

7 Likes

I just got my Ulanzi clock and was looking for an easy way of sending notifications. This is perfect timing and I look forward to trying it out.

Well… that was simple. It works perfectly.

Many thanks for developing this!

1 Like

Great job! And perfect timing, too. Thank you very much.

2 Likes

btw:

service: notify.awtrix_bedroom
data:
  message: Слава Україні!
  data: 
    icon: https://developer.lametric.com/content/apps/icon_thumbs/188

awtrix (1)

2 Likes

build / update application

service: awtrix.push_app_data
data: 
  device: awtrix_bedroom
  name: test
  data:
    text : "Hello, AWTRIX Light!"
    rainbow: true
    icon: "87"
    duration: 5
    pushIcon: 2
    lifetime: 900
    repeat: 1

awtrix (1)

remove app:

service: awtrix.push_app_data
data: 
  device: awtrix_bedroom
  name: test
  data: 
1 Like

Oooh, that’s awesome. I guess I’ll be updating so I can move my weather app away from mqtt.publish :joy:

Going forwards would it be possible to get releases and release notes? Makes it easier to see what new and awesome features have arrived.

1 Like

sorry. yes. I’ll fix it

1 Like

The app creation is not working for me. I uploaded it and switch through apps but nothing happend. Can you help?

  • what is not working?
  • what in logs?
  • what in mqtt?
    can you add a some more information about your issue.

i wrote you at discord DM.

notfiy is working.
when using push_app_data nothing happend - no visible mqtt data
no error in HA


can you show me screenshot from /config/devices/dashboard
and show me NAME of device NOT mqtt topic

example

internally awtrix have different name or?

as u can see, my name is “awtrix_bedroom”
your name is unknown cuz you cut the screen.

new features:

now you can set settings and switch app.

for example. night mode

service: awtrix.settings
data:
  device: awtrix_bedroom
  data:
    WD: false 
    TIME_COL: 
      - 255
      - 0
      - 0
    TMODE: 0 
    BRI: 1
    ABRI: false
    ATRANS: false
service: awtrix.switch_app
data:
  device: awtrix_bedroom
  name: Time    

1 Like

also now call service can rise error if you provide wrong AWTRIX name and so on…

1 Like


this is mine

UPD: no device name at all.
now service call contains the name

service: awtrix.awtrix_bedroom_push_app_data

or you can combinate

      - service: awtrix.{{awtrix_device_name}}_push_app_data
        data:
          name: sonos
          data: {}

what does this mean

2024-02-29 21:06:57.549 WARNING (SyncWorker_15) [homeassistant.helpers.service] Unable to find services.yaml for the awtrix integration