{ "version": 1, "minor_version": 1, "key": "lovelace.printer_stats", "data": { "config": { "views": [ { "title": "Print", "path": "print", "type": "sections", "max_columns": 4, "sections": [ { "type": "grid", "cards": [ { "type": "heading", "heading": "Printer Status", "icon": "mdi:printer-3d-nozzle" }, { "type": "tile", "entity": "binary_sensor.octoprint_printing", "name": "Printing", "icon": "mdi:printer-3d", "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "binary_sensor.octoprint_connected", "name": "Connected", "icon": "mdi:lan-connect", "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "sensor.octoprint_print_status", "name": "Status", "icon": "mdi:state-machine", "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "sensor.octoprint_last_event", "name": "Last Event", "icon": "mdi:history", "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "sensor.octoprint_print_file", "name": "File", "icon": "mdi:file-code", "grid_options": { "columns": "full" } } ] }, { "type": "grid", "cards": [ { "type": "heading", "heading": "Print Progress", "icon": "mdi:progress-clock" }, { "type": "gauge", "entity": "sensor.octoprint_print_progress", "name": "Progress", "min": 0, "max": 100, "unit": "%", "severity": { "green": 0, "yellow": 40, "red": 90 }, "grid_options": { "columns": 6, "rows": 2 } }, { "type": "tile", "entity": "sensor.octoprint_print_time", "name": "Elapsed", "icon": "mdi:clock-start", "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "sensor.octoprint_print_time_left", "name": "Remaining", "icon": "mdi:clock-end", "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "sensor.octoprint_approximate_completion_time", "name": "Est. Finish", "icon": "mdi:calendar-clock", "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "sensor.octoprint_current_z", "name": "Current Z", "icon": "mdi:axis-z-arrow", "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "sensor.octoprint_approximate_total_print_time", "name": "Total Est.", "icon": "mdi:timer-outline", "grid_options": { "columns": 6 } }, { "type": "sensor", "entity": "sensor.octoprint_print_progress", "name": "Progress History", "graph": "line", "hours_to_show": 24, "detail": 1, "grid_options": { "columns": "full" } } ] }, { "type": "grid", "cards": [ { "type": "heading", "heading": "Temperatures", "icon": "mdi:thermometer" }, { "type": "gauge", "entity": "sensor.octoprint_tool_0_temperature", "name": "Nozzle", "min": 0, "max": 260, "unit": "°C", "severity": { "green": 0, "yellow": 180, "red": 240 }, "grid_options": { "columns": 4 } }, { "type": "gauge", "entity": "sensor.octoprint_bed_temperature", "name": "Bed", "min": 0, "max": 120, "unit": "°C", "severity": { "green": 0, "yellow": 60, "red": 100 }, "grid_options": { "columns": 4 } }, { "type": "gauge", "entity": "sensor.octoprint_soc_temperature", "name": "SoC", "min": 0, "max": 100, "unit": "°C", "severity": { "green": 0, "yellow": 70, "red": 90 }, "grid_options": { "columns": 4 } }, { "type": "tile", "entity": "sensor.octoprint_tool_0_target", "name": "Nozzle Target", "icon": "mdi:printer-3d-nozzle", "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "sensor.octoprint_bed_target", "name": "Bed Target", "icon": "mdi:radiator", "grid_options": { "columns": 6 } } ] }, { "type": "grid", "cards": [ { "type": "heading", "heading": "Controls", "icon": "mdi:gesture-tap-button" }, { "type": "tile", "entity": "switch.octoprint_pause_print", "name": "Pause", "icon": "mdi:pause", "grid_options": { "columns": 4 } }, { "type": "tile", "entity": "switch.octoprint_connect_to_printer", "name": "Connect", "icon": "mdi:lan-connect", "grid_options": { "columns": 4 } }, { "type": "tile", "entity": "switch.octoprint_camera_snapshot", "name": "Snapshot", "icon": "mdi:camera", "grid_options": { "columns": 4 } }, { "type": "tile", "entity": "button.octoprint_cancel_print", "name": "Cancel Print", "icon": "mdi:cancel", "tap_action": { "action": "perform-action", "perform_action": "button.press", "target": { "entity_id": "button.octoprint_cancel_print" } }, "grid_options": { "columns": 6 } }, { "type": "tile", "entity": "button.octoprint_emergency_stop", "name": "Emergency Stop", "icon": "mdi:stop-circle", "tap_action": { "action": "perform-action", "perform_action": "button.press", "target": { "entity_id": "button.octoprint_emergency_stop" } }, "grid_options": { "columns": 6 } } ] }, { "type": "grid", "cards": [ { "type": "heading", "heading": "Totals", "icon": "mdi:chart-box-outline" }, { "type": "tile", "entity": "sensor.octoprint_printer_print_time_today", "name": "Print Time Today", "icon": "mdi:clock-start", "grid_options": { "columns": 4 } }, { "type": "tile", "entity": "sensor.octoprint_printer_print_time_this_week", "name": "Print Time This Week", "icon": "mdi:calendar-week", "grid_options": { "columns": 4 } }, { "type": "tile", "entity": "sensor.octoprint_printer_print_time_last_7_days", "name": "Print Time Last 7 Days", "icon": "mdi:clock-history", "grid_options": { "columns": 4 } }, { "type": "tile", "entity": "sensor.octoprint_printer_prints_today", "name": "Prints Today", "icon": "mdi:counter", "grid_options": { "columns": 4 } }, { "type": "tile", "entity": "sensor.octoprint_printer_prints_this_week", "name": "Prints This Week", "icon": "mdi:counter", "grid_options": { "columns": 4 } }, { "type": "tile", "entity": "sensor.octoprint_printer_prints_last_7_days", "name": "Prints Last 7 Days", "icon": "mdi:counter", "grid_options": { "columns": 4 } } ] } ] }, { "title": "History", "path": "history", "type": "sections", "max_columns": 2, "sections": [ { "type": "grid", "cards": [ { "type": "heading", "heading": "Temperature History", "icon": "mdi:chart-line-variant" }, { "type": "history-graph", "title": "Temperatures (24h)", "hours_to_show": 24, "show_names": true, "expand_legend": true, "entities": [ { "entity": "sensor.octoprint_tool_0_temperature", "name": "Nozzle", "color": "#ef5350" }, { "entity": "sensor.octoprint_tool_0_target", "name": "Nozzle Target", "color": "#ffab91" }, { "entity": "sensor.octoprint_bed_temperature", "name": "Bed", "color": "#42a5f5" }, { "entity": "sensor.octoprint_bed_target", "name": "Bed Target", "color": "#90caf9" } ], "grid_options": { "columns": "full" } }, { "type": "history-graph", "title": "Temperatures (7 days)", "hours_to_show": 168, "show_names": true, "expand_legend": true, "entities": [ { "entity": "sensor.octoprint_tool_0_temperature", "name": "Nozzle", "color": "#ef5350" }, { "entity": "sensor.octoprint_bed_temperature", "name": "Bed", "color": "#42a5f5" } ], "grid_options": { "columns": "full" } } ] }, { "type": "grid", "cards": [ { "type": "heading", "heading": "Print Activity", "icon": "mdi:chart-box-outline" }, { "type": "history-graph", "title": "Print Progress (24h)", "hours_to_show": 24, "show_names": true, "entities": [ { "entity": "sensor.octoprint_print_progress", "name": "Progress", "color": "#66bb6a" } ], "grid_options": { "columns": "full" } }, { "type": "history-graph", "title": "Print Duration (24h)", "hours_to_show": 24, "show_names": true, "entities": [ { "entity": "sensor.octoprint_print_time", "name": "Elapsed", "color": "#26c6da" }, { "entity": "sensor.octoprint_print_time_left", "name": "Remaining", "color": "#ffa726" } ], "grid_options": { "columns": "full" } }, { "type": "history-graph", "title": "Z Position (24h)", "hours_to_show": 24, "show_names": true, "entities": [ { "entity": "sensor.octoprint_current_z", "name": "Current Z", "color": "#ab47bc" } ], "grid_options": { "columns": "full" } }, { "type": "history-graph", "title": "Printing State (7 days)", "hours_to_show": 168, "show_names": true, "entities": [ { "entity": "binary_sensor.octoprint_printing", "name": "Printing", "color": "#66bb6a" } ], "grid_options": { "columns": "full" } } ] } ] } ] } } }