Skip to content

Instantly share code, notes, and snippets.

## this part is the ESPhome Yaml file ##
esphome:
name: window_control_linear
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret wifi
password: !secret wifi_pw
esphome:
name: justin_garage
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret wifi
password: !secret wifi_pw
# Enable logging
esphome:
name: garage
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi
password: !secret wifi_pw
# Enable logging
##This goes in your Automations.yaml file
- alias: who is out of bed
id: howisoutofbed7583475893475897345
trigger:
- platform: state
entity_id: binary_sensor.ttgocam_pir
from: 'off'
to: 'on'
condition:
esphome:
name: m5cam_esp32_camera
platform: ESP32
board: m5stack-core-esp32
wifi:
ssid: !secret wifi
password: !secret wifi_pw
# Enable logging
esphome:
name: blinds
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret wifi
password: !secret wifi_pw
debug:
substitutions:
devicename: ttgocam
friendly_name: test esp32cam
ip_address: 192.168.1.230
esphome:
name: $devicename
platform: ESP32
board: esp-wrover-kit
## this part goes in configuration.yaml
input_number:
office_blinds_tilt:
name: Office Blinds Tilt
initial: 0
min: -100
max: 100
step: 1
mode: slider
###Configuration.yaml#####
ios:
push:
categories:
- name: cameras
identifier: 'camera'
actions:
- identifier: 'TRIGGER_ALARM'
title: 'Trigger Alarm'
destructive: 'true'
esphome:
name: shade
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret wifi
password: !secret wifi_pw
# Enable logging