.storage/lovelace.3d_printer_cellphone, zigbee2mqtt/state.json
This commit is contained in:
@@ -101,15 +101,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"type": "custom:mushroom-template-card",
|
||||||
"entity": "sensor.sparkx_i7_filament_weight_estimated",
|
"entity": "sensor.sparkx_i7_filament_weight_estimated",
|
||||||
"grid_options": {
|
"grid_options": {
|
||||||
"columns": 6
|
"columns": 12
|
||||||
},
|
},
|
||||||
"icon": "{% set st = states('sensor.sparkx_i7_print_status') %}{% if st in ['printing', 'paused'] %}mdi:printer-3d-nozzle{% else %}mdi:calendar-today{% endif %}",
|
"icon": "{% set st = states('sensor.sparkx_i7_print_status') %} {% if st in ['printing', 'paused'] %}\n mdi:printer-3d-nozzle\n{% else %}\n mdi:cash-multiple\n{% endif %}",
|
||||||
|
"icon_color": "{% set st = states('sensor.sparkx_i7_print_status') %} {% if st in ['printing', 'paused'] %}\n blue\n{% else %}\n green\n{% endif %}",
|
||||||
"multiline_secondary": true,
|
"multiline_secondary": true,
|
||||||
"name": "Filament Used",
|
"primary": "{% set st = states('sensor.sparkx_i7_print_status') %} {% if st in ['printing', 'paused'] %}\n {{ states('sensor.sparkx_i7_filament_weight_estimated') | round(1) }} g\n{% else %}\n Last: {{ states('input_number.sparkx_i7_last_job_filament_weight') | round(1) }} g\n{% endif %}",
|
||||||
"primary": "{% set st = states('sensor.sparkx_i7_print_status') %}{% if st in ['printing', 'paused'] %}{{ states('sensor.sparkx_i7_filament_weight_estimated') | round(1) }} g{% else %}Last job: {{ states('input_number.sparkx_i7_last_job_filament_weight') | round(1) }} g{% endif %}",
|
"secondary": "{% set st = states('sensor.sparkx_i7_print_status') %} {% if st in ['printing', 'paused'] %}\n {{ states('sensor.sparkx_i7_filament_cost') | round(2) }} $ (live)\n{% else %}\n {{ states('input_number.sparkx_i7_last_job_cost') | round(2) }} $ (last job)\n{% endif %}"
|
||||||
"type": "custom:mushroom-template-card"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "heading",
|
"type": "heading",
|
||||||
|
|||||||
+11
-11
@@ -47,7 +47,7 @@
|
|||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 121.5,
|
"voltage": 121.5,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 105.8,
|
"energy": 105.81,
|
||||||
"power_factor": 0.89,
|
"power_factor": 0.89,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"update": {
|
"update": {
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"linkquality": 145,
|
"linkquality": 145,
|
||||||
"power": 85.7,
|
"power": 86.5,
|
||||||
"current": 0.85,
|
"current": 0.85,
|
||||||
"power_on_behavior": "on"
|
"power_on_behavior": "on"
|
||||||
},
|
},
|
||||||
@@ -74,13 +74,13 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"voltage": 119.5,
|
"voltage": 120.5,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 215.2,
|
"energy": 215.2,
|
||||||
"power": 99,
|
"power": 0.7,
|
||||||
"current": 0.92,
|
"current": 0.02,
|
||||||
"power_factor": 0.95,
|
"power_factor": 0.34,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -95,10 +95,10 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"voltage": 121.8,
|
"voltage": 121.3,
|
||||||
"energy": 101.72,
|
"energy": 101.73,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"power": 26.2,
|
"power": 24,
|
||||||
"current": 0.33,
|
"current": 0.33,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.62,
|
"power_factor": 0.62,
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
"energy": 14.73,
|
"energy": 14.73,
|
||||||
"current": 0.01,
|
"current": 0.01,
|
||||||
"power": 0.1,
|
"power": 0.1,
|
||||||
"power_factor": 0.11,
|
"power_factor": 0.13,
|
||||||
"linkquality": 116,
|
"linkquality": 116,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
@@ -171,7 +171,7 @@
|
|||||||
},
|
},
|
||||||
"0xa4c1380d0679ffff": {
|
"0xa4c1380d0679ffff": {
|
||||||
"battery": 100,
|
"battery": 100,
|
||||||
"temperature": 19.9,
|
"temperature": 19.7,
|
||||||
"temperature_units": "celsius",
|
"temperature_units": "celsius",
|
||||||
"temperature_calibration": 0,
|
"temperature_calibration": 0,
|
||||||
"update": {
|
"update": {
|
||||||
|
|||||||
Reference in New Issue
Block a user