Compare commits
No commits in common. "61661b033b1621a78b0e0fcb7264a62d8803de88" and "7fd0021468014e06df5e6030dd6af89563c0259a" have entirely different histories.
61661b033b
...
7fd0021468
3 changed files with 12 additions and 95 deletions
|
|
@ -1,96 +1,14 @@
|
||||||
substitutions:
|
substitutions:
|
||||||
node_name: aq-basement
|
node_name: aq-basement
|
||||||
node_friendly_name: Basement
|
node_friendly_name: Basement
|
||||||
node_area: Basement
|
http_timeout: 3s
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- !include
|
- !include ../common/esp32-idf.yaml
|
||||||
file: framework/esp32_idf.yaml
|
- !include ../common/airgradient_one_v9.yaml
|
||||||
|
- !include ../common/wifi-influxdb.yaml
|
||||||
- !include
|
- !include ../common/wifi-km6g-iot.yaml
|
||||||
file: unit/airgradient_one_v9.yaml
|
- !include ../common/base-influxdb.yaml
|
||||||
|
- !include ../common/http-request-idf.yaml
|
||||||
- !include
|
- !include ../common/sntp-time.yaml
|
||||||
file: domain/logger/disabled.yaml
|
- !include ../common/influxdb.yaml
|
||||||
|
|
||||||
- !include
|
|
||||||
file: domain/base.yaml
|
|
||||||
- !include
|
|
||||||
file: domain/influxdb_v2_oss/base.yaml
|
|
||||||
|
|
||||||
- !include
|
|
||||||
file: domain/network/wifi.yaml
|
|
||||||
- !include
|
|
||||||
file: domain/influxdb_v2_oss/wifi.yaml
|
|
||||||
- !include
|
|
||||||
file: domain/network/wifi_km6g_iot.yaml
|
|
||||||
|
|
||||||
- !include
|
|
||||||
file: domain/time/sntp.yaml
|
|
||||||
|
|
||||||
- !include
|
|
||||||
file: domain/http_request_idf.yaml
|
|
||||||
|
|
||||||
- !include
|
|
||||||
file: domain/influxdb_v2_oss/core.yaml
|
|
||||||
|
|
||||||
- !include
|
|
||||||
file: domain/sensor/home_assistant.yaml
|
|
||||||
vars:
|
|
||||||
id: outdoor_temperature
|
|
||||||
entity: sensor.outdoor_temperature_a
|
|
||||||
|
|
||||||
- !include
|
|
||||||
file: domain/sensor/home_assistant.yaml
|
|
||||||
vars:
|
|
||||||
id: outdoor_humidity
|
|
||||||
entity: sensor.outdoor_humidity_a
|
|
||||||
|
|
||||||
sensor:
|
|
||||||
- id: temperature_f
|
|
||||||
platform: copy
|
|
||||||
source_id: temperature_c
|
|
||||||
unit_of_measurement: "°F"
|
|
||||||
filters:
|
|
||||||
- multiply: 1.8
|
|
||||||
- offset: 32.0
|
|
||||||
|
|
||||||
font:
|
|
||||||
- id: sans_14
|
|
||||||
file: ../fonts/LiberationSans-Regular.ttf
|
|
||||||
size: 14
|
|
||||||
glyphs: '!"%()+=,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz/µ³'
|
|
||||||
|
|
||||||
display:
|
|
||||||
- id: !extend _display
|
|
||||||
pages:
|
|
||||||
- lambda: |-
|
|
||||||
it.print(0, 0, id(sans_14), "Temp:");
|
|
||||||
it.printf(128, 0, id(sans_14), TextAlign::TOP_RIGHT, "%.1f°F", id(temperature_f).state);
|
|
||||||
it.print(0, 16, id(sans_14), "Humidity:");
|
|
||||||
it.printf(128, 16, id(sans_14), TextAlign::TOP_RIGHT, "%.1f%%", id(humidity).state);
|
|
||||||
it.print(0, 32, id(sans_14), "CO2:");
|
|
||||||
it.printf(128, 32, id(sans_14), TextAlign::TOP_RIGHT, "%.0f ppm", id(co2).state);
|
|
||||||
it.print(0, 48, id(sans_14), "PM2.5:");
|
|
||||||
it.printf(128, 48, id(sans_14), TextAlign::TOP_RIGHT, "%.0f µg/m³", id(pm_2_5).state);
|
|
||||||
- lambda: |-
|
|
||||||
it.print(0, 0, id(sans_14), "Temp:");
|
|
||||||
it.printf(128, 0, id(sans_14), TextAlign::TOP_RIGHT, "%.1f°F", id(temperature_f).state);
|
|
||||||
it.print(0, 16, id(sans_14), "Humidity:");
|
|
||||||
it.printf(128, 16, id(sans_14), TextAlign::TOP_RIGHT, "%.1f%%", id(humidity).state);
|
|
||||||
it.print(0, 32, id(sans_14), "VOC:");
|
|
||||||
it.printf(128, 32, id(sans_14), TextAlign::TOP_RIGHT, "%.0f", id(voc).state);
|
|
||||||
it.print(0, 48, id(sans_14), "NOx:");
|
|
||||||
it.printf(128, 48, id(sans_14), TextAlign::TOP_RIGHT, "%.0f", id(nox).state);
|
|
||||||
- lambda: |-
|
|
||||||
it.print(64, 0, id(sans_14), TextAlign::TOP_CENTER, "Outdoor");
|
|
||||||
it.print(0, 16, id(sans_14), "Temp:");
|
|
||||||
it.printf(128, 16, id(sans_14), TextAlign::TOP_RIGHT, "%.1f°F", id(outdoor_temperature).state);
|
|
||||||
it.print(0, 32, id(sans_14), "Humidity:");
|
|
||||||
it.printf(128, 32, id(sans_14), TextAlign::TOP_RIGHT, "%.1f%%", id(outdoor_humidity).state);
|
|
||||||
|
|
||||||
interval:
|
|
||||||
- interval: 5s
|
|
||||||
then:
|
|
||||||
- display.page.show_next: _display
|
|
||||||
- component.update: _display
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
# Wiring configuration
|
# Wiring configuration
|
||||||
|
|
||||||
# Drip (Planters) - Green
|
# Drip (Planters) -
|
||||||
# Sprinklers (Lower) - Red
|
# Sprinklers (Lower) - Red
|
||||||
# Sprinklers (Upper) - Blue
|
# Sprinklers (Upper) - Blue
|
||||||
# Unused - Yellow
|
# Unused -
|
||||||
# Common - White
|
# Common - White
|
||||||
|
|
||||||
substitutions:
|
substitutions:
|
||||||
|
|
@ -58,7 +58,7 @@ packages:
|
||||||
vars:
|
vars:
|
||||||
irrigation_area_name: Front Yard
|
irrigation_area_name: Front Yard
|
||||||
zone_1_switch: relay3
|
zone_1_switch: relay3
|
||||||
zone_1_name: Planters
|
zone_1_name: Wall
|
||||||
zone_1_duration: 15
|
zone_1_duration: 15
|
||||||
zone_2_switch: relay4
|
zone_2_switch: relay4
|
||||||
zone_2_name: Unused
|
zone_2_name: Unused
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ packages:
|
||||||
tx_pin: GPIO4
|
tx_pin: GPIO4
|
||||||
rx_pin: GPIO36
|
rx_pin: GPIO36
|
||||||
baud_rate: 38400
|
baud_rate: 38400
|
||||||
parity: NONE
|
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source:
|
- source:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue