Skip to content

Battery Cell Voltage 3D Graph #487

Answered by dbuezas
clowrey asked this question in Q&A
Nov 21, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

That's a tricky one! Try with this:
(used some random sensors to test it)

type: custom:plotly-graph
raw_plotly_config: true
hours_to_show: 1d

defaults:
  entity:
    internal: true
    filters: 
     - resample: 1m 
    fn: |
      $ex {
          vars.data.push(ys);
          vars.xs = xs;
       }

fn: $ex vars.data = []
layout:
  height: 400
  margin:
    t: 0 
    l: 0
    r: 90
    b: 0
  scene:
    camera: 
      eye: 
        x: 2
        y: 2
        z: 2
    xaxis:
      title: Hour of Day 
      tickformat: '%H:%M:%S'
    yaxis:
      title: BMS
      tickmode: 'linear'
      dtick: 1
    zaxis:
      title: V

entities: 
  - entity: sensor.bms_can_logger_cell_v_0
  - entity: s…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@clowrey
Comment options

@dbuezas
Comment options

@clowrey
Comment options

@dbuezas
Comment options

Answer selected by clowrey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants