Replaced tempsensor with cam with sensor.
This commit is contained in:
@@ -1,58 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
name: "aussensensor"
|
|
||||||
friendly_name: "Außensensor"
|
|
||||||
|
|
||||||
esphome:
|
|
||||||
name: ${name}
|
|
||||||
friendly_name: ${friendly_name}
|
|
||||||
name_add_mac_suffix: false
|
|
||||||
project:
|
|
||||||
name: sensor.outdoor
|
|
||||||
version: "0.8"
|
|
||||||
min_version: 2022.1.0
|
|
||||||
|
|
||||||
esp32:
|
|
||||||
board: nodemcu-32s
|
|
||||||
framework:
|
|
||||||
type: arduino
|
|
||||||
|
|
||||||
wifi:
|
|
||||||
ssid: "Voltage-legacy"
|
|
||||||
password: !secret voltage_legacy_psk
|
|
||||||
use_address: ${name}.home
|
|
||||||
power_save_mode: high
|
|
||||||
fast_connect: on
|
|
||||||
|
|
||||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
||||||
ap:
|
|
||||||
ssid: "Aussensensor Fallback Hotspot"
|
|
||||||
password: !secret fallback_psk
|
|
||||||
|
|
||||||
captive_portal:
|
|
||||||
|
|
||||||
# Enable logging
|
|
||||||
logger:
|
|
||||||
|
|
||||||
# Enable Home Assistant API
|
|
||||||
api:
|
|
||||||
encryption:
|
|
||||||
key: !secret apikey
|
|
||||||
|
|
||||||
ota:
|
|
||||||
platform: esphome
|
|
||||||
password: !secret ota
|
|
||||||
|
|
||||||
# DHT22 sensor
|
|
||||||
sensor:
|
|
||||||
- platform: dht
|
|
||||||
model: dht22
|
|
||||||
pin: 25
|
|
||||||
temperature:
|
|
||||||
name: "Temperatur außen"
|
|
||||||
humidity:
|
|
||||||
name: "Luftfeuchtigkeit außen"
|
|
||||||
update_interval: 60s
|
|
||||||
# WiFi signal strength
|
|
||||||
- platform: wifi_signal
|
|
||||||
name: "WiFi Signalstärke"
|
|
||||||
update_interval: 60s
|
|
@@ -45,8 +45,10 @@ ota:
|
|||||||
# Initialize I²C
|
# Initialize I²C
|
||||||
i2c:
|
i2c:
|
||||||
- id: bus_a
|
- id: bus_a
|
||||||
sda: GPIO13
|
sda: GPIO3
|
||||||
scl: GPIO14
|
#sda: GPIO13
|
||||||
|
#scl: GPIO14
|
||||||
|
scl: GPIO1
|
||||||
scan: true
|
scan: true
|
||||||
- id: bus_c
|
- id: bus_c
|
||||||
sda: GPIO26
|
sda: GPIO26
|
||||||
|
Reference in New Issue
Block a user