Awtrix (clock) notification [Custom Component]

ok. not document key - forcast_graph value line or bar
by default - None (optional)

service: awtrix.awtrix_bedroom_weather_app
data:
  weather: weather.forecast_home
  outside_temperature: sensor.easyweatherv1_6_4_outdoor_temperature
  home_temperature: sensor.home_temperature
  sun: sun.sun
  moon: sensor.moon_phase
  forcast_graph: bar
2 Likes


I don’t understand what am I doing wrong! also, why it’s adding space after ‘awtrix.awtrix clock’ instead of underscore?

Cuz strange discovering :wink:
But you can help me for REPO this bug.

I believe it’s because I named my device “Awtrix Clock”, adding an underscore fixes the issue but calling the service doesn’t do anything!

Ok. Thank you so much. On it.

1 Like

PS: reboot

1 Like

Looks like it’s working!

fixed.
btw, @chintito4ever

quotes :slight_smile:

service: “awtrix.awtrix bedroom_push_app_data”

Great work, can you consider releasing versions on GitHub instead of putting all updates in the README.MD?

4 Likes

great component, is it possible to display the lametr** icon “Solar Energy” 55349 with the sensor sensor.sofar_pv_energy

all ok

download ico

...
      frames:
        pv:
          icon: "55349"
          text: "{{ states('sensor.sofar_pv_energy') }} W "

awtrix

if you want to to save awtrix disk memory, you can use url to icon.

for example
icon: https://developer.lametric.com/content/apps/icon_thumbs/55349

but it doesn’t work if you in offline (without internet)

1 Like

Thank you for your help and a quick answer.

Could you tell me if this code:

        {% if is_state('sun.sun', 'above_horizon') %}
          pv:
            icon: "55349"
            text: "{{ states('sensor.sofar_pv_energy') }}W"
        {% else %}
          {}
        {% endif %}

will display the frame content correctly after sunrise (right now, that is after the sunset, it doesn’t display anything, as wanted)?

alias: DEL_ME New automation
description: ""
trigger:
  - platform: time_pattern
    minutes: /1
condition: []
action:
  - choose:
      - conditions:
          - condition: sun
            before: sunrise
        sequence:
          - service: awtrix.awtrix_bedroom_push_app_data
            data:
              name: temp_app
              data:
                text: Hello, AWTRIX Light!
                rainbow: true
                icon: "87"
                duration: 5
                pushIcon: 2
                lifetime: 900
                repeat: 1
    default:
      - service: awtrix.awtrix_bedroom_push_app_data
        data:
          name: temp_app
mode: single

alias: DEL_ME New automation
description: ""
trigger:
  - platform: time_pattern
    minutes: /1
condition: []
action:
  - service: awtrix.awtrix_bedroom_push_app_data
    data:
      name: temp_app
      data:  '{{ { "text": "Hello, AWTRIX Light!", "rainbow": true, "icon": "87" } if is_state("sun.sun", "above_horizon") else {} }} '
mode: single

please help, I can’t correctly insert this code into the example

  frames:
    pv:
      icon: "55349"
      text: "{{ states('sensor.sofar_pv_energy') }}W "

can’t help. sorry. idk what “frames” and “pv” is.
here is examples: GitHub - 10der/homeassistant-custom_components-awtrix: HASS awtrix

alias: AWTRIX - Show power
description: ""
trigger:
  - platform: time_pattern
    minutes: /1
condition: []
action:
  - service: awtrix.awtrix_bedroom_push_app_data
    data:
      name: power_app
      data:  '{{ { "text": states('sensor.sofar_pv_energy')~"W",  "icon": "55349" } if is_state("sun.sun", "above_horizon") else {} }} '
mode: single
1 Like

Hello, please check what I did wrong in this code.
The code repeats itself all the time and is displayed for 2 seconds. I would like it to repeat twice and last for 10 seconds.

alias: "AWTRIX: pv all"
description: ""
trigger:
  - platform: time_pattern
    minutes: /5
condition: []
action:
  - service: awtrix.awtrix_6d5d18_push_app_data
    data:
      name: awtrix_pv_all
      data:
        text: "{{ states('sensor.pv_all') ~ 'kWh' }}"
        icon: "37517"
        rainbow: true
        repeat: 2
        duration: 10
mode: single

idk. I take your code. change text: "{{ states('sensor.power_production_now') ~ 'kWh' }}"
here is result
awtrix (15)

so, 10 sec wait, according to RTFM

(2 repeat ignored cuz no scrolling)

btw, all questions about AWTRIX firmware here Discord, not to me =)