Skip to content

Instantly share code, notes, and snippets.

@matze19999
matze19999 / gist:9118f667510291e1e0ea28e74ec03245
Last active April 10, 2025 03:56
esp32-s3-touch-lcd-18.5
esphome:
name: esp32-s3-touch-lcd-185
friendly_name: esp32-s3-touch-lcd-1.85
on_boot:
priority: 600
then:
- lambda: |-
uint8_t config[2];
// 🔹 Gyro + Accel aus Standby holen
@disconn3ct
disconn3ct / mosquitto-relay.yaml
Last active February 2, 2025 14:17
Mosquitto relay for Bambu Labs printers - deprecated
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &name mosquitto-printer
namespace: homeautomation
spec:
chart:
spec:
chart: mosquitto
@bbbenji
bbbenji / bambu_lab-automations.yaml
Last active January 28, 2025 11:00
Bambu Lab X1C Home Assistant Automations
###
# Toggle an external light from the X1C screen
###
alias: Bambu Lab - Auto External Light
description: ""
trigger:
- platform: state
entity_id:
- light.x1c_chamber_light
from: null
@bbbenji
bbbenji / bambu_lab-lovelace.yaml
Last active April 2, 2025 21:50
Bambu Lab X1C Lovelace Dashboard
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-title-card
title: Bambu Lab X1C
alignment: start
- type: custom:mod-card
card:
type: custom:mushroom-chips-card
@Alex-Schaefer
Alex-Schaefer / bambu-ssdp-discovery.py
Last active April 11, 2025 02:12
Python implementation to send a fake SSDP discovery message to Bambu Studio or Orca Slicer
# Derived from this: https://github.com/gashton/bambustudio_tools/blob/master/bambudiscovery.sh
# Python implementation without need for linux
# Send the IP address of your BambuLab printer to port 2021/udp, which BambuStudio is listens on.
# Ensure your PC has firewall pot 2021/udp open. This is required as the proper response would usually go to the ephemeral source port that the M-SEARCH ssdp:discover message.
# But we are are blindly sending a response directly to the BambuStudio listening service port (2021/udp).
# Temporary solution to BambuStudio not allowing you to manually specify the Printer IP.
# Usage:
@Khoulaiz
Khoulaiz / gist:41b387883a208d6e914b
Last active August 30, 2024 01:05
Checking ports without telnet

Here are several different ways to test a TCP port without telnet.

$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C

$ cat &lt; /dev/tcp/127.0.0.1/23