Docker chown -R 1000:1000 /path/to/esphome
This commit is contained in:
76
co2-podval.yaml
Normal file
76
co2-podval.yaml
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
esphome:
|
||||||
|
name: gas-reserv
|
||||||
|
friendly_name: Gas_Reserv
|
||||||
|
|
||||||
|
esp8266:
|
||||||
|
board: nodemcuv2
|
||||||
|
framework:
|
||||||
|
version: recommended
|
||||||
|
|
||||||
|
one_wire:
|
||||||
|
- platform: gpio
|
||||||
|
pin: GPIO14
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
encryption:
|
||||||
|
key: "ecCAgKCMmTyXFCLxkqhVrQBS4OEUzgyZaSNbF46LpDM="
|
||||||
|
|
||||||
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
password: "d23e81827fbebdd563f53bce3ca73a6e"
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: "SmartHome"
|
||||||
|
password: ""
|
||||||
|
# networks:
|
||||||
|
# ssid: "SmartHome"
|
||||||
|
# password: ""
|
||||||
|
# bssid: 78:9A:18:88:E0:79
|
||||||
|
# channel: 1
|
||||||
|
power_save_mode: none
|
||||||
|
|
||||||
|
|
||||||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
|
ap:
|
||||||
|
# ssid: "Gas-Kitchen Fallback Hotspot"
|
||||||
|
# password: "0n8oXqMAAFPU"
|
||||||
|
|
||||||
|
use_address: 192.168.88.28
|
||||||
|
|
||||||
|
manual_ip:
|
||||||
|
static_ip: 192.168.88.28
|
||||||
|
gateway: 192.168.88.1
|
||||||
|
subnet: 255.255.255.0
|
||||||
|
# dns1: 8.8.8.8
|
||||||
|
# dns2: 8.8.4.4
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
# MQ2 Smoke Gas Sensor
|
||||||
|
sensor:
|
||||||
|
- platform: adc
|
||||||
|
pin: A0
|
||||||
|
name: "WeMos D1 Mini Gas Sensor"
|
||||||
|
unit_of_measurement: "ppm"
|
||||||
|
icon: "mdi:meter-gas-outline"
|
||||||
|
update_interval: 1s
|
||||||
|
filters:
|
||||||
|
- multiply: 100
|
||||||
|
|
||||||
|
|
||||||
|
# web_server:
|
||||||
|
# port: 80
|
||||||
|
# auth:
|
||||||
|
# username: "silver"
|
||||||
|
# password: "cbvgcjy0"
|
||||||
|
|
||||||
|
mqtt:
|
||||||
|
broker: 192.168.88.4
|
||||||
|
username: 'miroca'
|
||||||
|
password: 'cbvgcjy0'
|
||||||
|
discovery: False # disable entity discovery
|
||||||
|
discover_ip: True # enable device discovery
|
||||||
72
esp32-c3-mini.yaml
Normal file
72
esp32-c3-mini.yaml
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
esphome:
|
||||||
|
name: esp32-c3-mini
|
||||||
|
friendly_name: ESP32-c3-mini
|
||||||
|
platformio_options:
|
||||||
|
board_build.flash_mode: dio
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
board: esp32-c3-devkitm-1
|
||||||
|
variant: ESP32C3
|
||||||
|
framework:
|
||||||
|
type: esp-idf
|
||||||
|
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
encryption:
|
||||||
|
key: "zGWryIToSQYigPSiZBa1ljP7QNV+f1wM/jX+k1/9J6k="
|
||||||
|
|
||||||
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
password: "3f84a14ae6ed33fc29cddfd8c3cfe5bf"
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: 'SmartHome'
|
||||||
|
password: ''
|
||||||
|
use_address: 192.168.88.29
|
||||||
|
|
||||||
|
manual_ip:
|
||||||
|
static_ip: 192.168.88.29
|
||||||
|
gateway: 192.168.88.1
|
||||||
|
subnet: 255.255.255.0
|
||||||
|
power_save_mode: none
|
||||||
|
|
||||||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
|
# ap:
|
||||||
|
# ssid: "Esp32-C3-Mini Fallback Hotspot"
|
||||||
|
# password: "wuMGlIsDXN19"
|
||||||
|
|
||||||
|
one_wire:
|
||||||
|
- platform: gpio
|
||||||
|
pin: GPIO4
|
||||||
|
id: bus1
|
||||||
|
|
||||||
|
i2c:
|
||||||
|
- id: bus_a
|
||||||
|
sda: GPIO6
|
||||||
|
scl: GPIO7
|
||||||
|
scan: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: dallas_temp
|
||||||
|
one_wire_id: bus1
|
||||||
|
name: "DS18B20"
|
||||||
|
update_interval: 2s
|
||||||
|
|
||||||
|
- platform: bme680
|
||||||
|
i2c_id: bus_a
|
||||||
|
address: 0x76
|
||||||
|
update_interval: 1s
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
auth:
|
||||||
|
username: "silver"
|
||||||
|
password: "cbvgcjy0"
|
||||||
81
gas-podval-wemos.yaml
Normal file
81
gas-podval-wemos.yaml
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
esphome:
|
||||||
|
name: gas-podval-wemos
|
||||||
|
friendly_name: Gas_Podval_Wemos
|
||||||
|
|
||||||
|
esp8266:
|
||||||
|
board: nodemcuv2
|
||||||
|
framework:
|
||||||
|
version: recommended
|
||||||
|
|
||||||
|
one_wire:
|
||||||
|
- platform: gpio
|
||||||
|
pin: GPIO14
|
||||||
|
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
encryption:
|
||||||
|
key: "Yb18t21iU23T4V+RGQZGdY1Vc54YrIFvoCBYgQ9WqcY="
|
||||||
|
|
||||||
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
password: "0ebcebf661f3e4ad8d3123a5d0ba9fce"
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: "SmartHome"
|
||||||
|
password: ""
|
||||||
|
# networks:
|
||||||
|
# ssid: "SmartHome"
|
||||||
|
# password: ""
|
||||||
|
# bssid: 78:9A:18:88:E0:79
|
||||||
|
# channel: 1
|
||||||
|
power_save_mode: none
|
||||||
|
|
||||||
|
|
||||||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
|
ap:
|
||||||
|
# ssid: "Gas-Kitchen Fallback Hotspot"
|
||||||
|
# password: "0n8oXqMAAFPU"
|
||||||
|
|
||||||
|
use_address: 192.168.88.27
|
||||||
|
|
||||||
|
manual_ip:
|
||||||
|
static_ip: 192.168.88.27
|
||||||
|
gateway: 192.168.88.1
|
||||||
|
subnet: 255.255.255.0
|
||||||
|
# dns1: 8.8.8.8
|
||||||
|
# dns2: 8.8.4.4
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
# MQ2 Smoke Gas Sensor
|
||||||
|
sensor:
|
||||||
|
- platform: adc
|
||||||
|
pin: A0
|
||||||
|
name: "WeMos D1 Mini Gas Sensor"
|
||||||
|
unit_of_measurement: "ppm"
|
||||||
|
icon: "mdi:meter-gas-outline"
|
||||||
|
update_interval: 1s
|
||||||
|
filters:
|
||||||
|
- multiply: 100
|
||||||
|
|
||||||
|
- platform: dallas_temp
|
||||||
|
address: 0xb6000000bd766928
|
||||||
|
name: "Temperature"
|
||||||
|
update_interval: 2s
|
||||||
|
|
||||||
|
# web_server:
|
||||||
|
# port: 80
|
||||||
|
# auth:
|
||||||
|
# username: "silver"
|
||||||
|
# password: "cbvgcjy0"
|
||||||
|
|
||||||
|
mqtt:
|
||||||
|
broker: 192.168.88.4
|
||||||
|
username: 'miroca'
|
||||||
|
password: 'cbvgcjy0'
|
||||||
|
discovery: False # disable entity discovery
|
||||||
|
discover_ip: True # enable device discovery
|
||||||
Reference in New Issue
Block a user