.ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.ender5_printer
This commit is contained in:
+199
-233
@@ -378,16 +378,11 @@
|
||||
{
|
||||
"type": "custom:webrtc-camera",
|
||||
"url": "octoprint",
|
||||
"mode": "mse",
|
||||
"style": "border-radius: 12px 12px 0 0; overflow: hidden;"
|
||||
"mode": "mse"
|
||||
},
|
||||
{
|
||||
"type": "custom:mushroom-light-card",
|
||||
"entity": "light.3d_printer_lights",
|
||||
"name": "Lamp",
|
||||
"icon": "mdi:lightbulb",
|
||||
"show_brightness_control": true,
|
||||
"layout": "horizontal"
|
||||
"type": "custom:webrtc-camera",
|
||||
"entity": "camera.endercamera2_duckdns_org"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -464,239 +459,210 @@
|
||||
"type": "vertical-stack",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:webrtc-camera",
|
||||
"url": "octoprint/cam2_Ender5Pro",
|
||||
"mode": "mse",
|
||||
"style": "border-radius: 12px 12px 0 0; overflow: hidden;"
|
||||
},
|
||||
{
|
||||
"type": "custom:mushroom-light-card",
|
||||
"entity": "light.3d_printer_lights",
|
||||
"name": "Lamp",
|
||||
"icon": "mdi:lightbulb",
|
||||
"show_brightness_control": true,
|
||||
"layout": "horizontal"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "horizontal-stack",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:webrtc-camera",
|
||||
"entity": "camera.endercamera2_duckdns_org",
|
||||
"style": "border-radius: 12px 12px 0 0; overflow: hidden;"
|
||||
},
|
||||
{
|
||||
"type": "vertical-stack",
|
||||
"type": "horizontal-stack",
|
||||
"cards": [
|
||||
{
|
||||
"type": "horizontal-stack",
|
||||
"cards": [
|
||||
"type": "custom:button-card",
|
||||
"entity": "switch.octoprint_connect_to_printer",
|
||||
"show_state": false,
|
||||
"tap_action": {
|
||||
"action": "toggle"
|
||||
},
|
||||
"name": "Connect",
|
||||
"icon": "mdi:lan-connect",
|
||||
"state": [
|
||||
{
|
||||
"type": "custom:button-card",
|
||||
"entity": "switch.octoprint_connect_to_printer",
|
||||
"show_state": false,
|
||||
"tap_action": {
|
||||
"action": "toggle"
|
||||
},
|
||||
"name": "Connect",
|
||||
"icon": "mdi:lan-connect",
|
||||
"state": [
|
||||
{
|
||||
"value": "off",
|
||||
"name": "Disconnect",
|
||||
"icon": "mdi:lan-disconnect"
|
||||
}
|
||||
],
|
||||
"styles": {
|
||||
"card": [
|
||||
{
|
||||
"height": "91px"
|
||||
},
|
||||
{
|
||||
"border-radius": "12px"
|
||||
},
|
||||
{
|
||||
"box-shadow": "none"
|
||||
},
|
||||
{
|
||||
"border": "1px solid rgba(var(--rgb-primary-text-color), 0.08)"
|
||||
},
|
||||
{
|
||||
"background": "var(--ha-card-background, var(--card-background-color))"
|
||||
}
|
||||
],
|
||||
"name": [
|
||||
{
|
||||
"font-size": "11px",
|
||||
"font-weight": "500"
|
||||
}
|
||||
],
|
||||
"icon": [
|
||||
{
|
||||
"--mdc-icon-size": "26px"
|
||||
},
|
||||
{
|
||||
"margin-top": "6px"
|
||||
},
|
||||
{
|
||||
"color": "[[[ return states['switch.octoprint_connect_to_printer']?.state === 'on' ? '#4CAF50' : 'var(--secondary-text-color)'; ]]]"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "custom:button-card",
|
||||
"entity": "switch.octoprint_camera_snapshot",
|
||||
"show_state": false,
|
||||
"tap_action": {
|
||||
"action": "toggle"
|
||||
},
|
||||
"name": "Snapshots",
|
||||
"icon": "mdi:camera",
|
||||
"state": [
|
||||
{
|
||||
"value": "off",
|
||||
"name": "Snapshots",
|
||||
"icon": "mdi:camera-off"
|
||||
}
|
||||
],
|
||||
"styles": {
|
||||
"card": [
|
||||
{
|
||||
"height": "91px"
|
||||
},
|
||||
{
|
||||
"border-radius": "12px"
|
||||
},
|
||||
{
|
||||
"box-shadow": "none"
|
||||
},
|
||||
{
|
||||
"border": "1px solid rgba(var(--rgb-primary-text-color), 0.08)"
|
||||
},
|
||||
{
|
||||
"background": "var(--ha-card-background, var(--card-background-color))"
|
||||
}
|
||||
],
|
||||
"name": [
|
||||
{
|
||||
"font-size": "11px",
|
||||
"font-weight": "500"
|
||||
}
|
||||
],
|
||||
"icon": [
|
||||
{
|
||||
"--mdc-icon-size": "26px"
|
||||
},
|
||||
{
|
||||
"margin-top": "6px"
|
||||
},
|
||||
{
|
||||
"color": "[[[ return states['switch.octoprint_camera_snapshot']?.state === 'on' ? '#4CAF50' : 'var(--secondary-text-color)'; ]]]"
|
||||
}
|
||||
]
|
||||
}
|
||||
"value": "off",
|
||||
"name": "Disconnect",
|
||||
"icon": "mdi:lan-disconnect"
|
||||
}
|
||||
]
|
||||
],
|
||||
"styles": {
|
||||
"card": [
|
||||
{
|
||||
"height": "91px"
|
||||
},
|
||||
{
|
||||
"border-radius": "12px"
|
||||
},
|
||||
{
|
||||
"box-shadow": "none"
|
||||
},
|
||||
{
|
||||
"border": "1px solid rgba(var(--rgb-primary-text-color), 0.08)"
|
||||
},
|
||||
{
|
||||
"background": "var(--ha-card-background, var(--card-background-color))"
|
||||
}
|
||||
],
|
||||
"name": [
|
||||
{
|
||||
"font-size": "11px",
|
||||
"font-weight": "500"
|
||||
}
|
||||
],
|
||||
"icon": [
|
||||
{
|
||||
"--mdc-icon-size": "26px"
|
||||
},
|
||||
{
|
||||
"margin-top": "6px"
|
||||
},
|
||||
{
|
||||
"color": "[[[ return states['switch.octoprint_connect_to_printer']?.state === 'on' ? '#4CAF50' : 'var(--secondary-text-color)'; ]]]"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "horizontal-stack",
|
||||
"cards": [
|
||||
"type": "custom:button-card",
|
||||
"entity": "switch.octoprint_camera_snapshot",
|
||||
"show_state": false,
|
||||
"tap_action": {
|
||||
"action": "toggle"
|
||||
},
|
||||
"name": "Snapshots",
|
||||
"icon": "mdi:camera",
|
||||
"state": [
|
||||
{
|
||||
"type": "custom:button-card",
|
||||
"name": "GCode viewer",
|
||||
"icon": "mdi:cube-outline",
|
||||
"show_state": false,
|
||||
"tap_action": {
|
||||
"action": "url",
|
||||
"url_path": "https://ender5pro.duckdns.org/#gcode"
|
||||
},
|
||||
"styles": {
|
||||
"card": [
|
||||
{
|
||||
"height": "91px"
|
||||
},
|
||||
{
|
||||
"border-radius": "12px"
|
||||
},
|
||||
{
|
||||
"box-shadow": "none"
|
||||
},
|
||||
{
|
||||
"border": "1px solid rgba(var(--rgb-primary-text-color), 0.08)"
|
||||
},
|
||||
{
|
||||
"background": "var(--ha-card-background, var(--card-background-color))"
|
||||
}
|
||||
],
|
||||
"name": [
|
||||
{
|
||||
"font-size": "11px",
|
||||
"font-weight": "500"
|
||||
}
|
||||
],
|
||||
"icon": [
|
||||
{
|
||||
"--mdc-icon-size": "26px"
|
||||
},
|
||||
{
|
||||
"margin-top": "6px"
|
||||
},
|
||||
{
|
||||
"color": "#4CAF50"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "custom:button-card",
|
||||
"name": "Pretty GCode",
|
||||
"icon": "mdi:cube-scan",
|
||||
"show_state": false,
|
||||
"tap_action": {
|
||||
"action": "url",
|
||||
"url_path": "https://ender5pro.duckdns.org/#tab_plugin_prettygcode"
|
||||
},
|
||||
"styles": {
|
||||
"card": [
|
||||
{
|
||||
"height": "91px"
|
||||
},
|
||||
{
|
||||
"border-radius": "12px"
|
||||
},
|
||||
{
|
||||
"box-shadow": "none"
|
||||
},
|
||||
{
|
||||
"border": "1px solid rgba(var(--rgb-primary-text-color), 0.08)"
|
||||
},
|
||||
{
|
||||
"background": "var(--ha-card-background, var(--card-background-color))"
|
||||
}
|
||||
],
|
||||
"name": [
|
||||
{
|
||||
"font-size": "11px",
|
||||
"font-weight": "500"
|
||||
}
|
||||
],
|
||||
"icon": [
|
||||
{
|
||||
"--mdc-icon-size": "26px"
|
||||
},
|
||||
{
|
||||
"margin-top": "6px"
|
||||
},
|
||||
{
|
||||
"color": "#4CAF50"
|
||||
}
|
||||
]
|
||||
}
|
||||
"value": "off",
|
||||
"name": "Snapshots",
|
||||
"icon": "mdi:camera-off"
|
||||
}
|
||||
]
|
||||
],
|
||||
"styles": {
|
||||
"card": [
|
||||
{
|
||||
"height": "91px"
|
||||
},
|
||||
{
|
||||
"border-radius": "12px"
|
||||
},
|
||||
{
|
||||
"box-shadow": "none"
|
||||
},
|
||||
{
|
||||
"border": "1px solid rgba(var(--rgb-primary-text-color), 0.08)"
|
||||
},
|
||||
{
|
||||
"background": "var(--ha-card-background, var(--card-background-color))"
|
||||
}
|
||||
],
|
||||
"name": [
|
||||
{
|
||||
"font-size": "11px",
|
||||
"font-weight": "500"
|
||||
}
|
||||
],
|
||||
"icon": [
|
||||
{
|
||||
"--mdc-icon-size": "26px"
|
||||
},
|
||||
{
|
||||
"margin-top": "6px"
|
||||
},
|
||||
{
|
||||
"color": "[[[ return states['switch.octoprint_camera_snapshot']?.state === 'on' ? '#4CAF50' : 'var(--secondary-text-color)'; ]]]"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "horizontal-stack",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:button-card",
|
||||
"name": "GCode viewer",
|
||||
"icon": "mdi:cube-outline",
|
||||
"show_state": false,
|
||||
"tap_action": {
|
||||
"action": "url",
|
||||
"url_path": "https://ender5pro.duckdns.org/#gcode"
|
||||
},
|
||||
"styles": {
|
||||
"card": [
|
||||
{
|
||||
"height": "91px"
|
||||
},
|
||||
{
|
||||
"border-radius": "12px"
|
||||
},
|
||||
{
|
||||
"box-shadow": "none"
|
||||
},
|
||||
{
|
||||
"border": "1px solid rgba(var(--rgb-primary-text-color), 0.08)"
|
||||
},
|
||||
{
|
||||
"background": "var(--ha-card-background, var(--card-background-color))"
|
||||
}
|
||||
],
|
||||
"name": [
|
||||
{
|
||||
"font-size": "11px",
|
||||
"font-weight": "500"
|
||||
}
|
||||
],
|
||||
"icon": [
|
||||
{
|
||||
"--mdc-icon-size": "26px"
|
||||
},
|
||||
{
|
||||
"margin-top": "6px"
|
||||
},
|
||||
{
|
||||
"color": "#4CAF50"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "custom:button-card",
|
||||
"name": "Pretty GCode",
|
||||
"icon": "mdi:cube-scan",
|
||||
"show_state": false,
|
||||
"tap_action": {
|
||||
"action": "url",
|
||||
"url_path": "https://ender5pro.duckdns.org/#tab_plugin_prettygcode"
|
||||
},
|
||||
"styles": {
|
||||
"card": [
|
||||
{
|
||||
"height": "91px"
|
||||
},
|
||||
{
|
||||
"border-radius": "12px"
|
||||
},
|
||||
{
|
||||
"box-shadow": "none"
|
||||
},
|
||||
{
|
||||
"border": "1px solid rgba(var(--rgb-primary-text-color), 0.08)"
|
||||
},
|
||||
{
|
||||
"background": "var(--ha-card-background, var(--card-background-color))"
|
||||
}
|
||||
],
|
||||
"name": [
|
||||
{
|
||||
"font-size": "11px",
|
||||
"font-weight": "500"
|
||||
}
|
||||
],
|
||||
"icon": [
|
||||
{
|
||||
"--mdc-icon-size": "26px"
|
||||
},
|
||||
{
|
||||
"margin-top": "6px"
|
||||
},
|
||||
{
|
||||
"color": "#4CAF50"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user