Skip to content

rotating text

github-actions[bot] edited this page Jun 8, 2024 · 6 revisions

Introduction

Skill-level: medium

Assuming you are using a matrix with connected small sides like this e.g. using this case.

Since 2023.6.4 you can set this option:

ehmtxv2:
  ...
  scroll_small_text: true
  ...

to display text thas is scrolled around the display even if it is short and normally should be centered.

To display time you can use this automation:

service: esphome.ulanzi_rainbow_text_screen
data:
  default_font: false
  screen_time: 15
  lifetime: 1440
  text: |-
          {{ states("sensor.time") }}

or date

service: esphome.ulanzi_rainbow_text_screen
data:
  default_font: false
  screen_time: 15
  lifetime: 1440
  text: |-
          {{  now().strftime("%d.%m.%Y") }}

to remove the normal date and time display

service: esphome.ulanzi_del_screen
data:
  icon_name: "*"
  mode: 3
service: esphome.ulanzi_del_screen
data:
  icon_name: "*"
  mode: 2
Clone this wiki locally