homeassistant: customize: !include customize.yaml # Lokalizacja latitude: 52.183363 longitude: 20.793493 elevation: 134 # metric for Metric, imperial for Imperial unit_system: metric # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones time_zone: Europe/Warsaw frontend: # Enables configuration UI config: http: # Track the sun sun: group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml # Enable history and recorder history: recorder: sensor: - platform: thermal_comfort sensors: salon: friendly_name: Komfort termiczny w salonie temperature_sensor: sensor.filtr_temperatury_w_salonie humidity_sensor: sensor.filtr_wilgotnosci_w_salonie gabinet: friendly_name: Komfort termiczny w gabinecie temperature_sensor: sensor.filtr_temperatury_w_gabinecie humidity_sensor: sensor.filtr_wilgotnosci_w_gabinecie outside: friendly_name: Komfort termiczny na zewnatrz temperature_sensor: sensor.filtr_temperatury_na_zewnatrz humidity_sensor: sensor.filtr_wilgotnosci_na_zewnatrz bathroomdown: friendly_name: Komfort termiczny w lazience dolnej temperature_sensor: sensor.filtr_temperatury_w_lazience_dolnej humidity_sensor: sensor.filtr_wilgotnosci_w_lazience_dolnej wentylacja: friendly_name: Komfort termiczny w kanale nawiewnym temperature_sensor: sensor.filtr_luftdata_temperature_in humidity_sensor: sensor.filtr_luftdata_humidity_in zewnetrzna: friendly_name: Komfort termiczny na zewnatrz temperature_sensor: sensor.filtr_luftdata_temperature_out humidity_sensor: sensor.filtr_luftdata_humidity_out - platform: template sensors: weather_temperature: friendly_name: "Temperatura z pogody" unit_of_measurement: "°C" value_template: "{{ state_attr('weather.tytan', 'temperature') }}" - platform: command_line name: Sterbox1 command: 'curl "http://192.150.1.180/@gca?fspeed&@gcd?dsssli1&@gcd?dssslig1&@gcd?dstvlig1&@gcd?dglig&@gcd?klig1" | tee /data/data/pl.sviete.dom/files/home/AIS/sterbox1' scan_interval: 1 - platform: command_line name: Predkosc wentylatora okapu unit_of_measurement: B command: "awk -F'`' '{print $1}' /data/data/pl.sviete.dom/files/home/AIS/sterbox1" value_template: "{{ value | replace(',', '.') }}" - platform: command_line name: Oswietlenie sufitu salon jadalnia command: "awk -F'`' '{print $2}' /data/data/pl.sviete.dom/files/home/AIS/sterbox1" scan_interval: 1 - platform: command_line name: Oswietlenie dookola sufitu command: "awk -F'`' '{print $3}' /data/data/pl.sviete.dom/files/home/AIS/sterbox1" scan_interval: 1 - platform: command_line name: Oswietlenie za TV salon command: "awk -F'`' '{print $4}' /data/data/pl.sviete.dom/files/home/AIS/sterbox1" scan_interval: 1 - platform: command_line name: Oswietlenie zyrandol gabinet command: "awk -F'`' '{print $5}' /data/data/pl.sviete.dom/files/home/AIS/sterbox1" scan_interval: 1 - platform: command_line name: Oswietlenie spizarni command: "awk -F'`' '{print $6}' /data/data/pl.sviete.dom/files/home/AIS/sterbox1" scan_interval: 1 - platform: rest name: Predkosc wiatru unit_of_measurement: "km/h" resource: http://192.150.1.182/@gca?wind value_template: "{{ value | replace(',', '.') }}" scan_interval: 1 - platform: filter name: Filtr predkosci wiatru entity_id: sensor.predkosc_wiatru filters: - filter: outlier window_size: 30 radius: 4.0 - filter: lowpass time_constant: 60 precision: 2 - platform: rest name: Predkosc wiatru w porywach unit_of_measurement: "km/h" resource: http://192.150.1.182/@gca?wind scan_interval: 1 - platform: filter name: Filtr predkosci wiatru w porywach entity_id: sensor.predkosc_wiatru_w_porywach filters: - filter: lowpass - platform: rest name: Temperatura okna zachodniego w salonie unit_of_measurement: "°C" resource: http://192.150.1.182/@gca?dstempz value_template: "{{ value | replace(',', '.') }}" - platform: filter name: Filtr temperatury okna zachodniego w salonie entity_id: sensor.temperatura_okna_zachodniego_w_salonie filters: - filter: outlier window_size: 15 radius: 4.0 - filter: lowpass time_constant: 10 precision: 2 - platform: rest name: Temperatura okna poludniowego w jadalni unit_of_measurement: "°C" resource: http://192.150.1.182/@gca?djtempp value_template: "{{ value | replace(',', '.') }}" - platform: filter name: Filtr temperatury okna poludniowego w jadalni entity_id: sensor.temperatura_okna_poludniowego_w_jadalni filters: - filter: outlier window_size: 15 radius: 4.0 - filter: lowpass time_constant: 10 precision: 2 - platform: rest name: Temperatura pod plyta indukcyjna unit_of_measurement: "°C" resource: http://192.150.1.182/@gca?indsens value_template: "{{ value | replace(',', '.') }}" - platform: filter name: Filtr temperatury pod plyta indukcyjna entity_id: sensor.temperatura_pod_plyta_indukcyjna filters: - filter: outlier window_size: 15 radius: 4.0 - platform: rest name: Temperatura okna wschodniego w kuchni unit_of_measurement: "°C" resource: http://192.150.1.182/@gca?dktempw value_template: "{{ value | replace(',', '.') }}" - platform: filter name: Filtr temperatury okna wschodniego w kuchni entity_id: sensor.temperatura_okna_wschodniego_w_kuchni filters: - filter: outlier window_size: 15 radius: 4.0 - filter: lowpass time_constant: 10 precision: 2 - platform: rest name: Temperatura na zewnatrz unit_of_measurement: "°C" resource: http://192.150.1.182/@gca?temp_out value_template: "{{ value | replace(',', '.') }}" - platform: filter name: Filtr temperatury na zewnatrz entity_id: sensor.temperatura_na_zewnatrz filters: - filter: outlier window_size: 15 radius: 10.0 - filter: lowpass - platform: rest name: Podlewanie sekcja 1 B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?sek1 scan_interval: 1 - platform: rest name: Podlewanie sekcja 2 B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?sek2 scan_interval: 1 - platform: rest name: Podlewanie sekcja 3 B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?sek3 scan_interval: 1 - platform: rest name: Podlewanie sekcja 4 B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?sek4 scan_interval: 1 - platform: rest name: Podlewanie sekcja 5 B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?sek5 scan_interval: 1 - platform: rest name: Podlewanie sekcja 6 B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?sek6 scan_interval: 1 - platform: rest name: Podlewanie sekcja 7 B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?sek7 scan_interval: 1 - platform: rest name: Podlewanie zasilanie 24V B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?zas24 scan_interval: 1 - platform: rest name: Pompa wody presostat B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?stan_pom scan_interval: 1 - platform: rest name: Pompa wody zasilanie B unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?pomp_wod scan_interval: 1 - platform: rest name: Oświetlenie od północy unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?dposwpol scan_interval: 1 - platform: rest name: Oświetlenie kinkiety góra wschód/południe unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?dposwpwg scan_interval: 1 - platform: rest name: Oświetlenie kinkiety zachód unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?dposwza scan_interval: 1 - platform: rest name: Oświetlenie kinkiety dół wschód/południe unit_of_measurement: "B" resource: http://192.150.1.182/@gcd?dposwpwd scan_interval: 1 - platform: rest name: Halogen od wschodu resource: http://192.150.1.182/@gcd?halwsch scan_interval: 1 - platform: rest name: Halogen od poludnia resource: http://192.150.1.182/@gcd?halpol scan_interval: 1 - platform: rest name: Halogen od zachodu resource: http://192.150.1.182/@gcd?halzach scan_interval: 1 - platform: command_line name: "Cisnienie w salonie" command: 'curl http://192.150.1.136/data.json' value_template: "{{ value_json.sensordatavalues[1].value | multiply(0.01) | round(1) }}" unit_of_measurement: "hPa" - platform: command_line name: "Temperatura w salonie" command: 'curl http://192.150.1.136/data.json' value_template: "{{ value_json.sensordatavalues[0].value | round(1) }}" unit_of_measurement: "°C" - platform: filter name: Filtr temperatury w salonie entity_id: sensor.temperatura_w_salonie filters: - filter: outlier window_size: 30 radius: 4.0 - filter: lowpass - platform: command_line name: "Cisnienie w gabinecie" command: 'curl http://192.150.1.137/data.json' value_template: "{{ value_json.sensordatavalues[1].value | multiply(0.01) | round(1) }}" unit_of_measurement: "hPa" - platform: command_line name: "Temperatura w gabinecie" command: 'curl http://192.150.1.137/data.json' value_template: "{{ value_json.sensordatavalues[0].value | round(1) }}" unit_of_measurement: "°C" - platform: filter name: Filtr temperatury w gabinecie entity_id: sensor.temperatura_w_gabinecie filters: - filter: outlier window_size: 30 radius: 4.0 - filter: lowpass - platform: command_line name: "Cisnienie w lazience dolnej" command: 'curl http://192.150.1.138/data.json' value_template: "{{ value_json.sensordatavalues[1].value | multiply(0.01) | round(1) }}" unit_of_measurement: "hPa" - platform: command_line name: "Temperatura w lazience dolnej" command: 'curl http://192.150.1.138/data.json' value_template: "{{ value_json.sensordatavalues[0].value | round(1) }}" unit_of_measurement: "°C" - platform: filter name: Filtr temperatury w lazience_dolnej entity_id: sensor.temperatura_w_lazience_dolnej filters: - filter: outlier window_size: 30 radius: 4.0 - filter: lowpass - platform: rest name: Wilgotnosc na zewnatrz unit_of_measurement: "%" resource: http://192.150.1.182/@gca?wilg_out value_template: "{{ value | replace(',', '.') }}" - platform: filter name: Filtr wilgotnosci na zewnatrz entity_id: sensor.wilgotnosc_na_zewnatrz filters: - filter: outlier window_size: 30 radius: 4.0 - filter: lowpass - platform: command_line name: "Wilgotnosc w salonie" command: 'curl http://192.150.1.136/data.json' value_template: "{{ value_json.sensordatavalues[2].value | round(1) }}" unit_of_measurement: "%" - platform: filter name: Filtr wilgotnosci w salonie entity_id: sensor.wilgotnosc_w_salonie filters: - filter: outlier window_size: 30 radius: 4.0 - filter: lowpass - platform: command_line name: "Wilgotnosc w gabinecie" command: 'curl http://192.150.1.137/data.json' value_template: "{{ value_json.sensordatavalues[2].value | round(1) }}" unit_of_measurement: "%" - platform: filter name: Filtr wilgotnosci w gabinecie entity_id: sensor.wilgotnosc_w_gabinecie filters: - filter: outlier window_size: 30 radius: 4.0 - filter: lowpass - platform: command_line name: "Wilgotnosc w lazience dolnej" command: 'curl http://192.150.1.138/data.json' value_template: "{{ value_json.sensordatavalues[2].value | round(1) }}" unit_of_measurement: "%" - platform: filter name: Filtr wilgotnosci w lazience_dolnej entity_id: sensor.wilgotnosc_w_lazience_dolnej filters: - filter: outlier window_size: 30 radius: 4.0 - filter: lowpass - platform: rest name: Wilgotnosc ustawiona sterbox unit_of_measurement: "%" resource: http://192.150.1.182/@gca?wilg_t scan_interval: 1 - platform: template sensors: setpoint_status: friendly_name: "Ustaw wilgotnosc" value_template: >- {% if states('sensor.wilgotnosc_ustawiona_sterbox')|float != states('input_number.wilgotnosc_ustawiona_input')|float %} 1 {% else %} 0 {% endif %} rest_command: ustawianie_sciemniacza_w_gabinecie: url: "http://192.150.1.180/@svn?5={{ states('input_number.sciemniacz_gabinet')| multiply(0.333) | round(0) }}" ustawianie_wilgotnosci: url: "http://192.150.1.182/@sca?wilg_1={{ states('input_number.wilgotnosc_ustawiona_input') }}" wilgotnosc_w_salonie_dla_sterbox: url: "http://192.150.1.182/@sca?wilg_salon={{ states('sensor.filtr_wilgotnosci_w_salonie') }}" czujnik_presostatu_on: url: 'http://192.150.1.182/@scd?pom_onof=0' czujnik_presostatu_off: url: 'http://192.150.1.182/@scd?pom_onof=1' otwieranie_drzwi: url: 'http://192.150.1.182/@scd?dwczyt3=2' refleksol_salon_poludnie_down: url: 'http://192.150.1.180/@scd?dsrpdow2=2' refleksol_salon_poludnie_up: url: 'http://192.150.1.180/@scd?dsrpup2=2' refleksol_salon_zachod_down: url: 'http://192.150.1.180/@scd?dsrzdow2=2' refleksol_salon_zachod_up: url: 'http://192.150.1.180/@scd?dsrzup2=2' refleksol_jadalnia_poludnie_down: url: 'http://192.150.1.180/@scd?djrpdow2=2' refleksol_jadalnia_poludnie_up: url: 'http://192.150.1.180/@scd?djrpup2=2' refleksol_jadalnia_wschod_down: url: 'http://192.150.1.180/@scd?djrwdow2=2' refleksol_jadalnia_wschod_up: url: 'http://192.150.1.180/@scd?djrwup2=2' refleksol_kuchnia_down: url: 'http://192.150.1.180/@scd?dkrdow2=2' refleksol_kuchnia_up: url: 'http://192.150.1.180/@scd?dkrup2=2' refleksol_gabinet_down: url: 'http://192.150.1.180/@scd?dgrdow2=2' refleksol_gabinet_up: url: 'http://192.150.1.180/@scd?dgrup2=2' refleksol_sypialnia_poludnie_down: url: 'http://192.150.1.181/@scd?gsrpdow2=2' refleksol_sypialnia_poludnie_up: url: 'http://192.150.1.181/@scd?gsrpup2=2' refleksol_sypialnia_zachod_down: url: 'http://192.150.1.181/@scd?gsrzdow2=2' refleksol_sypialnia_zachod_up: url: 'http://192.150.1.181/@scd?gsrzup2=2' refleksol_pokoj_1_poludnie_down: url: 'http://192.150.1.181/@scd?g1rpdow2=2' refleksol_pokoj_1_poludnie_up: url: 'http://192.150.1.181/@scd?g1rpup2=2' refleksol_pokoj_1_wschod_down: url: 'http://192.150.1.181/@scd?g1rwdow2=2' refleksol_pokoj_1_wschod_up: url: 'http://192.150.1.181/@scd?g1rwup2=2' refleksol_pokoj_2_down: url: 'http://192.150.1.181/@scd?g2rdow2=2' refleksol_pokoj_2_up: url: 'http://192.150.1.181/@scd?g2rup2=2' refleksol_garderoba_down: url: 'http://192.150.1.181/@scd?ggrdow2=2' refleksol_garderoba_up: url: 'http://192.150.1.181/@scd?ggrup2=2' pompadzon: url: 'http://192.150.1.182/@scd?pompadz=1' pompadzoff: url: 'http://192.150.1.182/@scd?pompadz=0' halwschon: url: 'http://192.150.1.182/@scd?halwsch1=1' halwschoff: url: 'http://192.150.1.182/@scd?halwsch1=0' halpolon: url: 'http://192.150.1.182/@scd?halpol1=1' halpoloff: url: 'http://192.150.1.182/@scd?halpol1=0' halzachon: url: 'http://192.150.1.182/@scd?halzach1=1' halzachoff: url: 'http://192.150.1.182/@scd?halzach1=0' podlsekcja1on: url: 'http://192.150.1.182/@scd?zas24_1=1&@scd?sek1_1=1' podlsekcja2on: url: 'http://192.150.1.182/@scd?zas24_1=1&@scd?sek2_1=1' podlsekcja3on: url: 'http://192.150.1.182/@scd?zas24_1=1&@scd?sek3_1=1' podlsekcja4on: url: 'http://192.150.1.182/@scd?zas24_1=1&@scd?sek4_1=1' podlsekcja5on: url: 'http://192.150.1.182/@scd?zas24_1=1&@scd?sek5_1=1' podlsekcja6on: url: 'http://192.150.1.182/@scd?zas24_1=1&@scd?sek6_1=1' podlsekcja7on: url: 'http://192.150.1.182/@scd?zas24_1=1&@scd?sek7_1=1' podlsekcja1off: url: 'http://192.150.1.182/@scd?zas24_1=0&@scd?sek1_1=0' podlsekcja2off: url: 'http://192.150.1.182/@scd?zas24_1=0&@scd?sek2_1=0' podlsekcja3off: url: 'http://192.150.1.182/@scd?zas24_1=0&@scd?sek3_1=0' podlsekcja4off: url: 'http://192.150.1.182/@scd?zas24_1=0&@scd?sek4_1=0' podlsekcja5off: url: 'http://192.150.1.182/@scd?zas24_1=0&@scd?sek5_1=0' podlsekcja6off: url: 'http://192.150.1.182/@scd?zas24_1=0&@scd?sek6_1=0' podlsekcja7off: url: 'http://192.150.1.182/@scd?zas24_1=0&@scd?sek7_1=0' okapon: url: 'http://192.150.1.180/@scd?fup1=2' okapoff: url: 'http://192.150.1.180/@scd?fupdown1=2' oswietlenie_sufitu_salon_on: url: 'http://192.150.1.180:/@scd?dssslih=2' oswietlenie_sufitu_salon_off: url: 'http://192.150.1.180:/@scd?dssslih=2' oswietlenie_sufitu_salon_dookola_on: url: 'http://192.150.1.180:/@scd?dsssligh=2' oswietlenie_sufitu_salon_dookola_off: url: 'http://192.150.1.180:/@scd?dsssligh=2' oswietlenie_gabinet_zyrandol_on: url: 'http://192.150.1.180:/@scd?dgligh=2' oswietlenie_gabinet_zyrandol_off: url: 'http://192.150.1.180:/@scd?dgligh=2' oswietlenie_salon_tv_on: url: 'http://192.150.1.180:/@scd?dstvligh=2' oswietlenie_salon_tv_off: url: 'http://192.150.1.180:/@scd?dstvligh=2' oswietlenie_spizarnia_on: url: 'http://192.150.1.180:/@scd?kligh=1' oswietlenie_spizarnia_on: url: 'http://192.150.1.180:/@scd?kligh=0' wszystkie_kinkiety_na_zewnatrz_on: url: 'http://192.150.1.182/@scd?dpospol=1&@scd?dpospwg=1&@scd?dposza=1&@scd?dpospwd=1' wszystkie_kinkiety_na_zewnatrz_off: url: 'http://192.150.1.182/@scd?dpospol=0&@scd?dpospwg=0&@scd?dposza=0&@scd?dpospwd=0' kinkiety_polnoc_on: url: 'http://192.150.1.182/@scd?dpospol=1' kinkiety_polnoc_off: url: 'http://192.150.1.182/@scd?dpospol=0' kinkiety_gora_wchod_poludnie_on: url: 'http://192.150.1.182/@scd?dpospwg=1' kinkiety_gora_wchod_poludnie_off: url: 'http://192.150.1.182/@scd?dpospwg=0' kinkiety_dol_wchod_poludnie_on: url: 'http://192.150.1.182/@scd?dpospwd=1' kinkiety_dol_wchod_poludnie_off: url: 'http://192.150.1.182/@scd?dpospwd=0' kinkiety_zachod_on: url: 'http://192.150.1.182/@scd?dposza=1' kinkiety_zachod_off: url: 'http://192.150.1.182/@scd?dposza=0' script: otwieranie_drzwi_script: sequence: service: rest_command.otwieranie_drzwi refleksol_salon_poludnie_down_script: sequence: service: rest_command.refleksol_salon_poludnie_down refleksol_salon_poludnie_up_script: sequence: service: rest_command.refleksol_salon_poludnie_up refleksol_salon_zachod_down_script: sequence: service: rest_command.refleksol_salon_zachod_down refleksol_salon_zachod_up_script: sequence: service: rest_command.refleksol_salon_zachod_up refleksol_jadalnia_poludnie_down_script: sequence: service: rest_command.refleksol_jadalnia_poludnie_down refleksol_jadalnia_poludnie_up_script: sequence: service: rest_command.refleksol_jadalnia_poludnie_up refleksol_jadalnia_wschod_down_script: sequence: service: rest_command.refleksol_jadalnia_wschod_down refleksol_jadalnia_wschod_up_script: sequence: service: rest_command.refleksol_jadalnia_wschod_up refleksol_kuchnia_down_script: sequence: service: rest_command.refleksol_kuchnia_down refleksol_kuchnia_up_script: sequence: service: rest_command.refleksol_kuchnia_up refleksol_gabinet_down_script: sequence: service: rest_command.refleksol_gabinet_down refleksol_gabinet_up_script: sequence: service: rest_command.refleksol_gabinet_up refleksol_sypialnia_poludnie_down_script: sequence: service: rest_command.refleksol_sypialnia_poludnie_down refleksol_sypialnia_poludnie_up_script: sequence: service: rest_command.refleksol_sypialnia_poludnie_up refleksol_sypialnia_zachod_down_script: sequence: service: rest_command.refleksol_sypialnia_zachod_down refleksol_sypialnia_zachod_up_script: sequence: service: rest_command.refleksol_sypialnia_zachod_up refleksol_pokoj_1_poludnie_down_script: sequence: service: rest_command.refleksol_pokoj_1_poludnie_down refleksol_pokoj_1_poludnie_up_script: sequence: service: rest_command.refleksol_pokoj_1_poludnie_up refleksol_pokoj_1_wschod_down_script: sequence: service: rest_command.refleksol_pokoj_1_wschod_down refleksol_pokoj_1_wschod_up_script: sequence: service: rest_command.refleksol_pokoj_1_wschod_up refleksol_pokoj_2_down_script: sequence: service: rest_command.refleksol_pokoj_2_down refleksol_pokoj_2_up_script: sequence: service: rest_command.refleksol_pokoj_2_up refleksol_garderoba_down_script: sequence: service: rest_command.refleksol_garderoba_down refleksol_garderoba_up_script: sequence: service: rest_command.refleksol_garderoba_up binary_sensor: - platform: rest name: Status elektrozaczepu drzwi wejsciowych resource: http://192.150.1.182/@gcd?drzwi scan_interval: 1 - platform: rest name: Podlewanie sekcja 1 resource: http://192.150.1.182/@gcd?sek1 scan_interval: 1 - platform: rest name: Podlewanie sekcja 2 resource: http://192.150.1.182/@gcd?sek2 scan_interval: 1 - platform: rest name: Podlewanie sekcja 3 resource: http://192.150.1.182/@gcd?sek3 scan_interval: 1 - platform: rest name: Podlewanie sekcja 4 resource: http://192.150.1.182/@gcd?sek4 scan_interval: 1 - platform: rest name: Podlewanie sekcja 5 resource: http://192.150.1.182/@gcd?sek5 scan_interval: 1 - platform: rest name: Podlewanie sekcja 6 resource: http://192.150.1.182/@gcd?sek6 scan_interval: 1 - platform: rest name: Podlewanie sekcja 7 resource: http://192.150.1.182/@gcd?sek7 scan_interval: 1 - platform: rest name: Podlewanie zasilanie 24V resource: http://192.150.1.182/@gcd?zas24 scan_interval: 1 - platform: rest name: Pompa wody presostat resource: http://192.150.1.182/@gcd?stan_pom scan_interval: 1 - platform: rest name: Pompa wody zasilanie resource: http://192.150.1.182/@gcd?pomp_wod scan_interval: 1 - platform: rest name: Halogen od wschodu bin resource: http://192.150.1.182/@gcd?halwsch scan_interval: 1 - platform: rest name: Halogen od poludnia bin resource: http://192.150.1.182/@gcd?halpol scan_interval: 1 - platform: rest name: Halogen od zachodu bin resource: http://192.150.1.182/@gcd?halzach scan_interval: 1 - platform: rest name: Nawilzacz resource: http://192.150.1.182/@gcd?nawilz - platform: rest name: Pompa dolnego zrodla resource: http://192.150.1.182/@gcd?pompadz1 - platform: rest name: Czujnik temperatury zachod resource: http://192.150.1.182/@gcd?roletyz - platform: rest name: Czujnik temperatury poludnie resource: http://192.150.1.182/@gcd?roletyp - platform: rest name: Czujnik temperatury wschod resource: http://192.150.1.182/@gcd?roletyw - platform: threshold name: Slonce od zachodu entity_id: filter.filtr_temperatury_okna_zachodniego_w_salonie upper: 42 hysteresis: 4 - platform: threshold name: Slonce od poludnia entity_id: filter.filtr_temperatury_okna_poludniowego_w_jadalni upper: 42 hysteresis: 4 - platform: threshold name: Slonce od wschodu entity_id: filter.filtr_temperatury_okna_wschodniego_w_kuchni upper: 42 hysteresis: 4 - platform: modbus inputs: - name: Pompka nagrzewnicy obiegu cieplego hub: hub2 slave: 10 address: 5 - name: Silownik bypassu hub: hub2 slave: 10 address: 9 input_number: sciemniacz_salon: name: Ustawienie sciemniacza w salonie min: 35 max: 100 step: 5 sciemniacz_gabinet: name: Ustawienie sciemniacza w gabinecie min: 35 max: 100 step: 5 sciemniacz_kuchnia: name: Ustawienie sciemniacza w kuchni min: 35 max: 100 step: 5 sciemniacz_lazienka: name: Ustawienie sciemniacza w lazience min: 35 max: 100 step: 5 sciemniacz_korytarz: name: Ustawienie sciemniacza w korytarzu min: 35 max: 100 step: 5 sciemniacz_sypialnia: name: Ustawienie sciemniacza w sypialni min: 33 max: 100 step: 5 light: - platform: template lights: oswietlenie_od_polnocy: friendly_name: "Oświetlenie zewnętrzne - kinkiety od północy" value_template: "{{ states('sensor.oswietlenie_od_polnocy')|float > 0 }}" turn_on: service: rest_command.kinkiety_polnoc_on turn_off: service: rest_command.kinkiety_polnoc_off oswietlenie_kinkiety_zachod: friendly_name: "Oświetlenie zewnętrzne - kinkiety od zachodu" value_template: "{{ states('sensor.oswietlenie_kinkiety_zachod')|float > 0 }}" turn_on: service: rest_command.kinkiety_zachod_on turn_off: service: rest_command.kinkiety_zachod_off oswietlenie_kinkiety_gora_wschod_poludnie: friendly_name: "Oświetlenie zewnętrzne - kinkiety góra wschód/południe" value_template: "{{ states('sensor.oswietlenie_kinkiety_gora_wschod_poludnie')|float > 0 }}" turn_on: service: rest_command.kinkiety_gora_wchod_poludnie_on turn_off: service: rest_command.kinkiety_gora_wchod_poludnie_off oswietlenie_kinkiety_dol_wschod_poludnie: friendly_name: "Oświetlenie zewnętrzne - kinkiety na dole wschód/południe" value_template: "{{ states('sensor.oswietlenie_kinkiety_dol_wschod_poludnie')|float > 0 }}" turn_on: service: rest_command.kinkiety_dol_wchod_poludnie_on turn_off: service: rest_command.kinkiety_dol_wchod_poludnie_off halogen_od_poludnia: friendly_name: "Oświetlenie zewnętrzne - halogen od południa" value_template: "{{ states('sensor.halogen_od_poludnia')|float > 0 }}" turn_on: service: rest_command.halpolon turn_off: service: rest_command.halpoloff halogen_od_wschodu: friendly_name: "Oświetlenie zewnętrzne - halogen od wschodu" value_template: "{{ states('sensor.halogen_od_wschodu')|float > 0 }}" turn_on: service: rest_command.halwschon turn_off: service: rest_command.halwschoff halogen_od_zachodu: friendly_name: "Oświetlenie zewnętrzne - halogen od zachodu" value_template: "{{ states('sensor.halogen_od_zachodu')|float > 0 }}" turn_on: service: rest_command.halzachon turn_off: service: rest_command.halzachoff