auto-commit

This commit is contained in:
2026-04-14 19:58:21 +02:00
parent ff5ce26d9b
commit c21f388160
3 changed files with 1959 additions and 45 deletions

View File

@@ -31,10 +31,6 @@ ethernet:
phy_addr: 0
power_pin: GPIO12
dashboard_import:
package_import_url: github://gitea.domowyasystent.com/jkocon/ESP32-Hub/main-hub.yaml@main
import_full_config: true
logger:
api:
@@ -174,49 +170,87 @@ packages:
]
esp32_ble_tracker:
# ── Nazwane oświetlenie LED PWM (PCA9685) ────────────────────────────────────
# Zdefiniuj tu nazwane światła mapujące kanały PCA9685 na logiczne ID.
# Platformy: monochromatic (1 kanał), cwww (2), rgb (3), rgbww (5).
# Odkomentuj i uzupełnij wg okablowania.
#
# light:
# - platform: monochromatic
# name: "Nazwa Światła"
# id: nazwa_swiatla
# output: pca_0x40_ch0 # kanał PCA9685
#
# - platform: cwww
# name: "Nazwa Światła CW"
# id: nazwa_swiatla_cw
# cold_white: pca_0x40_ch1
# warm_white: pca_0x40_ch2
# cold_white_color_temperature: 6000K
# warm_white_color_temperature: 2700K
# ── Wejścia cyfrowe (MCP23017 INPUTS) ────────────────────────────────────────
# Zdefiniuj tu sensory mapujące piny MCP23017 na logiczne przyciski.
# Dla pojedynczego kliknięcia użyj on_click, dla wielu gestów on_multi_click.
#
# binary_sensor:
# - platform: gpio
# name: "Nazwa Przycisku"
# id: przycisk_id
# pin:
# mcp23xxx: mcp23xxx_0x20 # ID chipu z packages/main_hub/mcp23017/inputs/
# number: 0
# mode: INPUT
# inverted: True
# on_click:
# then:
# - light.toggle: nazwa_swiatla
#
# - platform: gpio
# name: "Przycisk Multi"
# id: przycisk_multi_id
# pin:
# mcp23xxx: mcp23xxx_0x20
# number: 1
# mode: INPUT
# inverted: True
# on_multi_click:
# - timing: # single click
# - ON for at most 350ms
# - OFF for at least 350ms
# then:
# - light.toggle: nazwa_swiatla
# - timing: # double click
# - ON for at most 350ms
# - OFF for at most 350ms
# - ON for at most 350ms
# - OFF for at least 350ms
# then:
# - script.execute: off_all_lights
# - timing: # long press
# - ON for at least 350ms
# then:
# - script.execute: off_all_fans
# ── Czujniki BLE ATC MiThermometer ───────────────────────────────────────────
# Odkomentuj esp32_ble_tracker oraz sensory jeśli używasz czujników BLE.
#
# esp32_ble_tracker:
#
# sensor:
# - platform: uptime
# type: seconds
# name: Uptime Sensor
# - platform: atc_mithermometer
# mac_address: "AA:BB:CC:DD:EE:FF" # TODO: wpisz MAC z etykiety czujnika
# temperature:
# name: "Pokój Temperatura"
# humidity:
# name: "Pokój Nawilzenie"
# battery_level:
# name: "Pokój Bateria"
sensor:
- platform: uptime
type: seconds
name: Uptime Sensor
- platform: atc_mithermometer
mac_address: "A4:C1:38:C5:11:58"
temperature:
name: "Biuro Temperatura"
humidity:
name: "Biuro Nawilzenie"
battery_level:
name: "Biuro Bateria"
- platform: atc_mithermometer
mac_address: "A4:C1:38:5C:4F:38"
temperature:
name: "Serwer Temperatura"
humidity:
name: "Serwer Nawilzenie"
battery_level:
name: "Serwer Bateria"
- platform: atc_mithermometer
mac_address: "A4:C1:38:67:6B:94"
temperature:
name: "Kuchnia Temperatura"
humidity:
name: "Kuchnia Nawilzenie"
battery_level:
name: "Kuchnia Bateria"
- platform: atc_mithermometer
mac_address: "A4:C1:38:C9:FE:CA"
temperature:
name: "WC Temperatura"
humidity:
name: "WC Nawilzenie"
battery_level:
name: "WC Bateria"
- platform: atc_mithermometer
mac_address: "A4:C1:38:63:6D:DB"
temperature:
name: "Lazienka Temperatura"
humidity:
name: "Lazienka Nawilzenie"
battery_level:
name: "Lazienka Bateria"