.storage/lovelace.sparkx_i7, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-09-24 01:26:03 +00:00
parent 2f861f1f26
commit 9c1726eb8a
2 changed files with 494 additions and 22 deletions
+475 -3
View File
@@ -6,9 +6,481 @@
"config": {
"views": [
{
"path": "home",
"sections": [],
"title": "Home",
"max_columns": 4,
"path": "print",
"sections": [
{
"cards": [
{
"heading": "Printer Status",
"icon": "mdi:printer-3d-nozzle",
"type": "heading"
},
{
"grid_options": {
"columns": 4
},
"type": "custom:webrtc-camera",
"ui": true,
"url": "octoprint"
},
{
"grid_options": {
"columns": 4
},
"type": "custom:webrtc-camera",
"ui": true,
"url": "octoprint2"
},
{
"grid_options": {
"columns": 4
},
"type": "custom:webrtc-camera",
"ui": true,
"url": "camera.sparkx_i7_printer_camera"
},
{
"entity": "sensor.sparkx_i7_print_status",
"grid_options": {
"columns": 6
},
"icon": "mdi:state-machine",
"name": "Status",
"type": "tile"
},
{
"entity": "sensor.sparkx_i7_position_z",
"grid_options": {
"columns": 6
},
"icon": "mdi:axis-z-arrow",
"name": "Current Z",
"type": "tile"
}
],
"type": "grid"
},
{
"cards": [
{
"heading": "Print Progress",
"icon": "mdi:progress-clock",
"type": "heading"
},
{
"entity": "sensor.sparkx_i7_print_progress",
"grid_options": {
"columns": 6,
"rows": 3
},
"max": 100,
"min": 0,
"name": "Progress",
"severity": {
"green": 0,
"red": 90,
"yellow": 40
},
"type": "gauge",
"unit": "%"
},
{
"grid_options": {
"columns": 6
},
"icon": "mdi:clock-start",
"multiline_secondary": true,
"name": "Elapsed",
"primary": "Elapsed",
"secondary": "{% set s = states('sensor.sparkx_i7_print_job_time') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}{% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}",
"type": "custom:mushroom-template-card"
},
{
"grid_options": {
"columns": 6
},
"icon": "mdi:clock-end",
"multiline_secondary": true,
"name": "Remaining",
"primary": "Remaining",
"secondary": "{% set s = states('sensor.sparkx_i7_print_time_left') | float(-1) %}{% if s <= 0 %}No estimate{% else %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}{% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}{% endif %}",
"type": "custom:mushroom-template-card"
},
{
"grid_options": {
"columns": 6
},
"icon": "mdi:clock-outline",
"multiline_secondary": true,
"primary": "Est. Finish",
"secondary": "{% set left = states('sensor.sparkx_i7_print_time_left') | int(0) %}{% if left > 0 %}{{ (now() + timedelta(seconds=left)).strftime('%I:%M %p').lstrip('0') }}{% else %}—{% endif %}",
"type": "custom:mushroom-template-card"
},
{
"grid_options": {
"columns": 6
},
"icon": "mdi:layers",
"multiline_secondary": true,
"name": "Layer",
"primary": "Layer",
"secondary": "{% set c = states('sensor.sparkx_i7_working_layer') | int(0) %}{% set t = states('sensor.sparkx_i7_total_layers') | int(0) %}{{ c }} of {{ t }}",
"type": "custom:mushroom-template-card"
},
{
"entity": "light.sparkx_i7_light",
"grid_options": {
"columns": 6
},
"icon": "mdi:lightbulb",
"name": "Printer Light",
"type": "tile"
},
{
"detail": 1,
"entity": "sensor.sparkx_i7_print_progress",
"graph": "line",
"grid_options": {
"columns": "full"
},
"hours_to_show": 24,
"name": "Progress History",
"type": "sensor"
}
],
"type": "grid"
},
{
"cards": [
{
"heading": "Temperatures",
"icon": "mdi:thermometer",
"type": "heading"
},
{
"entity": "sensor.sparkx_i7_nozzle_temperature",
"grid_options": {
"columns": 4
},
"max": 300,
"min": 0,
"name": "Nozzle",
"severity": {
"green": 0,
"red": 240,
"yellow": 180
},
"type": "gauge",
"unit": "°C"
},
{
"entity": "sensor.sparkx_i7_bed_temperature",
"grid_options": {
"columns": 4
},
"max": 100,
"min": 0,
"name": "Bed",
"severity": {
"green": 0,
"red": 100,
"yellow": 60
},
"type": "gauge",
"unit": "°C"
},
{
"entity": "number.sparkx_i7_nozzle_target",
"grid_options": {
"columns": 6
},
"icon": "mdi:printer-3d-nozzle",
"name": "Nozzle Target",
"type": "tile"
},
{
"entity": "number.sparkx_i7_bed_target",
"grid_options": {
"columns": 6
},
"icon": "mdi:radiator",
"name": "Bed Target",
"type": "tile"
},
{
"entities": [
{
"color": "#ef5350",
"entity": "sensor.sparkx_i7_nozzle_temperature",
"name": "Actual"
},
{
"color": "#4caf50",
"entity": "number.sparkx_i7_nozzle_target",
"name": "Target"
}
],
"expand_legend": true,
"grid_options": {
"columns": "full"
},
"hours_to_show": 24,
"show_names": true,
"title": "Nozzle Temperature",
"type": "history-graph"
},
{
"entities": [
{
"color": "#42a5f5",
"entity": "sensor.sparkx_i7_bed_temperature",
"name": "Actual"
},
{
"color": "#4caf50",
"entity": "number.sparkx_i7_bed_target",
"name": "Target"
}
],
"expand_legend": true,
"grid_options": {
"columns": "full"
},
"hours_to_show": 24,
"show_names": true,
"title": "Bed Temperature",
"type": "history-graph"
}
],
"type": "grid"
},
{
"cards": [
{
"heading": "Controls",
"icon": "mdi:gesture-tap-button",
"type": "heading"
},
{
"entity": "button.sparkx_i7_pause_print",
"grid_options": {
"columns": 4
},
"icon": "mdi:pause",
"name": "Pause",
"tap_action": {
"action": "perform-action",
"perform_action": "button.press",
"target": {
"entity_id": "button.sparkx_i7_pause_print"
}
},
"type": "tile"
},
{
"entity": "button.sparkx_i7_resume_print",
"grid_options": {
"columns": 4
},
"icon": "mdi:play",
"name": "Resume",
"tap_action": {
"action": "perform-action",
"perform_action": "button.press",
"target": {
"entity_id": "button.sparkx_i7_resume_print"
}
},
"type": "tile"
},
{
"entity": "button.sparkx_i7_reconnect",
"grid_options": {
"columns": 4
},
"icon": "mdi:lan-connect",
"name": "Connect",
"tap_action": {
"action": "perform-action",
"perform_action": "button.press",
"target": {
"entity_id": "button.sparkx_i7_reconnect"
}
},
"type": "tile"
},
{
"entity": "button.sparkx_i7_stop_print",
"grid_options": {
"columns": 4
},
"icon": "mdi:cancel",
"name": "Cancel Print",
"tap_action": {
"action": "perform-action",
"perform_action": "button.press",
"target": {
"entity_id": "button.sparkx_i7_stop_print"
}
},
"type": "tile"
}
],
"type": "grid"
}
],
"title": "Print",
"type": "sections"
},
{
"max_columns": 2,
"path": "history",
"sections": [
{
"cards": [
{
"heading": "Temperature History",
"icon": "mdi:chart-line-variant",
"type": "heading"
},
{
"entities": [
{
"color": "#ef5350",
"entity": "sensor.sparkx_i7_nozzle_temperature",
"name": "Nozzle"
},
{
"color": "#ffab91",
"entity": "number.sparkx_i7_nozzle_target",
"name": "Nozzle Target"
},
{
"color": "#42a5f5",
"entity": "sensor.sparkx_i7_bed_temperature",
"name": "Bed"
},
{
"color": "#90caf9",
"entity": "number.sparkx_i7_bed_target",
"name": "Bed Target"
}
],
"expand_legend": true,
"grid_options": {
"columns": "full"
},
"hours_to_show": 24,
"show_names": true,
"title": "Temperatures (24h)",
"type": "history-graph"
},
{
"entities": [
{
"color": "#ef5350",
"entity": "sensor.sparkx_i7_nozzle_temperature",
"name": "Nozzle"
},
{
"color": "#42a5f5",
"entity": "sensor.sparkx_i7_bed_temperature",
"name": "Bed"
}
],
"expand_legend": true,
"grid_options": {
"columns": "full"
},
"hours_to_show": 168,
"show_names": true,
"title": "Temperatures (7 days)",
"type": "history-graph"
}
],
"type": "grid"
},
{
"cards": [
{
"heading": "Print Activity",
"icon": "mdi:chart-box-outline",
"type": "heading"
},
{
"apex_config": {
"chart": {
"height": 300
},
"stroke": {
"width": 1
}
},
"graph_span": "24h",
"grid_options": {
"columns": "full"
},
"header": {
"colorize_states": true,
"show": true,
"show_states": true,
"title": "Z Position (24h)"
},
"series": [
{
"color": "#ab47bc",
"curve": "straight",
"entity": "sensor.sparkx_i7_position_z",
"fill_raw": "last",
"name": "Current Z",
"type": "line"
}
],
"type": "custom:apexcharts-card"
},
{
"entities": [
{
"color": "#66bb6a",
"entity": "sensor.sparkx_i7_print_progress",
"name": "Progress"
}
],
"grid_options": {
"columns": "full"
},
"hours_to_show": 24,
"show_names": true,
"title": "Print Progress (24h)",
"type": "history-graph"
},
{
"entities": [
{
"color": "#26c6da",
"entity": "sensor.sparkx_i7_print_job_time",
"name": "Elapsed"
},
{
"color": "#ffa726",
"entity": "sensor.sparkx_i7_print_time_left",
"name": "Remaining"
}
],
"grid_options": {
"columns": "full"
},
"hours_to_show": 24,
"show_names": true,
"title": "Print Duration (24h)",
"type": "history-graph"
}
],
"type": "grid"
}
],
"title": "History",
"type": "sections"
}
]
+19 -19
View File
@@ -1,13 +1,13 @@
{
"0xffffb40e0607ace4": {
"energy": 21.09,
"energy": 21.11,
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 120.1,
"voltage": 120.5,
"countdown_to_turn_on": 0,
"ac_frequency": 60,
"power_factor": 0.77,
"power_factor": 0.82,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -15,9 +15,9 @@
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
"latest_release_notes": null
},
"power": 27.6,
"power": 9.5,
"linkquality": 91,
"current": 0.78,
"current": 0.1,
"power_on_behavior": "on"
},
"0xffffb40e0607af27": {
@@ -27,8 +27,8 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 2,
"current": 0.09,
"power": 2.1,
"current": 0.1,
"energy": 46.16,
"power_factor": 0.17,
"update": {
@@ -47,8 +47,8 @@
"countdown_to_turn_off": 0,
"voltage": 120.1,
"countdown_to_turn_on": 0,
"energy": 89.96,
"power_factor": 0.2,
"energy": 89.97,
"power_factor": 0.9,
"ac_frequency": 60,
"update": {
"state": "idle",
@@ -58,7 +58,7 @@
"latest_release_notes": null
},
"linkquality": 120,
"power": 83.2,
"power": 83.6,
"current": 0.79,
"power_on_behavior": "on"
},
@@ -77,8 +77,8 @@
"voltage": 118.8,
"state": "ON",
"ac_frequency": 60,
"energy": 183.72,
"power": 102.3,
"energy": 183.74,
"power": 102.7,
"current": 0.9,
"power_factor": 0.95,
"update": {
@@ -95,13 +95,13 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 119.8,
"energy": 91.13,
"voltage": 119.9,
"energy": 91.14,
"state": "ON",
"power": 56.3,
"current": 0.81,
"power": 58.5,
"current": 0.66,
"ac_frequency": 60,
"power_factor": 0.76,
"power_factor": 0.74,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 120.5,
"voltage": 121.1,
"energy": 28.73,
"countdown_to_turn_on": 0,
"state": "ON",
@@ -171,7 +171,7 @@
},
"0xa4c1380d0679ffff": {
"battery": 100,
"temperature": 26.2,
"temperature": 26.1,
"temperature_units": "celsius",
"temperature_calibration": 0,
"update": {