Awtrix - Noël automatisation

Bonjour,
Une automatisation sympa pour décorer un peu plus vos sapins. Bonnes fêtes!
ezgif.com-animated-gif-maker

alias: AWTRIX - Noel - Animation (Santa/Sapin/Snowman) - 1 minute
description: Boucle 60s (6 scenes x 10s) avec icones animees si elles existent dans AWTRIX
triggers:
  - seconds: /10
    trigger: time_pattern
conditions: []
actions:
  - action: mqtt.publish
    data:
      topic: awtrix_3dd9e4/custom/solar
      payload: >-
        {% set scenes = [
          {
            "icon": "63658",
            "text": "Ho Ho Ho !   ",
            "effect": "Fireworks",
            "rainbow": true,
            "background": "#000000",
            "center": false,
            "noScroll": false,
            "duration": 10
          },
          {
            "icon": "1549",
            "text": "Joyeux Noel !   ",
            "effect": "TwinklingStars",
            "color": "#00FF00",
            "background": "#000010",
            "center": false,
            "noScroll": false,
            "duration": 10
          },
          {
            "icon": "33228",
            "text": "Let it snow   ",
            "effect": "Ripple",
            "color": "#A0E8FF",
            "background": "#000018",
            "center": false,
            "noScroll": false,
            "duration": 10
          },
          {
            "icon": "1549",
            "text": "Paix & Joie   ",
            "effect": "TwinklingStars",
            "gradient": ["#FF0000", "#00FF00"],
            "background": "#000000",
            "center": false,
            "noScroll": false,
            "duration": 10
          },
          {
            "icon": "63658",
            "text": "Cadeaux !",
            "effect": "Fireworks",
            "color": "#FF3030",
            "background": "#100000",
            "center": false,
            "noScroll": false,
            "duration": 10
          },
          {
            "icon": "33228",
            "text": "Bon reveillon   ",
            "effect": "Ripple",
            "color": "#FFD36A",
            "background": "#050015",
            "center": false,
            "noScroll": false,
            "duration": 10
          }
        ] %} {% set idx = ((now().minute * 60 + now().second) // 10) % (scenes |
        length) %} {% set current = scenes[idx] %} {% set current =
        dict(current, lifetime=65, lifetimeMode=0) %} {{ current | to_json }}
mode: single

Les icônes à télécharger depuis LaMetric: Web

5 « J'aime »