93 lines
1.5 KiB
YAML
93 lines
1.5 KiB
YAML
|
esphome:
|
||
|
name: esp32-3dprinter-controller
|
||
|
friendly_name: esp32-3dprinter-controller
|
||
|
|
||
|
esp32:
|
||
|
board: esp32-s2-saola-1
|
||
|
framework:
|
||
|
type: arduino
|
||
|
|
||
|
# Enable logging
|
||
|
logger:
|
||
|
|
||
|
# Enable Home Assistant API
|
||
|
api:
|
||
|
encryption:
|
||
|
key:
|
||
|
|
||
|
ota:
|
||
|
- platform: esphome
|
||
|
password:
|
||
|
|
||
|
wifi:
|
||
|
ssid: !secret wifi_ssid
|
||
|
password: !secret wifi_password
|
||
|
|
||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||
|
ap:
|
||
|
ssid: "Esp-3Dprinter-Controller"
|
||
|
password:
|
||
|
|
||
|
captive_portal:
|
||
|
|
||
|
output:
|
||
|
- platform: ledc
|
||
|
id: mk4_nevermore
|
||
|
pin: 18
|
||
|
- platform: ledc
|
||
|
id: mk4_exhaust
|
||
|
pin: 16
|
||
|
# - platform: ledc
|
||
|
# pin: 7
|
||
|
# id: mk4_led_r
|
||
|
# - platform: ledc
|
||
|
# pin: 9
|
||
|
# id: mk4_led_g
|
||
|
# - platform: ledc
|
||
|
# pin: 11
|
||
|
# id: mk4_led_b
|
||
|
# - platform: ledc
|
||
|
# pin: 12
|
||
|
# id: mk4_led_w
|
||
|
|
||
|
- platform: ledc
|
||
|
id: mini_nevermore
|
||
|
pin: 33
|
||
|
# - platform: ledc
|
||
|
# pin: 37
|
||
|
# id: led_mini_r
|
||
|
# - platform: ledc
|
||
|
# pin: 35
|
||
|
# id: led_mini_g
|
||
|
# - platform: ledc
|
||
|
# pin: 33
|
||
|
# id: led_mini_b
|
||
|
# - platform: ledc
|
||
|
# pin: 18
|
||
|
# id: led_mini_w
|
||
|
|
||
|
# light:
|
||
|
# - platform: rgbw
|
||
|
# name: "Prusa MK3.9 light"
|
||
|
# red: mk4_led_r
|
||
|
# green: mk4_led_g
|
||
|
# blue: mk4_led_b
|
||
|
# white: mk4_led_w
|
||
|
# - platform: rgbw
|
||
|
# name: "Prusa MINI light"
|
||
|
# red: led_mini_r
|
||
|
# green: led_mini_g
|
||
|
# blue: led_mini_b
|
||
|
# white: led_mini_w
|
||
|
|
||
|
fan:
|
||
|
- platform: speed
|
||
|
output: mk4_nevermore
|
||
|
name: "MK4 nevermore"
|
||
|
- platform: speed
|
||
|
output: mk4_exhaust
|
||
|
name: "MK4 exhaust"
|
||
|
- platform: speed
|
||
|
output: mini_nevermore
|
||
|
name: "MINI nevermore"
|