diff --git a/weather-in-1.yaml b/weather-in-1.yaml new file mode 100644 index 0000000..f126117 --- /dev/null +++ b/weather-in-1.yaml @@ -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 diff --git a/weather-out-n.yaml b/weather-out-n.yaml new file mode 100644 index 0000000..433ed2f --- /dev/null +++ b/weather-out-n.yaml @@ -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 diff --git a/weather-out-s.yaml b/weather-out-s.yaml new file mode 100644 index 0000000..9695e8c --- /dev/null +++ b/weather-out-s.yaml @@ -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