A rendszer alapja, hogy a telefon (iPhone/Android) fogadja a beszédet, de a logika és a válasz központilag, a Home Assistant YAML fájljaiban van meghatározva.
1. A felismerés (Mondatok)
Helye: /config/custom_sentences/hu/vezerles.yaml Ez a fájl tanĂtja meg a gĂ©pnek, hogy mit kell Ă©rtenie.
YAML
language: "hu"
intents:
GetTemperatureIntent:
data:
- sentences:
- "hány fok van a hálószobában"
TurnOnTVIntent:
data:
- sentences:
- "kapcsold be a tv-t"
- "kapcsold be a tévét"
2. A végrehajtás és válasz (Intents)
Helye: /config/intents.yaml Ez a rész felel azért, hogy mi történjen (kapcsolás/lekérdezés) és hol szólaljon meg a válasz.
YAML
# Hőmérséklet lekérdezése
GetTemperatureIntent:
speech:
text: "Már mondom is az előszobában."
action:
- service: tts.google_translate_say
data:
entity_id: media_player.okos_hangszoro_eloszoba_hangszoro
language: "hu"
message: >
{% set temp = states('sensor.teszt_vezerlo_teszt_homerseklet') | float(None) %}
A hálószobában {{ temp | round(1) }} fok van.
# TV bekapcsolása
TurnOnTVIntent:
speech:
text: "Rendben, bekapcsolom a tévét."
action:
- service: media_player.turn_on
target:
entity_id: media_player.A_TE_TV_ID_JE
- service: tts.google_translate_say
data:
entity_id: media_player.okos_hangszoro_eloszoba_hangszoro
language: "hu"
message: "A tévét bekapcsoltam!"
💡 Hogyan működik a folyamat?
- Diktálás: Beleszólsz a telefonba magyarul.
- Feldolgozás: A Home Assistant felismeri a szándékot (Intent).
- Művelet: A HA lekéri a szenzoradatot vagy elküldi a bekapcsoló parancsot a TV-nek.
- Visszacsatolás: * A telefonodon megjelenik egy rövid nyugtázó szöveg.
- Az elĹ‘szobai okos hangszĂłrĂłd pedig (a TTS segĂtsĂ©gĂ©vel) Ă©lĹ‘szĂłban, magyarul bemondja az eredmĂ©nyt.
Ezzel a módszerrel most már bármilyen új eszközt (lámpát, kaput, redőnyt) könnyedén hozzá tudsz adni a rendszerhez!
Been a regular for almost a year now and things just keep getting better. The game lobby is organized perfectly and finding new titles is actually fun. Withdrawals always go through without any drama. Really glad I stuck with this community. cl88game
Getting started on this platform was super easy and I loved how straightforward the dashboard looks. The daily bonuses really add up and I appreciate that the games feel fair every single time I spin. It has quickly become my go to spot for weekend entertainment and I keep coming back for more fun. 18clubslotlogin
I have been playing around here for a few weeks and the withdrawal process is actually smooth. The mobile interface loads fast even on slow connections. I really appreciate how quick the customer support team responds to my questions. Highly recommend checking out rushbetapp
Finally found a platform that doesn’t lag during the big wins. The interface is super smooth and easy to navigate. Highly recommend checking out phslotphp if you want a hassle-free experience.
I love how stable the connection is. No lagging even during peak hours which is rare for these kinds of sites. aajililogin is my new go-to spot for gaming.
I’ve been trying a few sites lately but this one is definitely the smoothest. The login process is fast and I didn’t hit any glitches. Highly recommend je7777login for anyone looking for a stable experience.
The odds here are actually decent compared to other sites I have used. The payout process is quick and transparent too. Definitely trust bd17777bet for your bets.
Solid platform with a lot of trust. I appreciate the transparency and the wide range of betting options available. I’ll be sticking with phwinph6.
The variety of games here is impressive. I spend hours exploring different slots and they all work flawlessly. Big thanks to vnbancanohu
Really impressed with the user interface. Everything is so easy to find and the loading speed is top notch. Love phaaajili7!
Searching for a decent site can be a pain but this one is a breath of fresh air. Everything just works as it should. Keep it up f16878com.
The app is super stable and way more convenient than using a browser. Everything is just a click away with taya7774apk.