Browse Source

config per device

esphome
Hendrik Langer 3 years ago
parent
commit
1ceae70182
  1. 8
      common/base.yaml
  2. 9
      common/battery.yaml
  3. 2
      hendrik-test.yaml
  4. 10
      sensor-outdoor.yaml
  5. 8
      sensor-springer.yaml
  6. 7
      sensor-sz.yaml
  7. 7
      sensor-wz.yaml

8
common/base.yaml

@ -65,14 +65,6 @@ status_led:
inverted: true
sensor:
# Battery level
- platform: adc
pin: _VBAT
name: "${node_name} VBAT Voltage"
attenuation: 11db
# filters:
# - lambda: return ( x/4096.0 ) * 2 * 3.42;
update_interval: 60s
# WiFi signal strength
- platform: wifi_signal
name: "${node_name} RSSI"

9
common/battery.yaml

@ -0,0 +1,9 @@
sensor:
# Battery level
- platform: adc
pin: _VBAT
name: "${node_name} VBAT Voltage"
attenuation: 11db
# filters:
# - lambda: return ( x/4096.0 ) * 2 * 3.42;
update_interval: 60s

2
test.yaml → hendrik-test.yaml

@ -1,5 +1,5 @@
substitutions:
node_name: thomas-test
node_name: hendrik-test
packages:
base: !include common/base.yaml

10
sensor-outdoor.yaml

@ -0,0 +1,10 @@
substitutions:
node_name: sensor-outdoor
packages:
base: !include common/base.yaml
battery: !include common/battery.yaml
env_sensor: !include common/bme280.yaml
particulate: !include common/sds011.yaml
light: !include common/bh1750.yaml
uv: !include common/veml6075.yaml

8
sensor-springer.yaml

@ -0,0 +1,8 @@
substitutions:
node_name: sensor-springer
packages:
base: !include common/base.yaml
battery: !include common/battery.yaml
env_sensor: !include common/bme280.yaml

7
sensor-sz.yaml

@ -0,0 +1,7 @@
substitutions:
node_name: sensor-sz
packages:
base: !include common/base.yaml
env_sensor: !include common/bme680.yaml
display: !include common/display.yaml

7
sensor-wz.yaml

@ -0,0 +1,7 @@
substitutions:
node_name: sensor-wz
packages:
base: !include common/base.yaml
env_sensor: !include common/bme680.yaml
display: !include common/display.yaml
Loading…
Cancel
Save