esphome
This commit is contained in:
50
config/gas-kocheg-wemos.yaml
Normal file
50
config/gas-kocheg-wemos.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
esphome:
|
||||
name: gas-kocheg-wemos
|
||||
friendly_name: Gas_Kocheg_WeMos
|
||||
|
||||
esp8266:
|
||||
board: esp01_1m
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
encryption:
|
||||
key: "Z+6sofitW8uHBtamgb6BZahY7oEi4eB1PMicfN3uIgo="
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: "a0f2390ead71a8493dc8d8850e60b7e7"
|
||||
|
||||
wifi:
|
||||
ssid: "SmartHome"
|
||||
password: ""
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
# ssid: "Gas-Kitchen Fallback Hotspot"
|
||||
# password: "0n8oXqMAAFPU"
|
||||
|
||||
use_address: 192.168.88.22
|
||||
|
||||
manual_ip:
|
||||
static_ip: 192.168.88.22
|
||||
gateway: 192.168.88.1
|
||||
subnet: 255.255.255.0
|
||||
|
||||
captive_portal:
|
||||
|
||||
# MQ2 Smoke Gas Sensor
|
||||
sensor:
|
||||
- platform: adc
|
||||
pin: A0
|
||||
name: "WeMos D1 Mini Gas Sensor"
|
||||
update_interval: 1s
|
||||
filters:
|
||||
- multiply: 100
|
||||
unit_of_measurement: "ppm"
|
||||
icon: "mdi:meter-gas-outline"
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
Reference in New Issue
Block a user