Add weather sensors.
This commit is contained in:
48
weather-in-1.yaml
Normal file
48
weather-in-1.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
esphome:
|
||||
name: weather-in-1
|
||||
|
||||
esp8266:
|
||||
board: esp01_1m
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
|
||||
ota:
|
||||
# password: "38fdad38872738fe7c08f77643ed5d56"
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_oss_ssid
|
||||
password: !secret wifi_oss_password
|
||||
|
||||
manual_ip:
|
||||
static_ip: 192.168.35.246
|
||||
gateway: 192.168.35.1
|
||||
subnet: 255.255.255.0
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Weather-Out-S Fallback Hotspot"
|
||||
password: "0xINHxW0IbSK"
|
||||
|
||||
captive_portal:
|
||||
|
||||
i2c:
|
||||
sda: 4
|
||||
scl: 5
|
||||
scan: true
|
||||
id: bus_a
|
||||
|
||||
sensor:
|
||||
- platform: bme280
|
||||
temperature:
|
||||
name: "TempIn1"
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: "PressIn1"
|
||||
humidity:
|
||||
name: "HumidityIn1"
|
||||
address: 0x76
|
||||
update_interval: 60s
|
||||
48
weather-out-n.yaml
Normal file
48
weather-out-n.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
esphome:
|
||||
name: weather-out-n
|
||||
|
||||
esp8266:
|
||||
board: esp01_1m
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
|
||||
ota:
|
||||
# password: "38fdad38872738fe7c08f77643ed5d56"
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_oss_ssid
|
||||
password: !secret wifi_oss_password
|
||||
|
||||
manual_ip:
|
||||
static_ip: 192.168.35.244
|
||||
gateway: 192.168.35.1
|
||||
subnet: 255.255.255.0
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Weather-Out-S Fallback Hotspot"
|
||||
password: "0xINHxW0IbSK"
|
||||
|
||||
captive_portal:
|
||||
|
||||
i2c:
|
||||
sda: 4
|
||||
scl: 5
|
||||
scan: true
|
||||
id: bus_a
|
||||
|
||||
sensor:
|
||||
- platform: bme280
|
||||
temperature:
|
||||
name: "TempOutN"
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: "PressOutN"
|
||||
humidity:
|
||||
name: "HumidityOutN"
|
||||
address: 0x76
|
||||
update_interval: 60s
|
||||
48
weather-out-s.yaml
Normal file
48
weather-out-s.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
esphome:
|
||||
name: weather-out-s
|
||||
|
||||
esp8266:
|
||||
board: esp01_1m
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
|
||||
ota:
|
||||
# password: "38fdad38872738fe7c08f77643ed5d56"
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_oss_ssid
|
||||
password: !secret wifi_oss_password
|
||||
|
||||
manual_ip:
|
||||
static_ip: 192.168.35.242
|
||||
gateway: 192.168.35.1
|
||||
subnet: 255.255.255.0
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Weather-Out-S Fallback Hotspot"
|
||||
password: "0xINHxW0IbSK"
|
||||
|
||||
captive_portal:
|
||||
|
||||
i2c:
|
||||
sda: 4
|
||||
scl: 5
|
||||
scan: true
|
||||
id: bus_a
|
||||
|
||||
sensor:
|
||||
- platform: bme280
|
||||
temperature:
|
||||
name: "TempOutS"
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: "PressOutS"
|
||||
humidity:
|
||||
name: "HumidityOutS"
|
||||
address: 0x76
|
||||
update_interval: 60s
|
||||
Reference in New Issue
Block a user