From 294008103bdeffabb08278de469a07abc68738c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Koco=C5=84?= Date: Fri, 17 Apr 2026 23:57:20 +0200 Subject: [PATCH] auto-commit --- Kuba/lista_akcji.md | 58 +++++++++++++++++++++++++++++++++ Kuba/main-hub_do zrobienia.yaml | 13 +++++--- 2 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 Kuba/lista_akcji.md diff --git a/Kuba/lista_akcji.md b/Kuba/lista_akcji.md new file mode 100644 index 0000000..8a8c959 --- /dev/null +++ b/Kuba/lista_akcji.md @@ -0,0 +1,58 @@ +# Akcje Binary Sensor — Main Hub + +Legenda: **[HA]** = przez homeassistant.service | **off_all** = skrypt wyłącz wszystko + +## hub1_IN + +| ID / Opis | 1× | 2× | 3× | Długi | +|------------------------------------|-----------------------------------------------------------|-------------------------------------------------|----|-----------| +| hub1_in0 / Wejście 1 | hub1_out15 (Wejście Halogeny) | — | — | off_all | +| hub1_in1 / Wejście 3 | — | — | — | — | +| hub1_in2 / Wejście 2 | [HA] light.korytarz_kinkiety | — | — | off_all | +| hub1_in3 / Sypialnia 3 | hub2_out12 (Łóżko Lewo) + hub2_out1 (Łóżko Prawo) | hub2_out12 + hub2_out1 | — | — | +| hub1_in4 / Sypialnia 1 | sypialnia_led | — | — | — | +| hub1_in5 / Sypialnia 2 | hub2_out7 (Sypialnia Halogen) | — | — | — | +| hub1_in6 / Sypialnia Łóżko Prawo | hub2_out1 (Łóżko Prawo) | hub2_out12 (Łóżko Lewo) + hub2_out1 (Łóżko Prawo) | — | off_all | +| hub1_in7 / Sypialnia Łóżko Lewo | hub2_out12 (Łóżko Lewo) | hub2_out12 + hub2_out1 | — | off_all | +| hub1_in8 / Pokój Gości Lewy | hub2_out10 (Pokój Gościnny Sufit) | hub1_out7 (Garderoba Duża) | — | — | +| hub1_in9 / Pokój Gości Prawy | pokoj_dla_gosci_led | — | — | — | +| hub1_in10..15 / (niepodpięte) | — | — | — | — | + +## hub2_IN + +| ID / Opis | 1× | 2× | 3× | Długi | +|------------------------------------|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|----|------------------------------------| +| hub2_in0 / Korytarz 2 | hub1_out15 (Wejście Halogeny) | — | — | — | +| hub2_in1 / Korytarz 3 | [HA] light.korytarz_kinkiety | — | — | off_all | +| hub2_in2 / Korytarz 1 | hub1_out14 (Korytarz Halogeny) | — | — | off_all | +| hub2_in3 / Mały Korytarz | hub1_out13 (Mały Korytarz Kinkiet) + hub2_out3 (Mały Korytarz Sufit) | — | — | — | +| hub2_in4 / Garderoba Mała | hub2_out14 (Mała Garderoba) | hub3_out2 (Wentylator Główny Obieg) | — | — | +| hub2_in5 / Kuchnia 3_1 | hub1_out8 (Jadalnia) | — | — | — | +| hub2_in6 / Kuchnia 3_2 | jadalnia_led | — | — | — | +| hub2_in7 / Kuchnia 2_1 | hub1_out3 (Kuchnia Halogen) | — | — | off_all | +| hub2_in8 / Kuchnia 2_2 | kuchnia_lezka_led | — | — | — | +| hub2_in9 / Kuchnia 1_1 | hub2_out11 (Salon Plafon) | [HA] switch.salon_wentylator | — | — | +| hub2_in10 / Kuchnia 1_2 | [HA] light.komin_led + light.salon_kinkiety_led | [HA] light.komin_led | — | [HA] light.komin_led | +| hub2_in11 / Schody 3 | [HA] light.oczka_taras_2 + light.skrzynia_2 + light.tunel_2 + light.zwis_schody_2 | — | — | — | +| hub2_in12 / Schody 1 | hub2_out11 (Salon Plafon) | — | — | — | +| hub2_in13 / Schody 2 | [HA] light.salon_kinkiet_1_led + light.salon_kinkiet_2_led + light.salon_kinkiet_3_led | [HA] light.salon_kinkiety_led + light.salon_kinkiet_1/2/3_led | — | [HA] light.komin_led | +| hub2_in14..15 / (niepodpięte) | — | — | — | — | + +## hub3_IN + +| ID / Opis | 1× | 2× | 3× | Długi | +|------------------------------------|-----------------------------------------------------------------------|-------------------------------------------|-----------------------------------------|--------------------------------| +| hub3_in0 / Garderoba Duża Lewy | hub1_out7 (Garderoba Duża) | — | — | — | +| hub3_in1 / Garderoba Duża Prawy | — | — | — | — | +| hub3_in2 / SPA Lewy | hub2_out13 (SPA Zwisy) | — | — | hub1_out4 (SPA Wentylator) | +| hub3_in3 / SPA Prawy | hub1_out4 (SPA Wentylator) + hub1_out10 (SPA Halogeny) | — | — | SPA_Ledy | +| hub3_in4 / Biała Łazienka Ściana | hub2_out0 (Łazienka Sufit) | biala_lazienka_wanna_led | — | hub2_out8 (Łazienka Wentylator)| +| hub3_in5 / Małe WC Lustro Prawy | hub2_out5 (WC Wentylator) + hub2_out2 (WC Sufit) + [HA] light.wc_led | — | — | — | +| hub3_in6 / Małe WC Lustro Lewy | hub1_out9 (WC Lustro) | — | — | — | +| hub3_in7 / Biała Łazienka Skos | hub2_out4 (Łazienka Skos) | — | — | — | +| hub3_in8 / SPA Lustro Lewy | hub1_out5 (Kanciapa pod schodami) | — | — | — | +| hub3_in9 / SPA Lustro Prawy | hub1_out1 (SPA Kinkiet Lustro) | — | — | — | +| hub3_in10 / Biuro Skos | hub1_out2 (Biuro) | serwer_led | — | — | +| hub3_in11 / Serwer Prawy | serwer_led | test_led_2 | hub3_out2 (Wentylator Główny Obieg) | — | +| hub3_in12 / Serwer Lewy | hub1_out14 (Korytarz Halogeny) | hub1_out14 (Korytarz Halogeny) + hub1_out2 (Biuro) | — | off_all | +| hub3_in13..15 / (niepodpięte) | — | — | — | — | diff --git a/Kuba/main-hub_do zrobienia.yaml b/Kuba/main-hub_do zrobienia.yaml index f8f2484..99f3d8d 100644 --- a/Kuba/main-hub_do zrobienia.yaml +++ b/Kuba/main-hub_do zrobienia.yaml @@ -25,7 +25,7 @@ substitutions: device_make: "Peak Control - Jan Kocoń" device_model: "ESP32-PoE Main-Hub" project_version: "1.1" - log_level: "WARN" + log_level: "DEBUG" static_ip: "10.10.0.5" gateway: "10.10.0.1" subnet: "255.255.255.0" @@ -62,6 +62,11 @@ esp32: # Enable logging logger: level: "${log_level}" + logs: + sensor: WARN + atc_mithermometer: WARN + esp32_ble_tracker: WARN + ble_advertise: WARN # Enable Home Assistant API api: @@ -968,8 +973,8 @@ binary_sensor: - ON for at most 350ms - OFF for at least 350ms then: - - switch.toggle: hub2_out12 # Sypialnia Łóżko Lewa strona - - switch.toggle: hub2_out1 # Sypialnia Łóżko Prawa strona + - switch.turn_off: hub2_out12 # Sypialnia Łóżko Lewa strona + - switch.turn_off: hub2_out1 # Sypialnia Łóżko Prawa strona - homeassistant.service: service: logbook.log data: @@ -1006,7 +1011,7 @@ binary_sensor: mode: INPUT inverted: True filters: - - delayed_on_off: 50ms + - delayed_on_off: 100ms id: hub1_in5 on_multi_click: - timing: