Skip to content

Display not updating since yesterday #108

Description

@serpentes80

since yesterday my display won't update anymore...

tried 3.0 final
3.0 beta 10 (which was running until yesterday)

payload hasn't changed in weeks...

action: opendisplay.drawcustom
data:
  payload:
    - type: rectangle
      x_start: 0
      y_start: 0
      x_end: 800
      y_end: 215
      fill: null
      outline: black
      width: 2
      radius: 0
    - type: text
      x: 48
      'y': 10
      value: Außen
      size: 20
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 76
      spacing: 5
    - type: icon
      value: |-
        {{ {
                    'clear-night': 'weather-night',
                    'cloudy': 'weather-cloudy',
                    'exceptional': 'alert-circle-outline',
                    'fog': 'weather-fog',
                    'hail': 'weather-hail',
                    'lightning': 'weather-lightning',
                    'lightning-rainy': 'weather-lightning-rainy',
                    'partlycloudy-night': 'weather-night-partly-cloudy',
                    'partlycloudy': 'weather-partly-cloudy',
                    'pouring': 'weather-pouring',
                    'rainy': 'weather-rainy',
                    'snowy': 'weather-snowy',
                    'snowy-rainy': 'weather-snowy-rainy',
                    'sunny': 'weather-sunny',
                    'windy': 'weather-windy',
                    'windy-variant': 'weather-windy-variant'
                }[states('weather.forecast_home')] | default('help-circle-outline') }}
      x: 232
      'y': 50
      size: 92
      color: black
      anchor: mm
    - type: icon
      value: weather-sunset-up
      x: 187
      'y': 147
      size: 25
      fill: black
      anchor: lm
    - type: text
      value: >-
        {% set raw = states('sensor.sun_next_rising') %}{% set parsed =
        as_datetime(raw, none) %}{{ (parsed | as_local).strftime('%H:%M') if raw
        not in [none, '', 'unknown', 'unavailable', 'none'] and parsed is not
        none else 'n.d.' }}
      x: 220
      'y': 147
      size: 20
      align: left
      color: black
      anchor: lm
    - type: icon
      value: weather-sunset-down
      x: 187
      'y': 178
      size: 25
      fill: black
      anchor: lm
    - type: text
      value: >-
        {% set raw = states('sensor.sun_next_setting') %}{% set parsed =
        as_datetime(raw, none) %}{{ (parsed | as_local).strftime('%H:%M') if raw
        not in [none, '', 'unknown', 'unavailable', 'none'] and parsed is not
        none else 'n.d.' }}
      x: 220
      'y': 178
      size: 20
      align: left
      color: black
      anchor: lm
    - type: text
      x: 232
      'y': 88
      value: '{{states(''sensor.wetterstation_furth_weather_condition'') }}'
      size: 30
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 120
      spacing: 5
    - type: icon
      value: >-
        {% set t = states('sensor.wetterstation_furth_temperature') | float %}{%
        if t <= 10 %}thermometer-low{% elif t >= 30 %}thermometer-high{% else
        %}thermometer{% endif %}
      x: 86
      'y': 50
      size: 84
      fill: black
      anchor: ma
    - type: text
      value: '{{ states(''sensor.wetterstation_furth_temperature'') }}°C'
      x: 86
      'y': 136
      size: 40
      color: black
      anchor: ma
    - type: rectangle
      x_start: 0
      y_start: 213
      x_end: 300
      y_end: 480
      fill: null
      outline: black
      width: 2
      radius: 0
    - type: icon
      value: window-shutter-open
      x: 235
      'y': 256
      size: 48
      fill: black
      anchor: mm
    - type: icon
      value: window-shutter-open
      x: 242
      'y': 405
      size: 48
      fill: black
      anchor: mm
    - type: icon
      value: window-shutter-open
      x: 57
      'y': 405
      size: 48
      fill: black
      anchor: mm
    - type: icon
      value: window-shutter-open
      x: 51
      'y': 256
      size: 48
      fill: black
      anchor: mm
    - type: text
      x: 81
      'y': 251
      value: Wohnzimmer
      size: 18
      color: black
      anchor: la
      font: ppb.ttf
      parse_colors: false
      max_width: 120
      spacing: 5
    - type: text
      x: 28
      'y': 355
      value: Karin
      size: 20
      color: black
      anchor: la
      font: ppb.ttf
      parse_colors: false
      max_width: 120
      spacing: 5
    - type: text
      x: 204
      'y': 355
      value: Schlafz
      size: 20
      color: black
      anchor: la
      font: ppb.ttf
      parse_colors: false
      max_width: 120
      spacing: 5
    - type: text
      x: 55
      'y': 422
      value: '{{ state_attr(''cover.karin_buro'', ''current_position'') }} %'
      size: 20
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 67
      spacing: 5
    - type: text
      x: 239
      'y': 422
      value: '{{ state_attr(''cover.schlafzimmer'', ''current_position'') }} %'
      size: 20
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 67
      spacing: 5
    - type: text
      x: 48
      'y': 273
      value: '{{ state_attr(''cover.rollo_wohnzimmerfenster'', ''current_position'') }} %'
      size: 20
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 76
      spacing: 5
    - type: text
      x: 235
      'y': 273
      value: >-
        {{ state_attr('cover.wohnzimmer_rollo_terrassentur', 'current_position')
        }} %
      size: 20
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 68
      spacing: 5
    - type: text
      x: 591
      'y': 16
      value: '{{ now().strftime(''%H:%M'') }}'
      size: 20
      color: black
      anchor: mm
      font: ppb.ttf
    - type: text
      x: 503
      'y': 15
      value: '{{ now().strftime(''%d.%m.%Y'') }}'
      size: 20
      color: black
      anchor: mm
      font: ppb.ttf
    - type: icon
      value: >-
        {% set t = states('sensor.helfer_gruppe_temperatursensoren') | float
        %}{% if t <= 10 %}thermometer-low{% elif t >= 30 %}thermometer-high{%
        else %}thermometer{% endif %}
      x: 708
      'y': 50
      size: 84
      fill: black
      anchor: ma
    - type: text
      value: '{{ states(''sensor.helfer_gruppe_temperatursensoren'') }}°C'
      x: 708
      'y': 136
      size: 40
      color: black
      anchor: ma
    - type: text
      x: 731
      'y': 10
      value: Innen
      size: 20
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 76
      spacing: 5
    - type: icon
      value: solar-power-variant
      x: 362
      'y': 263
      size: 48
      fill: black
      anchor: mm
    - type: text
      x: 365
      'y': 293
      value: '{{ (states(''sensor.bkw_statistik'') | float(0) / 1000) | round(2)  }} kWh'
      size: 25
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 113
      spacing: 5
    - type: icon
      value: home-import-outline
      x: 361
      'y': 385
      size: 48
      fill: black
      anchor: mm
    - type: text
      x: 363
      'y': 415
      value: >-
        {{ (states('sensor.haus_verbrauch_heute') | float(0) / 1) | round(2)  }}
        kWh
      size: 25
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 113
      spacing: 5
    - type: icon
      value: solar-power-variant
      x: 701
      'y': 263
      size: 48
      fill: black
      anchor: mm
    - type: text
      x: 704
      'y': 293
      value: >-
        {{
        (states('sensor.garage_garage_helfer_inselanlage_pv_produktion_heute') |
        float(0) / 1) | round(2)  }} kWh
      size: 25
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 113
      spacing: 5
    - type: icon
      value: home-import-outline
      x: 700
      'y': 385
      size: 48
      fill: black
      anchor: mm
    - type: text
      x: 702
      'y': 415
      value: >-
        {{ (states('sensor.garage_garage_helfer_inselanlage_verbrauch_heute') |
        float(0) / 1000) | round(2)  }} kWh
      size: 25
      color: black
      anchor: ma
      font: ppb.ttf
      parse_colors: false
      max_width: 113
      spacing: 5
    - type: line
      x_start: 529
      y_start: 213
      x_end: 529
      y_end: 480
      fill: black
      width: 2
    - type: icon
      value: home-assistant
      x: 484
      'y': 245
      size: 48
      fill: black
      anchor: mm
    - type: icon
      value: garage
      x: 560
      'y': 245
      size: 48
      fill: black
      anchor: mm
    - type: icon
      value: trash-can
      x: 360
      'y': 169
      size: 48
      fill: black
      anchor: mm
    - type: text
      x: 390
      'y': 142
      value: >-
        {{
        states('sensor.home_waste_collection_schedule_nachster_abholtermin_1')
        }}
      size: 20
      color: black
      anchor: la
      font: ppb.ttf
      parse_colors: false
      max_width: 217
      spacing: 5
    - type: text
      x: 308
      'y': 0
      value: 'last update:'
      size: 20
      color: black
      anchor: la
      font: ppb.ttf
      parse_colors: false
      max_width: 146
      spacing: 5
  background: white
  dither: burkes
  refresh_type: partial
  measured_palette: false
enabled: true
target:
  device_id: xy

if I try it via the developer tools / actions / draw custom image it either fails or it only gets queued.
Fehler bei einem oder mehreren Geräten: xy: Failed to upload to the display: PIPE_WRITE aborted: no ACK progress after 3 PTO probes
on the other hand a simple

action: opendisplay.drawcustom
target:
  device_id: xy
data:
  background: white
  rotate: 0
  dither: burkes
  refresh_type: full
  measured_palette: false
  dry-run: false
  payload:
    - type: text
      visible: true
      value: Hello World
      x: 10
      'true': 10
      size: 20
      color: black
      font: ppb.ttf

will update the display

I'm running out of ideas

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions