Skip to content

using graphs

github-actions[bot] edited this page Sep 30, 2023 · 6 revisions

"using graphs"

Skill-level: high

minimum version: 2023.9.0

To use graphs on your display you have to add a graph to your yaml, only this graph can be displayed. Depending on your values you should set the loglevel of the graphs component to error

logger:
  level: DEBUG
  logs:
    graph: error

graph:
  - id: ehmtx_graph
    sensor: light_sensor
    duration: 15min
    border: false
    line_thickness:  1
    width: 32
    height: 8

ehmtxv2:
  id: rgb8x32
  display_graph: ehmtx_graph
  ...

The service call is:

    id(rgb8x32).graph_screen(10,20,200,130,170);
Clone this wiki locally