Skip to content

Instantly share code, notes, and snippets.

@pauly7300
Created January 29, 2019 04:37
Show Gist options
  • Save pauly7300/5375cb6c9d36052be0c4c65f2e158b80 to your computer and use it in GitHub Desktop.
Save pauly7300/5375cb6c9d36052be0c4c65f2e158b80 to your computer and use it in GitHub Desktop.
drzzs_base_quin
esphomeyaml:
name: drzz_quin
platform: ESP32
board: mhetesp32devkit
wifi:
ssid: '*********'
password: '**********'
mqtt:
broker: '192.168.x.x'
username: '*****'
password: '********'
# Enable logging
logger:
# level: NONE
# optional web front end
web_server:
port: 80
ota:
password: '********'
dallas:
- pin: GPIO18
switch:
- platform: gpio
name: "Q2_Onboard light"
id: Q2_Onboard
inverted: OFF
pin: 2
output:
- platform: ledc
pin: 16
frequency: 40000Hz
bit_depth: 10
id: LED_gpio_16
###### Uncomment the number of ports you'll use so they're not all autodiscovered ######
# - platform: ledc
# pin: 17
# frequency: 40000Hz
# bit_depth: 10
# id: LED_gpio_17
# - platform: ledc
# pin: 5
# frequency: 40000Hz
# bit_depth: 10
# id: LED_gpio_5
# - platform: ledc
# pin: 19
# frequency: 40000Hz
# bit_depth: 10
# id: LED_gpio_19
light:
- platform: monochromatic
name: "Q2_LED light ouput1"
default_transition_length: 2s
id: light1
output: LED_gpio_16
###### Uncomment the number of ports you'll use so they're not all autodiscovered ######
# - platform: monochromatic
# name: "Q2_LED light ouput2"
# default_transition_length: 5s
# output: LED_gpio_17
# - platform: monochromatic
# name: "Q2_LED light ouput3"
# default_transition_length: 5s
# output: LED_gpio_5
# - platform: monochromatic
# name: "Q2_LED light ouput4"
# default_transition_length: 5s
# output: LED_gpio_19
#read 'Getting sensor ID's to learn how to get the address. https://esphomelib.com/esphomeyaml/components/sensor/dallas.html .
###
# sensor:
# - platform: dallas
# address: ****************
# name: "Q2_tempsensor"
# uncomment to try the capacitive touch sensor
# esp32_touch:
# setup_mode: False
## uncomment to connect a momentary button across pin 23 and ground in order to toggle the lights on/off
# binary_sensor:
# - platform: gpio
# pin:
# number: 23
# mode: INPUT_PULLUP
# inverted: True
# name: button1
# on_click:
# min_length: 50ms
# max_length: 350ms
# then:
# - switch.toggle:
# id: Q2_Onboard
# - light.toggle:
# id: light1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment