mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 09:06:52 +01:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5dff6fb15 | ||
|
|
203fc5e26d | ||
|
|
697af24f47 | ||
|
|
17bbf207e4 |
No files matched your search
@@ -55,8 +55,8 @@ jobs:
|
|||||||
if: steps.changed.outputs.any_changed == 'true'
|
if: steps.changed.outputs.any_changed == 'true'
|
||||||
run: |
|
run: |
|
||||||
for f in ${{ steps.changed.outputs.all_changed_files }}; do
|
for f in ${{ steps.changed.outputs.all_changed_files }}; do
|
||||||
# zephyr: needs the esphomeplatformzephyr fork, upstream doesn't know it yet
|
# Zephyr RTOS platforms need the esphomeplatformzephyr fork, upstream doesn't know them yet
|
||||||
if grep -q '^zephyr:' "$f"; then echo "Skipping $f (zephyr fork)"; continue; fi
|
if grep -qE '^(nrf|stm32|nxp|renesas|silabs):' "$f"; then echo "Skipping $f (zephyr fork)"; continue; fi
|
||||||
echo "Validating $f..."
|
echo "Validating $f..."
|
||||||
esphome config "$f"
|
esphome config "$f"
|
||||||
done
|
done
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
# Package: fireplace icon in the home page icon row (white while it burns, grey while not, dark grey unavailable).
|
||||||
|
# Hidden outside the heating season: fire out and the boiler switch off.
|
||||||
|
# defaults: entity (fire binary_sensor), boiler (switch that lets the boiler fire)
|
||||||
|
defaults:
|
||||||
|
entity: binary_sensor.heating_fireplace_fire
|
||||||
|
boiler: switch.heating_enabled
|
||||||
|
|
||||||
|
lvgl:
|
||||||
|
pages:
|
||||||
|
- id: !extend page_home
|
||||||
|
widgets:
|
||||||
|
- obj:
|
||||||
|
id: !extend home_icons
|
||||||
|
widgets:
|
||||||
|
- label:
|
||||||
|
id: fireplace_icon
|
||||||
|
text: "\U000F0E2F"
|
||||||
|
text_font: icon_s
|
||||||
|
text_color: 0x48484A
|
||||||
|
|
||||||
|
script:
|
||||||
|
- id: fireplace_icon_update
|
||||||
|
then:
|
||||||
|
- lambda: |-
|
||||||
|
const std::string &fire = id(fireplace_fire).state;
|
||||||
|
const bool on = fire == "on";
|
||||||
|
lv_label_set_text(id(fireplace_icon), on ? "\U000F0E2E" : "\U000F0E2F");
|
||||||
|
lv_obj_set_style_text_color(id(fireplace_icon), lv_color_hex(on ? 0xFFFFFF : ha_unavailable(fire) ? 0x48484A : 0x8E8E93), 0);
|
||||||
|
lv_obj_set_hidden(id(fireplace_icon), fire == "off" && id(fireplace_boiler).state == "off");
|
||||||
|
|
||||||
|
text_sensor:
|
||||||
|
# text, not binary: a binary sensor drops "unavailable"
|
||||||
|
- platform: homeassistant
|
||||||
|
id: fireplace_fire
|
||||||
|
entity_id: ${entity}
|
||||||
|
internal: true
|
||||||
|
on_value:
|
||||||
|
- script.execute: fireplace_icon_update
|
||||||
|
- platform: homeassistant
|
||||||
|
id: fireplace_boiler
|
||||||
|
entity_id: ${boiler}
|
||||||
|
internal: true
|
||||||
|
on_value:
|
||||||
|
- script.execute: fireplace_icon_update
|
||||||
@@ -48,7 +48,7 @@ psram:
|
|||||||
ignore_not_found: false
|
ignore_not_found: false
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: github://ptaru/nspanel-terminal@v0.6.0
|
- source: github://ptaru/nspanel-terminal@v0.7.0
|
||||||
components: [nspanel_terminal]
|
components: [nspanel_terminal]
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
@@ -238,59 +238,63 @@ font:
|
|||||||
size: 30
|
size: 30
|
||||||
bpp: 4
|
bpp: 4
|
||||||
glyphs:
|
glyphs:
|
||||||
- "\U000F0594"
|
- "\U000F0594" # mdi:weather-night
|
||||||
- "\U000F0599"
|
- "\U000F0599" # mdi:weather-sunny
|
||||||
- "\U000F0595"
|
- "\U000F0595" # mdi:weather-partly-cloudy
|
||||||
- "\U000F0590"
|
- "\U000F0590" # mdi:weather-cloudy
|
||||||
- "\U000F0591"
|
- "\U000F0591" # mdi:weather-fog
|
||||||
- "\U000F0597"
|
- "\U000F0597" # mdi:weather-rainy
|
||||||
- "\U000F0596"
|
- "\U000F0596" # mdi:weather-pouring
|
||||||
- "\U000F0598"
|
- "\U000F0598" # mdi:weather-snowy
|
||||||
- "\U000F067F"
|
- "\U000F067F" # mdi:weather-snowy-rainy
|
||||||
- "\U000F0592"
|
- "\U000F0592" # mdi:weather-hail
|
||||||
- "\U000F0593"
|
- "\U000F0593" # mdi:weather-lightning
|
||||||
- "\U000F067E"
|
- "\U000F067E" # mdi:weather-lightning-rainy
|
||||||
- "\U000F059D"
|
- "\U000F059D" # mdi:weather-windy
|
||||||
- "\U000F059E"
|
- "\U000F059E" # mdi:weather-windy-variant
|
||||||
- "\U000F05D6"
|
- "\U000F05D6" # mdi:alert-circle-outline
|
||||||
- "\U000F0141"
|
- "\U000F0141" # mdi:chevron-left
|
||||||
- "\U000F0142"
|
- "\U000F0142" # mdi:chevron-right
|
||||||
- "\U000F0374"
|
- "\U000F0374" # mdi:minus
|
||||||
- "\U000F0415"
|
- "\U000F0415" # mdi:plus
|
||||||
- "\U000F0438"
|
- "\U000F0438" # mdi:radiator
|
||||||
- "\U000F0238"
|
- "\U000F0238" # mdi:fire
|
||||||
- "\U000F0140"
|
- "\U000F0140" # mdi:chevron-down
|
||||||
- "\U000F1066"
|
- "\U000F1066" # mdi:valve
|
||||||
- "\U000F059C"
|
- "\U000F059C" # mdi:weather-sunset-up
|
||||||
- "\U000F024A"
|
- "\U000F024A" # mdi:flower
|
||||||
- "\U000F1510"
|
- "\U000F1510" # mdi:grass
|
||||||
- "\U000F1253"
|
- "\U000F1253" # mdi:lightbulb-group
|
||||||
- "\U000F1108"
|
- "\U000F1108" # mdi:power-socket-fr
|
||||||
- "\U000F1987"
|
- "\U000F1987" # mdi:light-flood-down
|
||||||
- "\U000F091D"
|
- "\U000F091D" # mdi:wall-sconce-flat
|
||||||
- "\U000F0299"
|
- "\U000F0299" # mdi:gate
|
||||||
- "\U000F116A"
|
- "\U000F116A" # mdi:gate-open
|
||||||
- "\U000F1169"
|
- "\U000F1169" # mdi:gate-arrow-right
|
||||||
- "\U000F17F7"
|
- "\U000F17F7" # mdi:gate-arrow-left
|
||||||
- "\U000F17F8"
|
- "\U000F17F8" # mdi:gate-alert
|
||||||
- "\U000F06A9"
|
- "\U000F06A9" # mdi:robot
|
||||||
- "\U000F00DF"
|
- "\U000F00DF" # mdi:brightness-6
|
||||||
- "\U000F05A8"
|
- "\U000F05A8" # mdi:white-balance-sunny
|
||||||
- "\U000F03D8"
|
- "\U000F03D8" # mdi:palette
|
||||||
- "\U000F0425"
|
- "\U000F0425" # mdi:power
|
||||||
- "\U000F0379"
|
- "\U000F0379" # mdi:monitor
|
||||||
- "\U000F04B9"
|
- "\U000F04B9" # mdi:sofa
|
||||||
- "\U000F0502"
|
- "\U000F0502" # mdi:television
|
||||||
- "\U000F0769"
|
- "\U000F0769" # mdi:ceiling-light
|
||||||
- "\U000F1051"
|
- "\U000F1051" # mdi:led-strip-variant
|
||||||
- "\U000F1793"
|
- "\U000F1793" # mdi:chandelier
|
||||||
- "\U000F18DE"
|
- "\U000F18DE" # mdi:ceiling-light-multiple-outline
|
||||||
- "\U000F181C"
|
- "\U000F181C" # mdi:countertop
|
||||||
- "\U000F04DE"
|
- "\U000F04DE" # mdi:stove
|
||||||
- "\U000F06B5"
|
- "\U000F06B5" # mdi:lamp
|
||||||
- "\U000F07F4"
|
- "\U000F07F4" # mdi:television-classic
|
||||||
- "\U000F0C6E"
|
- "\U000F0C6E" # mdi:emoticon-dead
|
||||||
- "\U000F0DDC"
|
- "\U000F0DDC" # mdi:monitor-star
|
||||||
|
- "\U000F0E2E" # mdi:fireplace
|
||||||
|
- "\U000F0E2F" # mdi:fireplace-off
|
||||||
|
- "\U000F0AD7" # mdi:radiator-disabled
|
||||||
|
- "\U000F0AD8" # mdi:radiator-off
|
||||||
- file:
|
- file:
|
||||||
type: web
|
type: web
|
||||||
url: https://github.com/Templarian/MaterialDesign-Webfont/raw/v7.4.47/fonts/materialdesignicons-webfont.ttf
|
url: https://github.com/Templarian/MaterialDesign-Webfont/raw/v7.4.47/fonts/materialdesignicons-webfont.ttf
|
||||||
@@ -298,27 +302,27 @@ font:
|
|||||||
size: 52
|
size: 52
|
||||||
bpp: 4
|
bpp: 4
|
||||||
glyphs:
|
glyphs:
|
||||||
- "\U000F0594"
|
- "\U000F0594" # mdi:weather-night
|
||||||
- "\U000F0599"
|
- "\U000F0599" # mdi:weather-sunny
|
||||||
- "\U000F0595"
|
- "\U000F0595" # mdi:weather-partly-cloudy
|
||||||
- "\U000F0590"
|
- "\U000F0590" # mdi:weather-cloudy
|
||||||
- "\U000F0591"
|
- "\U000F0591" # mdi:weather-fog
|
||||||
- "\U000F0597"
|
- "\U000F0597" # mdi:weather-rainy
|
||||||
- "\U000F0596"
|
- "\U000F0596" # mdi:weather-pouring
|
||||||
- "\U000F0598"
|
- "\U000F0598" # mdi:weather-snowy
|
||||||
- "\U000F067F"
|
- "\U000F067F" # mdi:weather-snowy-rainy
|
||||||
- "\U000F0592"
|
- "\U000F0592" # mdi:weather-hail
|
||||||
- "\U000F0593"
|
- "\U000F0593" # mdi:weather-lightning
|
||||||
- "\U000F067E"
|
- "\U000F067E" # mdi:weather-lightning-rainy
|
||||||
- "\U000F059D"
|
- "\U000F059D" # mdi:weather-windy
|
||||||
- "\U000F059E"
|
- "\U000F059E" # mdi:weather-windy-variant
|
||||||
- "\U000F05D6"
|
- "\U000F05D6" # mdi:alert-circle-outline
|
||||||
- "\U000F0299"
|
- "\U000F0299" # mdi:gate
|
||||||
- "\U000F116A"
|
- "\U000F116A" # mdi:gate-open
|
||||||
- "\U000F1169"
|
- "\U000F1169" # mdi:gate-arrow-right
|
||||||
- "\U000F17F7"
|
- "\U000F17F7" # mdi:gate-arrow-left
|
||||||
- "\U000F17F8"
|
- "\U000F17F8" # mdi:gate-alert
|
||||||
- "\U000F06A9"
|
- "\U000F06A9" # mdi:robot
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# counts as activity: wakes the dimmed screen and restarts the idle timeout back to the home page
|
# counts as activity: wakes the dimmed screen and restarts the idle timeout back to the home page
|
||||||
@@ -744,6 +748,21 @@ lvgl:
|
|||||||
id: today_low
|
id: today_low
|
||||||
text: ""
|
text: ""
|
||||||
text_color: 0x8E8E93
|
text_color: 0x8E8E93
|
||||||
|
# state icons above today's weather; *_icon.yaml packages add them, the first one on the right
|
||||||
|
- obj:
|
||||||
|
id: home_icons
|
||||||
|
clickable: false
|
||||||
|
align: BOTTOM_RIGHT
|
||||||
|
y: -90
|
||||||
|
width: SIZE_CONTENT
|
||||||
|
height: SIZE_CONTENT
|
||||||
|
bg_opa: TRANSP
|
||||||
|
border_width: 0
|
||||||
|
pad_all: 0
|
||||||
|
layout:
|
||||||
|
type: FLEX
|
||||||
|
flex_flow: ROW_REVERSE
|
||||||
|
pad_column: 14
|
||||||
# Status: boot screen until Home Assistant connects, then the last (diagnostic) page
|
# Status: boot screen until Home Assistant connects, then the last (diagnostic) page
|
||||||
- id: page_status
|
- id: page_status
|
||||||
styles: page_style
|
styles: page_style
|
||||||
|
|||||||
@@ -0,0 +1,70 @@
|
|||||||
|
# Package: radiator icon in the home page icon row:
|
||||||
|
# disabled (grey) while the thermostat does not call for heat, off (grey) while it does but the off-peak tariff
|
||||||
|
# is off (the boiler is then hard off) and the fireplace is out, on (white) while it heats.
|
||||||
|
# Hidden outside the heating season: boiler switch off and the fireplace out.
|
||||||
|
# vars: id (prefix of its ids, unique per icon), entity (climate);
|
||||||
|
# defaults: boiler (switch that lets the boiler fire), fire (fireplace binary_sensor), off_peak (tariff binary_sensor)
|
||||||
|
defaults:
|
||||||
|
boiler: switch.heating_enabled
|
||||||
|
fire: binary_sensor.heating_fireplace_fire
|
||||||
|
off_peak: binary_sensor.heater_off_peak
|
||||||
|
|
||||||
|
lvgl:
|
||||||
|
pages:
|
||||||
|
- id: !extend page_home
|
||||||
|
widgets:
|
||||||
|
- obj:
|
||||||
|
id: !extend home_icons
|
||||||
|
widgets:
|
||||||
|
- label:
|
||||||
|
id: ${id}_icon
|
||||||
|
text: "\U000F0AD8"
|
||||||
|
text_font: icon_s
|
||||||
|
text_color: 0x48484A
|
||||||
|
|
||||||
|
script:
|
||||||
|
- id: ${id}_update
|
||||||
|
then:
|
||||||
|
- lambda: |-
|
||||||
|
const std::string &boiler = id(${id}_boiler).state, &fire = id(${id}_fire).state;
|
||||||
|
const bool demand = id(${id}_action).state == "heating";
|
||||||
|
// the burning fireplace heats the water without the boiler
|
||||||
|
const bool heating = demand && (id(${id}_off_peak).state != "off" || fire == "on");
|
||||||
|
lv_label_set_text(id(${id}_icon), !demand ? "\U000F0AD7" : heating ? "\U000F0438" : "\U000F0AD8");
|
||||||
|
const bool unavailable = ha_unavailable(id(${id}_mode).state);
|
||||||
|
lv_obj_set_style_text_color(id(${id}_icon), lv_color_hex(heating ? 0xFFFFFF : unavailable ? 0x48484A : 0x8E8E93), 0);
|
||||||
|
lv_obj_set_hidden(id(${id}_icon), boiler == "off" && fire == "off");
|
||||||
|
|
||||||
|
text_sensor:
|
||||||
|
- platform: homeassistant
|
||||||
|
id: ${id}_boiler
|
||||||
|
entity_id: ${boiler}
|
||||||
|
internal: true
|
||||||
|
on_value:
|
||||||
|
- script.execute: ${id}_update
|
||||||
|
- platform: homeassistant
|
||||||
|
id: ${id}_fire
|
||||||
|
entity_id: ${fire}
|
||||||
|
internal: true
|
||||||
|
on_value:
|
||||||
|
- script.execute: ${id}_update
|
||||||
|
- platform: homeassistant
|
||||||
|
id: ${id}_off_peak
|
||||||
|
entity_id: ${off_peak}
|
||||||
|
internal: true
|
||||||
|
on_value:
|
||||||
|
- script.execute: ${id}_update
|
||||||
|
# the climate state only tells whether the thermostat is reachable
|
||||||
|
- platform: homeassistant
|
||||||
|
id: ${id}_mode
|
||||||
|
entity_id: ${entity}
|
||||||
|
internal: true
|
||||||
|
on_value:
|
||||||
|
- script.execute: ${id}_update
|
||||||
|
- platform: homeassistant
|
||||||
|
id: ${id}_action
|
||||||
|
entity_id: ${entity}
|
||||||
|
attribute: hvac_action
|
||||||
|
internal: true
|
||||||
|
on_value:
|
||||||
|
- script.execute: ${id}_update
|
||||||
+1
-1
@@ -25,7 +25,7 @@ esphome:
|
|||||||
friendly_name: nRF ANT+
|
friendly_name: nRF ANT+
|
||||||
|
|
||||||
# needs the esphomeplatformzephyr fork (esphome-zephyr); RadiANT needs NCS
|
# needs the esphomeplatformzephyr fork (esphome-zephyr); RadiANT needs NCS
|
||||||
zephyr:
|
nrf:
|
||||||
variant: NRF52
|
variant: NRF52
|
||||||
board: nrf52840dk/nrf52840
|
board: nrf52840dk/nrf52840
|
||||||
framework:
|
framework:
|
||||||
|
|||||||
+2
-2
@@ -18,8 +18,8 @@ esphome:
|
|||||||
name: mcu-nrf-dk
|
name: mcu-nrf-dk
|
||||||
friendly_name: nRF DK
|
friendly_name: nRF DK
|
||||||
|
|
||||||
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no zephyr: platform yet
|
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no nrf: platform yet
|
||||||
zephyr:
|
nrf:
|
||||||
variant: NRF52
|
variant: NRF52
|
||||||
board: nrf52840dk/nrf52840
|
board: nrf52840dk/nrf52840
|
||||||
framework:
|
framework:
|
||||||
|
|||||||
@@ -52,6 +52,9 @@ packages:
|
|||||||
l_lamp_left: !include {file: common/nspanel_terminal/light_tile.yaml, vars: {page: page_bedroom, id: l_lamp_left, name: "Nočná lampa R", entity: light.mcu_bedroom_lamp_left_light, icon: "\U000F06B5", dim: true, kmin: 1701, hs: true}}
|
l_lamp_left: !include {file: common/nspanel_terminal/light_tile.yaml, vars: {page: page_bedroom, id: l_lamp_left, name: "Nočná lampa R", entity: light.mcu_bedroom_lamp_left_light, icon: "\U000F06B5", dim: true, kmin: 1701, hs: true}}
|
||||||
# Kúrenie
|
# Kúrenie
|
||||||
thermo: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Spálňa", prev: page_bedroom, next: page_status, entity: climate.bt_trv_bedroom}}
|
thermo: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Spálňa", prev: page_bedroom, next: page_status, entity: climate.bt_trv_bedroom}}
|
||||||
|
# home page icons, right to left
|
||||||
|
i_fire: !include common/nspanel_terminal/fireplace_icon.yaml
|
||||||
|
i_radiator: !include {file: common/nspanel_terminal/radiator_icon.yaml, vars: {id: i_radiator, entity: climate.bt_trv_bedroom}}
|
||||||
|
|
||||||
# the grid pages; home, status and light detail come from panel.yaml, thermostat pages from thermostat.yaml
|
# the grid pages; home, status and light detail come from panel.yaml, thermostat pages from thermostat.yaml
|
||||||
lvgl:
|
lvgl:
|
||||||
|
|||||||
@@ -82,6 +82,9 @@ packages:
|
|||||||
gate_auto_close: !include {file: common/nspanel_terminal/switch_tile.yaml, vars: {page: page_gate_auto, id: gate_auto_close, name: "Auto-zatváranie", entity: switch.mcu_gate_auto_close, icon: "\U000F17F7", domain: switch}}
|
gate_auto_close: !include {file: common/nspanel_terminal/switch_tile.yaml, vars: {page: page_gate_auto, id: gate_auto_close, name: "Auto-zatváranie", entity: switch.mcu_gate_auto_close, icon: "\U000F17F7", domain: switch}}
|
||||||
# Kúrenie
|
# Kúrenie
|
||||||
thermostat: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Romanko", prev: page_irrigation, next: page_gate, entity: climate.bt_trv_office_r}}
|
thermostat: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Romanko", prev: page_irrigation, next: page_gate, entity: climate.bt_trv_office_r}}
|
||||||
|
# home page icons, right to left
|
||||||
|
i_fire: !include common/nspanel_terminal/fireplace_icon.yaml
|
||||||
|
i_radiator: !include {file: common/nspanel_terminal/radiator_icon.yaml, vars: {id: i_radiator, entity: climate.bt_trv_office_r}}
|
||||||
|
|
||||||
# the grid pages; home, status and light detail come from panel.yaml, the thermostat page from thermostat.yaml
|
# the grid pages; home, status and light detail come from panel.yaml, the thermostat page from thermostat.yaml
|
||||||
lvgl:
|
lvgl:
|
||||||
|
|||||||
@@ -67,6 +67,10 @@ packages:
|
|||||||
# Kúrenie
|
# Kúrenie
|
||||||
thermo: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Obývačka", prev: page_gate, next: page_thermostat_room, entity: climate.bt_trv_living_room_kitchen}}
|
thermo: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Obývačka", prev: page_gate, next: page_thermostat_room, entity: climate.bt_trv_living_room_kitchen}}
|
||||||
thermo_room: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo_room, page: page_thermostat_room, title: "Kúrenie - Izba", prev: page_thermostat, next: page_status, entity: climate.bt_trv_room}}
|
thermo_room: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo_room, page: page_thermostat_room, title: "Kúrenie - Izba", prev: page_thermostat, next: page_status, entity: climate.bt_trv_room}}
|
||||||
|
# home page icons, right to left
|
||||||
|
i_fire: !include common/nspanel_terminal/fireplace_icon.yaml
|
||||||
|
i_radiator: !include {file: common/nspanel_terminal/radiator_icon.yaml, vars: {id: i_radiator, entity: climate.bt_trv_living_room_kitchen}}
|
||||||
|
i_radiator_room: !include {file: common/nspanel_terminal/radiator_icon.yaml, vars: {id: i_radiator_room, entity: climate.bt_trv_room}}
|
||||||
|
|
||||||
# the grid pages; home, status and light detail come from panel.yaml, thermostat pages from thermostat.yaml
|
# the grid pages; home, status and light detail come from panel.yaml, thermostat pages from thermostat.yaml
|
||||||
lvgl:
|
lvgl:
|
||||||
|
|||||||
@@ -56,6 +56,9 @@ packages:
|
|||||||
gate_auto_close: !include {file: common/nspanel_terminal/switch_tile.yaml, vars: {page: page_gate_auto, id: gate_auto_close, name: "Auto-zatváranie", entity: switch.mcu_gate_auto_close, icon: "\U000F17F7", domain: switch}}
|
gate_auto_close: !include {file: common/nspanel_terminal/switch_tile.yaml, vars: {page: page_gate_auto, id: gate_auto_close, name: "Auto-zatváranie", entity: switch.mcu_gate_auto_close, icon: "\U000F17F7", domain: switch}}
|
||||||
# Kúrenie
|
# Kúrenie
|
||||||
thermo: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Janko", prev: page_gate, next: page_status, entity: climate.bt_trv_office_j}}
|
thermo: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Janko", prev: page_gate, next: page_status, entity: climate.bt_trv_office_j}}
|
||||||
|
# home page icons, right to left
|
||||||
|
i_fire: !include common/nspanel_terminal/fireplace_icon.yaml
|
||||||
|
i_radiator: !include {file: common/nspanel_terminal/radiator_icon.yaml, vars: {id: i_radiator, entity: climate.bt_trv_office_j}}
|
||||||
|
|
||||||
# the grid pages; home, status and light detail come from panel.yaml, thermostat pages from thermostat.yaml
|
# the grid pages; home, status and light detail come from panel.yaml, thermostat pages from thermostat.yaml
|
||||||
lvgl:
|
lvgl:
|
||||||
|
|||||||
@@ -55,6 +55,9 @@ packages:
|
|||||||
gate_auto_close: !include {file: common/nspanel_terminal/switch_tile.yaml, vars: {page: page_gate_auto, id: gate_auto_close, name: "Auto-zatváranie", entity: switch.mcu_gate_auto_close, icon: "\U000F17F7", domain: switch}}
|
gate_auto_close: !include {file: common/nspanel_terminal/switch_tile.yaml, vars: {page: page_gate_auto, id: gate_auto_close, name: "Auto-zatváranie", entity: switch.mcu_gate_auto_close, icon: "\U000F17F7", domain: switch}}
|
||||||
# Kúrenie
|
# Kúrenie
|
||||||
thermostat: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Romanko", prev: page_gate, next: page_status, entity: climate.bt_trv_office_r}}
|
thermostat: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Romanko", prev: page_gate, next: page_status, entity: climate.bt_trv_office_r}}
|
||||||
|
# home page icons, right to left
|
||||||
|
i_fire: !include common/nspanel_terminal/fireplace_icon.yaml
|
||||||
|
i_radiator: !include {file: common/nspanel_terminal/radiator_icon.yaml, vars: {id: i_radiator, entity: climate.bt_trv_office_r}}
|
||||||
|
|
||||||
# the grid pages; home, status and light detail come from panel.yaml, the thermostat page from thermostat.yaml
|
# the grid pages; home, status and light detail come from panel.yaml, the thermostat page from thermostat.yaml
|
||||||
lvgl:
|
lvgl:
|
||||||
|
|||||||
@@ -76,6 +76,9 @@ packages:
|
|||||||
gate_auto_close: !include {file: common/nspanel_terminal/switch_tile.yaml, vars: {page: page_gate_auto, id: gate_auto_close, name: "Auto-zatváranie", entity: switch.mcu_gate_auto_close, icon: "\U000F17F7", domain: switch}}
|
gate_auto_close: !include {file: common/nspanel_terminal/switch_tile.yaml, vars: {page: page_gate_auto, id: gate_auto_close, name: "Auto-zatváranie", entity: switch.mcu_gate_auto_close, icon: "\U000F17F7", domain: switch}}
|
||||||
# Kúrenie
|
# Kúrenie
|
||||||
thermo: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Obývačka", prev: page_gate, next: page_status, entity: climate.bt_trv_living_room_kitchen}}
|
thermo: !include {file: common/nspanel_terminal/thermostat.yaml, vars: {id: thermo, page: page_thermostat, title: "Kúrenie - Obývačka", prev: page_gate, next: page_status, entity: climate.bt_trv_living_room_kitchen}}
|
||||||
|
# home page icons, right to left
|
||||||
|
i_fire: !include common/nspanel_terminal/fireplace_icon.yaml
|
||||||
|
i_radiator: !include {file: common/nspanel_terminal/radiator_icon.yaml, vars: {id: i_radiator, entity: climate.bt_trv_living_room_kitchen}}
|
||||||
|
|
||||||
# the grid pages; home, status and light detail come from panel.yaml, thermostat pages from thermostat.yaml
|
# the grid pages; home, status and light detail come from panel.yaml, thermostat pages from thermostat.yaml
|
||||||
lvgl:
|
lvgl:
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ esphome:
|
|||||||
name: mcu-stm32-blackpill
|
name: mcu-stm32-blackpill
|
||||||
friendly_name: STM32 Black Pill
|
friendly_name: STM32 Black Pill
|
||||||
|
|
||||||
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no zephyr: platform yet
|
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no stm32: platform yet
|
||||||
zephyr:
|
stm32:
|
||||||
variant: STM32F4
|
variant: STM32F4
|
||||||
board: blackpill_f401cc
|
board: blackpill_f401cc
|
||||||
framework:
|
framework:
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ esphome:
|
|||||||
name: mcu-stm32-nucleo
|
name: mcu-stm32-nucleo
|
||||||
friendly_name: STM32 Nucleo
|
friendly_name: STM32 Nucleo
|
||||||
|
|
||||||
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no zephyr: platform yet
|
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no stm32: platform yet
|
||||||
zephyr:
|
stm32:
|
||||||
variant: STM32F4
|
variant: STM32F4
|
||||||
board: nucleo_f411re
|
board: nucleo_f411re
|
||||||
framework:
|
framework:
|
||||||
|
|||||||
Reference in new issue
Block a user