This is a card that mirrors your AWTRIX light to Home Assistant.
Configuration is straightforward and can be done via the code editor.
To fetch data from the AWTRIX Light /api/screen API endpoint into a sensor, you need to create a manual command_line sensor:
Name | Description | Required | Default |
---|---|---|---|
type |
Cart type (custom:awtrix-light-display-card) | yes | n/a |
ipAddress |
The name of the command_line sensor you created | yes | n/a |
resolution |
Resolution of the image | no | 256x64 |
bordersize |
Border size in between of the pixels | no | 1 |
borderradius |
Configure the border radius for the image | no | 10 |
Basic example:
type: custom:awtrix-light-live-card
ipAddress: api.graafnet.nl
resolution: 256x64
When the sensor is not good configured inside the card or the sensor is not recieving the approperiate data the card will display a default generated image:
The sensor should have a attribute named screen: