Example Automation for Ulanzi TC001 (Tonie Titel)

Ulanzi TeddyCloud (Tonie Titel) Example Automation
to work with an Ulanzi (TC001) that is running EspHoMaTriXv2

This automation is part my Demo Video that was shown at the 37C3 Talk

This automation requiers an running “TeddyCloud” Server, at least one connected Toniebox, HomeAssistant, an Ulanzi TC001 with EspHoMaTriXv2, MQTT Connection between TeddyCloud and HA

You can find my Ulanzi (TC001) EspHoMaTriX version 2 Example Setup here in the Forum

If you would like to use more Boxes and would like to Display the Titel for each Box you will need to create the automation for each Box.

Automation:

alias: "Ulanzi TeddyCloud (Example) "
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.teddycloud_box_example_tag_valid
condition:
  - condition: not
    conditions:
      - condition: state
        entity_id: sensor.teddycloud_box_example_tag_valid
        state: ""
action:
  - choose:
      - conditions: []
        sequence:
          - service: esphome.ulanzi_icon_screen
            metadata: {}
            data:
              default_font: true
              icon_name: teddy
              text: >-
                Example is listening to:
                {{states('sensor.teddycloud_box_example_content_title')}}
              r: 255
              g: 255
              b: 255
              screen_time: 1
              lifetime: 1
          - delay:
              hours: 0
              minutes: 0
              seconds: 40
              milliseconds: 0
          - service: esphome.ulanzi_del_screen
            data:
              icon_name: teddy
mode: single

The “Teddy” ( teddy ) Icon is modified to 8x8 to work on the Ulanzi TC001
the original file is from https://www.flaticon.com/free-icon/dog_2829818