various incl zha quirks
This commit is contained in:
95
esphome/esp-ranchsliderfans.temp
Normal file
95
esphome/esp-ranchsliderfans.temp
Normal file
@@ -0,0 +1,95 @@
|
||||
#############################################
|
||||
# ESPHome
|
||||
#############################################
|
||||
esphome:
|
||||
name: esp-ranchsliderfans
|
||||
|
||||
########################################
|
||||
# Specific board for ESPHome device
|
||||
########################################
|
||||
esp8266:
|
||||
board: d1_mini
|
||||
|
||||
#############################################
|
||||
# ESPHome Logging Enable
|
||||
#############################################
|
||||
logger:
|
||||
|
||||
#############################################
|
||||
# Enable the Home Assistant API
|
||||
#############################################
|
||||
api:
|
||||
encryption:
|
||||
key: !secret esp-ranchsliderfans_api_key
|
||||
|
||||
#############################################
|
||||
# Enable Over the Air Update Capability
|
||||
# Safe mode will detect boot loops
|
||||
#############################################
|
||||
ota:
|
||||
safe_mode: true
|
||||
password: !secret esp-ranchsliderfans_ota_pass
|
||||
|
||||
#############################################
|
||||
# Use Wifi
|
||||
#############################################
|
||||
wifi:
|
||||
#use_address: esp-netcupfan2.local
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
# Details for fallback hotspot
|
||||
# in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Ranchsliderfans Fallback Hotspot"
|
||||
password: !secret fallback_ap_password
|
||||
|
||||
#############################################
|
||||
# Fallback captive portal
|
||||
#############################################
|
||||
captive_portal:
|
||||
|
||||
#############################################
|
||||
# Web Portal for display and monitoring
|
||||
#############################################
|
||||
web_server:
|
||||
port: 80
|
||||
auth:
|
||||
username: !secret web_server_username
|
||||
password: !secret web_server_password
|
||||
|
||||
#############################################
|
||||
# MQTT Monitoring
|
||||
#############################################
|
||||
mqtt:
|
||||
broker: !secret mqtt_server
|
||||
topic_prefix: esphome/esp-ranchsliderfans
|
||||
username: !secret mqtt_username
|
||||
password: !secret mqtt_password
|
||||
|
||||
#############################################
|
||||
#############################################
|
||||
# MAIN SENSORS
|
||||
#############################################
|
||||
#############################################
|
||||
|
||||
# Relay Output on a GPIO Pin
|
||||
switch:
|
||||
- platform: gpio
|
||||
name: "Ranch Slider Fan Boost"
|
||||
pin: GPIO15
|
||||
|
||||
# Allows a fan control point in Home Assistant
|
||||
fan:
|
||||
- platform: speed
|
||||
output: pwm_output
|
||||
name: "Ranch Slider Fans Speed"
|
||||
speed_count: 500
|
||||
|
||||
# PWM Fan Output on the GPIO Pin
|
||||
output:
|
||||
- platform: esp8266_pwm
|
||||
pin: GPIO16
|
||||
frequency: 25000 Hz
|
||||
id: pwm_output
|
||||
|
||||
|
Reference in New Issue
Block a user