summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2025-10-17 15:22:00 +0200
committermanuel <manuel@mausz.at>2025-10-17 15:22:00 +0200
commit297d363bfe625c0d25c3bd2f1b9634c14d687ac5 (patch)
tree884292f3a74566df9f360b10f6e001f429cab24f
parent9ec2ec8c3e7f26b81e946da6840072651f967827 (diff)
downloadarduino-297d363bfe625c0d25c3bd2f1b9634c14d687ac5.tar.gz
arduino-297d363bfe625c0d25c3bd2f1b9634c14d687ac5.tar.bz2
arduino-297d363bfe625c0d25c3bd2f1b9634c14d687ac5.zip
3dprinter-led: initial commit
-rw-r--r--esphome/config/3dprinter-led.yaml59
1 files changed, 59 insertions, 0 deletions
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 @@
1esphome:
2 name: 3dprinter-led
3 friendly_name: "3D Printer LED"
4 area: Office
5 on_boot:
6 priority: -100
7 then:
8 - light.control:
9 id: led_strip
10 brightness: 50%
11 red: 70%
12 green: 70%
13 blue: 70%
14 color_brightness: 70%
15 white: 70%
16
17esp8266:
18 board: d1_mini
19
20# Enable logging
21logger:
22
23# Enable Home Assistant API
24api:
25 encryption:
26 key: !secret api_encryption_key
27
28# OTA
29ota:
30 - platform: esphome
31 password: !secret ota_password
32
33# WiFi Credentials
34wifi:
35 domain: .lan
36 ssid: !secret wifi_ssid
37 password: !secret wifi_password
38
39 # Enable fallback hotspot (captive portal) in case wifi connection fails
40 ap:
41 ssid: "Couchlight Fallback Hotspot"
42 password: !secret wifi_ap_password
43
44captive_portal:
45
46light:
47 - platform: neopixelbus
48 name: None
49 icon: "mdi:led-strip-variant"
50 id: led_strip
51 type: GRBW
52 variant: SK6812 #800KBPS
53 num_leds: 35
54 pin: D4 # GPIO2
55 method:
56 type: esp8266_uart
57 bus: 1
58 default_transition_length: 300ms
59