A Home Assistantban az ilyen feladatokat „Logic Gate” (logikai kapu) típusú automatizálással oldjuk meg. A legegyszerűbb, ha egy condition (feltétel) blokkot használunk, ami megnézi a szenzorok állapotát, mielőtt a klíma elindulna.
Itt van az automatizálás logikai felépítése (YAML formátumban), amit könnyedén kiegészíthetsz a saját entitásneveiddel:
YAML
alias: "Klíma biztonsági indítás"
description: "Klíma indítása csak akkor, ha az ablak zárva és a tartály üres."
trigger:
- platform: state
entity_id: input_boolean.klima_inditasi_keres # Ide tegyél egy kapcsolót/gombot, amivel indítanád
to: "on"
action:
- choose:
# 1. Feltétel: Ablak nyitva van-e?
- conditions:
- condition: state
entity_id: binary_sensor.ablak_szenzor # CSERÉLD KI
state: "on" # (nyitott állapot)
sequence:
- service: notify.mobile_app_telefonod # CSERÉLD KI
data:
message: "Az ablak nyitva van, a klíma nem indul el!"
# 2. Feltétel: Tartály megtelt-e?
- conditions:
- condition: state
entity_id: binary_sensor.kondenz_tartaly_szenzor # CSERÉLD KI
state: "on" # (ha a szenzor "tele" jelet küld)
sequence:
- service: notify.mobile_app_telefonod # CSERÉLD KI
data:
message: "A kondenzvíz tartály megtelt! Kérlek ürítsd ki, mielőtt bekapcsolnám."
# Ha minden rendben, indítsa el a klímát
default:
- service: climate.turn_on
target:
entity_id: climate.nippon_klima_egyedi # A te klímád
- service: climate.set_hvac_mode
target:
entity_id: climate.nippon_klima_egyedi
data:
hvac_mode: cool
Néhány szakmai tipp az „elbűvészkedéshez”:
- A
chooselogika: Ez az automatizálás „intelligens” útelágazásokat használ. Achooseblokk sorban ellenőrzi a feltételeket. Ha az ablak nyitva, küld egy értesítést, és megáll (nem megy tovább adefaultrészhez). Ezért nem fogja elindítani a klímát, amíg a feltétel hamis. binary_sensorvssensor: Ha a tartályod nem bináris szenzor (tehát nem csak „tele/üres” értéket küld, hanem mondjuk egy számot: „95%”), akkor astate: "on"helyettcondition: numeric_statekell majd használnod, például:YAMLcondition: numeric_state entity_id: sensor.tartaly_szint above: 90- Visszajelzés: Érdemes az indító kapcsolót (ami a
triggerrészben van) az akció végén automatikusan kikapcsolni (input_boolean.turn_off), hogy legközelebb újra tudd indítani.
Ezzel a vázzal már fel tudod építeni a saját, teljesen testreszabott vezérlésedet.
Az „Éjszakai mód” eléréséhez a Home Assistantban a climate.set_fan_mode és a climate.set_temperature szolgáltatásokat kell használnod egy automatizáláson belül.
Mivel már SmartIR entitásod van (pl. climate.nippon_klima_egyedi), ezek a szolgáltatások közvetlenül vezérlik a klímádat a 1200.json (vagy 2380.json) fájlodban megadott parancskészlet alapján.
Hogyan éred el az üzemmódokat?
Az üzemmódokat az automatizálás „Action” (Művelet) részében kell beállítani. A klímád esetében három dolgot kell vezérelned:
- HVAC mód: (Hűtés/Fűtés/Off)
- Ventilátor sebesség (Fan mode): (Low/Medium/High/Auto)
- Hőmérséklet: (Beállított fokszám)
Így építsd fel az Éjszakai mód automatizálását:
A Home Assistantban az automatizálásod a következőképpen fog kinézni YAML kódban (ezt beillesztheted az automations.yaml fájlodba vagy a GUI-ban is összekattinthatod):
YAML
alias: "Klíma éjszakai mód 22:00-kor"
trigger:
- platform: time
at: "22:00:00"
condition: [] # Ide tehetsz feltételt, pl. "csak ha nyár van"
action:
- service: climate.set_hvac_mode
target:
entity_id: climate.nippon_klima_egyedi
data:
hvac_mode: cool
- service: climate.set_fan_mode
target:
entity_id: climate.nippon_klima_egyedi
data:
fan_mode: low
- service: climate.set_temperature
target:
entity_id: climate.nippon_klima_egyedi
data:
temperature: 24
Milyen módok állnak rendelkezésedre?
Ahhoz, hogy tudd, pontosan milyen értékeket (pl. low, quiet, silent) írhatsz be a fan_mode mezőbe, meg kell nézned a saját JSON fájlodat (pl. 2380.json vagy 1200.json), amit beállítottál.
- Nyisd meg a
/config/custom_components/smartir/codes/climate/mappában a használt fájlodat. - Keresd meg a
fanModesszakaszt. Valahogy így néz ki:JSON"fanModes": [ "auto", "low", "medium", "high" ] - Amit a
fanModeslistában látsz, azokat az értékeket tudod használni az automatizálásban. Ha ott az áll, hogy „quiet”, akkor ne „low”-t írj be, hanem „quiet”-et.
Hogyan válts „Üzemmódok” között (Cool/Heat)?
Ha nem csak hűtést, hanem fűtést is szeretnél (pl. szezonális váltás), akkor a hvac_mode mezőt kell változtatnod. A SmartIR entitásod a következő módokat támogatja, amiket az operationModes részben találsz meg a JSON fájlodban:
cool(Hűtés)heat(Fűtés)dry(Párátlanítás)fan_only(Ventilátor mód)off(Kikapcsolás)
Tipp: A „Felfedezés” módszer
Ha bizonytalan vagy, hogy az entitásod éppen milyen módokat tud, használd a Fejlesztői eszközök (Developer Tools) -> Állapotok (States) menüt:
- Keresd meg a
climate.nippon_klima_egyedientitást. - A listában a
fan_modesés ahvac_modestulajdonságoknál (attributes) a Home Assistant listázza neked az összes elérhető opciót, amit a klímád a jelenlegi kódfájllal tud.
Ezeket a pontos neveket másold át az automatizálásaidba, és sosem fogsz hibát véteni! Így már tisztább a kép, hogyan érd el a különböző fokozatokat?
ovzglxemlzdfqryxtdnoofgglnntuk
Joining bmw88club felt like walking into a friendly neighborhood lounge rather than a cold server room. The community events are creative and the staff treats everyone with genuine respect. I have found my regular spot for weekend entertainment here. Check it out at bmw88club
Just started exploring this place and I am really impressed with how smooth everything runs on my phone. The games load fast and the support team is super helpful whenever I have a question. Highly recommend checking it out if you want a reliable gaming experience. 25phdream
Rummy lovers will absolutely enjoy the tournament structure and the daily matches here. The game logic is fair and I never noticed any lag during critical turns. Customer support helped me settle a quick question about tournament rules within minutes. A fantastic platform for anyone who wants serious rummy action with reliable payouts. rummyglee51
The variety of options here is just insane. I love how everything loads so quickly without any lag. Give brwinxx a try if you want a reliable platform.
The VIP bonuses here are actually worth it. I felt the difference in rewards compared to other sites. Give 25phwinvip a try if you want better perks.
I love how I can bet anytime and anywhere. The 24/7 availability is perfect for my schedule and the odds are quite competitive. kr247bet
You know those rare sites that just click from day one? This is exactly that kind of experience for me. The registration was a breeze and I was spinning within minutes. What I appreciate most is how transparent they are with their rules and payout schedules. It feels safe and genuinely entertaining without any hidden tricks up their sleeves. vn1xbet66
If you are looking for a variety of slots, jiliibet is where it’s at. I love how they keep updating the game library. It keeps things fresh and exciting every time I log in.
I love how easy it is to navigate the site. It makes the whole experience much more enjoyable. Check out phkilig22login.
Finally found a site where the bonuses actually feel fair. Had a great run on the slots last night! Definitely checking out ug234slot again this weekend.
Solid platform with a lot of excitement. I appreciate the frequent updates and new game additions. Check vnnohu777
Top notch service and the games are super addictive. I finally found a platform that actually works without lagging. bd777jili is the way to go.
Best casino experience I’ve had in a long time. The promotions are generous and the login process is secure. I really enjoy spending time at peso999casinologin.
Finally found a reliable source for the app. The installation was a breeze and it runs perfectly on my phone without any lag. Thanks for providing a safe way to get yoswinappdownload. yoswinappdownload
Very impressed with the overall layout and the mobile compatibility. I can play anywhere without any glitches. Definitely give vnd88web a try if you are on the move.
Simple, clean, and effective. I love that I can get straight to the action without any annoying pop ups. seven777login is the way to go.
Finally found a smooth way to get the app. The installation was super quick and everything works perfectly on my phone. Highly recommend j77gamedownload for anyone looking for a hassle-free setup!
Really impressed with the user interface. Everything is so easy to find and the loading speed is top notch. Love phaaajili7!
Finally found a platform that actually delivers on its promises. The game variety is impressive and I had no issues with my registration. Check out idmuliajitu