more devices
This commit is contained in:
parent
f844580d68
commit
f2b8e8a280
3 changed files with 212 additions and 0 deletions
45
display.yml
Normal file
45
display.yml
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
esphome:
|
||||||
|
name: display
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
board: esp32dev
|
||||||
|
framework:
|
||||||
|
type: arduino
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
password: ""
|
||||||
|
|
||||||
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
password: ""
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: "Cochrun"
|
||||||
|
password: "GreasyChicken784"
|
||||||
|
|
||||||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
|
ap:
|
||||||
|
ssid: "Display Fallback Hotspot"
|
||||||
|
password: "RUfAhbEfZmOU"
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
psram:
|
||||||
|
mode: octal
|
||||||
|
speed: 80MHz
|
||||||
|
|
||||||
|
# Example minimal configuration entry
|
||||||
|
display:
|
||||||
|
- platform: ili9xxx
|
||||||
|
model: ili9486
|
||||||
|
dc_pin: GPIOXX
|
||||||
|
reset_pin: GPIOXX
|
||||||
|
invert_colors: false
|
||||||
|
show_test_card: true
|
||||||
|
dimensions:
|
||||||
|
height: 320
|
||||||
|
width: 480
|
102
kitchen.yml
Normal file
102
kitchen.yml
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
esphome:
|
||||||
|
name: kitchen-sensor
|
||||||
|
|
||||||
|
esp8266:
|
||||||
|
board: esp01
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
password: ""
|
||||||
|
|
||||||
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
password: ""
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: "Cochrun"
|
||||||
|
password: "GreasyChicken784"
|
||||||
|
|
||||||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
|
ap:
|
||||||
|
ssid: "Kitchen Fallback Hotspot"
|
||||||
|
password: "RUfAhbEfZmOU"
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
i2c:
|
||||||
|
sda: GPIO4
|
||||||
|
scl: GPIO5
|
||||||
|
scan: true
|
||||||
|
id: bus_a
|
||||||
|
|
||||||
|
uart:
|
||||||
|
tx_pin: GPIO1
|
||||||
|
rx_pin: GPIO3
|
||||||
|
baud_rate: 115200
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: bme280_i2c
|
||||||
|
temperature:
|
||||||
|
name: "Temperature"
|
||||||
|
id: temperature
|
||||||
|
pressure:
|
||||||
|
name: "Pressure"
|
||||||
|
id: pressure
|
||||||
|
humidity:
|
||||||
|
name: "Humidity"
|
||||||
|
id: humidity
|
||||||
|
i2c_id: bus_a
|
||||||
|
address: 0x76
|
||||||
|
|
||||||
|
dfrobot_sen0395:
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
# Information coming from uart bus
|
||||||
|
- platform: dfrobot_sen0395
|
||||||
|
name: Mmwave UART
|
||||||
|
|
||||||
|
# on_...:
|
||||||
|
# - dfrobot_sen0395.settings:
|
||||||
|
# factory_reset: true
|
||||||
|
# detection_segments:
|
||||||
|
# # Define between one and four segments
|
||||||
|
# - [0cm, 3m]
|
||||||
|
# - [5.1m, 6.6m]
|
||||||
|
# output_latency:
|
||||||
|
# delay_after_detect: 0s
|
||||||
|
# delay_after_disappear: 0s
|
||||||
|
# sensitivity: 7
|
||||||
|
|
||||||
|
# Information coming from dedicated gpio (IO2)
|
||||||
|
- platform: gpio
|
||||||
|
name: Mmwave GPIO
|
||||||
|
device_class: motion
|
||||||
|
pin:
|
||||||
|
number: GPIO16
|
||||||
|
mode: INPUT_PULLDOWN
|
||||||
|
|
||||||
|
switch:
|
||||||
|
# Switch to turn on/off detection
|
||||||
|
- platform: dfrobot_sen0395
|
||||||
|
type: sensor_active
|
||||||
|
name: Mmwave Active
|
||||||
|
|
||||||
|
- platform: dfrobot_sen0395
|
||||||
|
type: presence_via_uart
|
||||||
|
name: Mmwave UART active
|
||||||
|
restore_mode: always_on
|
||||||
|
|
||||||
|
- platform: dfrobot_sen0395
|
||||||
|
type: turn_on_led
|
||||||
|
name: Mmwave Led
|
||||||
|
restore_mode: always_off
|
||||||
|
icon: "mdi:led-on"
|
||||||
|
|
||||||
|
- platform: dfrobot_sen0395
|
||||||
|
type: start_after_boot
|
||||||
|
name: Mmwave Start
|
||||||
|
restore_mode: always_on
|
||||||
|
|
65
mmwave.yml
Normal file
65
mmwave.yml
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
esphome:
|
||||||
|
name: living-motion
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
board: upesy_wroom
|
||||||
|
framework:
|
||||||
|
type: arduino
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
password: ""
|
||||||
|
|
||||||
|
ota:
|
||||||
|
password: ""
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: "Cochrun"
|
||||||
|
password: "GreasyChicken784"
|
||||||
|
|
||||||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
|
ap:
|
||||||
|
ssid: "Living Motion Fallback Hotspot"
|
||||||
|
password: "VxKj9HWaXThv"
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
uart:
|
||||||
|
tx_pin: GPIO27
|
||||||
|
rx_pin: GPIO26
|
||||||
|
baud_rate: 115200
|
||||||
|
|
||||||
|
dfrobot_sen0395:
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
# Information coming from uart bus
|
||||||
|
- platform: dfrobot_sen0395
|
||||||
|
name: Mmwave UART
|
||||||
|
|
||||||
|
# Information coming from dedicated gpio (IO2)
|
||||||
|
- platform: gpio
|
||||||
|
name: Mmwave GPIO
|
||||||
|
device_class: motion
|
||||||
|
pin:
|
||||||
|
number: GPIO25
|
||||||
|
mode: INPUT_PULLDOWN
|
||||||
|
|
||||||
|
switch:
|
||||||
|
# Switch to turn on/off detection
|
||||||
|
- platform: dfrobot_sen0395
|
||||||
|
type: sensor_active
|
||||||
|
name: Mmwave Active
|
||||||
|
|
||||||
|
# - platform: dfrobot_sen0395
|
||||||
|
# type: turn_on_led
|
||||||
|
# name: Mmwave Led
|
||||||
|
# restore_mode: always_on
|
||||||
|
# icon: "mdi:led-on"
|
||||||
|
|
||||||
|
# - platform: dfrobot_sen0395
|
||||||
|
# type: start_after_boot
|
||||||
|
# name: Mmwave Start
|
||||||
|
# restore_mode: always_on
|
Loading…
Add table
Add a link
Reference in a new issue