Skip to content

Instantly share code, notes, and snippets.

@greendog99
greendog99 / KAMP_conditionally.cfg
Last active August 23, 2023 18:47
Call KAMP bed mesh leveling only if the mesh dimensions have changed since the previous print.
[gcode_macro KAMP_CONDITIONALLY]
description: Only call BED_MESH_CALIBRATE if the dimensions are different from the last print.
# Variables to remember the print dimensions between prints.
variable_prev_x_min: 0
variable_prev_x_max: 0
variable_prev_y_min: 0
variable_prev_y_max: 0
gcode:
@greendog99
greendog99 / 3d_dashboard.yaml
Created April 17, 2023 16:49
Moonraker HASS Config
cards:
- type: custom:mushroom-title-card
title: Moonraker – {{ states('sensor.moonraker_current_display_message') }}
subtitle: '{{ states(''sensor.moonraker_filename'') }}'
alignment: center
title_tap_action:
action: url
url_path: http://moonraker.local/
- square: false
type: grid