Skip to content

Instantly share code, notes, and snippets.

View mkosmo's full-sized avatar

Matthew Kosmoski mkosmo

View GitHub Profile
@WolfwithSword
WolfwithSword / bambu-accessories.yaml
Last active March 27, 2023 00:05
ESPHome YAML for Bambu-Accessories Smart Control Box
substitutions:
device_name: "bambu-accessories"
friendly_name: "Bambu Accessories"
project_name: "bambu.accessories"
project_version: "1.0"
relay_restore_mode: RESTORE_DEFAULT_OFF
esphome:
name: "${device_name}"
@WolfwithSword
WolfwithSword / bambu_bed_mesh_flow.json
Last active September 20, 2024 14:37 — forked from mkosmo/bambu_mqtt.json
Node-RED Flow - BambuLab X1 MQTT Relay for Home Assistant MQTT Auto-Discovery
[
{
"id": "40b2e704eefd62e1",
"type": "group",
"z": "fbda6ab16491b918",
"name": "Bed Mesh Parser",
"style": {
"stroke": "#92d04f",
"fill": "#9363b7",
"fill-opacity": "0.16",
@lizthegrey
lizthegrey / attributes.rb
Last active September 24, 2024 14:33
Hardening SSH with 2fa
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'