From 297d363bfe625c0d25c3bd2f1b9634c14d687ac5 Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 17 Oct 2025 15:22:00 +0200 Subject: 3dprinter-led: initial commit --- esphome/config/3dprinter-led.yaml | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 esphome/config/3dprinter-led.yaml diff --git a/esphome/config/3dprinter-led.yaml b/esphome/config/3dprinter-led.yaml new file mode 100644 index 0000000..216914c --- /dev/null +++ b/esphome/config/3dprinter-led.yaml @@ -0,0 +1,59 @@ +esphome: + name: 3dprinter-led + friendly_name: "3D Printer LED" + area: Office + on_boot: + priority: -100 + then: + - light.control: + id: led_strip + brightness: 50% + red: 70% + green: 70% + blue: 70% + color_brightness: 70% + white: 70% + +esp8266: + board: d1_mini + +# Enable logging +logger: + +# Enable Home Assistant API +api: + encryption: + key: !secret api_encryption_key + +# OTA +ota: + - platform: esphome + password: !secret ota_password + +# WiFi Credentials +wifi: + domain: .lan + ssid: !secret wifi_ssid + password: !secret wifi_password + + # Enable fallback hotspot (captive portal) in case wifi connection fails + ap: + ssid: "Couchlight Fallback Hotspot" + password: !secret wifi_ap_password + +captive_portal: + +light: + - platform: neopixelbus + name: None + icon: "mdi:led-strip-variant" + id: led_strip + type: GRBW + variant: SK6812 #800KBPS + num_leds: 35 + pin: D4 # GPIO2 + method: + type: esp8266_uart + bus: 1 + default_transition_length: 300ms + -- cgit v1.2.3