Created
January 29, 2019 04:37
-
-
Save pauly7300/d73d70157aa9ff0f20ce8681670bff15 to your computer and use it in GitHub Desktop.
drzzs_base_quin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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