Initial commit of first ESPHome projects.
This commit is contained in:
67
3d-printer-control.yaml
Normal file
67
3d-printer-control.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
esphome:
|
||||
name: 3d-printer-control
|
||||
platform: ESP32
|
||||
board: esp32cam
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
|
||||
ota:
|
||||
password: "a540327cb63deda6aa4ddfedfe42df83"
|
||||
|
||||
wifi:
|
||||
ssid: "EasyBox-368239"
|
||||
password: "inginf95"
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "3D-Printer-Control"
|
||||
password: "YUnLlGxWjXgs"
|
||||
|
||||
|
||||
#currently not used:
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: GPIO02
|
||||
mode: INPUT_PULLUP
|
||||
inverted: true
|
||||
name: "3D-Printer-Button"
|
||||
|
||||
captive_portal:
|
||||
|
||||
#switches for LED and SWPower
|
||||
switch:
|
||||
- platform: gpio
|
||||
name: "3D-Printer-LED"
|
||||
pin: GPIO04
|
||||
- platform: gpio
|
||||
name: "3D-PCPower"
|
||||
pin: GPIO14
|
||||
|
||||
sensor:
|
||||
- platform: wifi_signal
|
||||
name: "3D-Printer-WiFiSignal"
|
||||
update_interval: 60s
|
||||
- platform: uptime
|
||||
name: "3D-Printer-Uptime"
|
||||
|
||||
#Camera settings, maybe increase resolution in future
|
||||
esp32_camera:
|
||||
external_clock:
|
||||
pin: GPIO0
|
||||
frequency: 20MHz
|
||||
i2c_pins:
|
||||
sda: GPIO26
|
||||
scl: GPIO27
|
||||
data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
|
||||
vsync_pin: GPIO25
|
||||
href_pin: GPIO23
|
||||
pixel_clock_pin: GPIO22
|
||||
power_down_pin: GPIO32
|
||||
|
||||
# Image settings
|
||||
name: "3d-Printer-Camera"
|
||||
Reference in New Issue
Block a user