Mivel fix IP-címet használunk, a rendszer villámgyorsan fog csatlakozni, és elkerüljük az esetleges mDNS (névfeloldási) hibákat.
Íme a véglegesített, NYÁK-ra kész YAML konfiguráció:
YAML
esphome:
name: haloszoba-vezerles
friendly_name: Hálószoba vezérlés
esp32:
board: esp32-c3-devkitm-1
variant: esp32c3
framework:
type: esp-idf
sdkconfig_options:
CONFIG_WPA3_SAE: "n"
wifi:
networks:
- ssid: "XXXXXX"
password: "XXXXXXX"
# FIX IP cím beállítása a gyors és stabil költözéshez
manual_ip:
static_ip: 192.168.1.153 # Ez legyen az eddig használt bevált címed
gateway: 192.168.1.1
subnet: 255.255.255.0
fast_connect: true
power_save_mode: NONE
reboot_timeout: 0s
captive_portal:
api:
reboot_timeout: 0s
ota:
- platform: esphome
logger:
level: DEBUG
web_server:
port: 80
# --- Hardveres perifériák ---
i2c:
sda: GPIO6
scl: GPIO7
scan: true
frequency: 50kHz
switch:
- platform: gpio
pin: GPIO4
name: "Háló Riasztó LED"
id: alert_led
sensor:
- platform: wifi_signal
name: "Wi-Fi Jelerősség"
update_interval: 60s
- platform: uptime
name: "Háló Vezérlő Üzemidő"
# BH1750 Fényérzékelő
- platform: bh1750
name: "Hálószoba Fényerő"
address: 0x23
update_interval: 5s
filters:
- sliding_window_moving_average:
window_size: 10
send_every: 1
unit_of_measurement: "lx"
# NTC Hőmérséklet mérés a GPIO2-n
- platform: adc
pin: GPIO2
id: ntc_voltage
attenuation: 11db
update_interval: 10s
- platform: resistance
sensor: ntc_voltage
id: ntc_resistance
configuration: DOWNSTREAM
resistor: 5.0kOhm
reference_voltage: 3.3V
- platform: ntc
sensor: ntc_resistance
name: "Hálószoba Hőmérséklet"
calibration:
- 10.0kOhm -> 25°C
- 4.1kOhm -> 45°C
- 25.0kOhm -> 5°C
filters:
- sliding_window_moving_average:
window_size: 15
send_every: 1
binary_sensor:
- platform: gpio
pin:
number: GPIO3
mode: INPUT_PULLUP
inverted: true
name: "Hálószoba Vízszint Riasztás"
device_class: moisture
id: water_level
on_press:
- while:
condition:
binary_sensor.is_on: water_level
then:
- switch.turn_on: alert_led
- delay: 200ms
- switch.turn_off: alert_led
- delay: 200ms
on_release:
- switch.turn_off: alert_led
Néhány záró tanács a forrasztáshoz és beüzemeléshez:
- Az első flashelés: Mivel a név
teszt-vezerlo-rőlhaloszoba-vezerles-re változott, az ESPHome új eszközként fogja kezelni. Az első feltöltést mindenképp USB kábelen végezd el, hogy a partíciós tábla és az mDNS bejegyzés is tisztán frissüljön. - Home Assistant takarítás: Miután az új kód fent van, a Home Assistant jelezni fogja az új eszközt. A régi „Teszt Vezérlő” integrációt töröld ki a Beállítások -> Eszközök menüpont alatt, hogy ne maradjanak árva entitások.
- Mechanikai védelem: Mivel a hálószobába kerül, érdemes a LED-et egy olyan helyre pozicionálni a NYÁK-on (vagy dobozon), ahol jól látható, de nem vakít éjszaka.
Honestly one of the most entertaining platforms I have tried lately. The game variety is impressive and the interface is very user friendly. Highly recommend you777game to everyone.
The bonuses here are actually worth it. I managed to hit a decent win last night using the welcome credit. 90jiliclublogin
Everything about this site feels professional and secure. I feel safe depositing my funds and the gaming experience is just wonderful. Big thumbs up for idlancar138!
Finally found a stable link to get the app. The installation was super smooth and the interface is very user-friendly. Highly recommend checking out gperyadownloadapp for a better experience.
Finally a platform that keeps things simple and straightforward. I enjoy how the dashboard stays organized and the game categories are easy to navigate. Great for both casual weekends and more serious sessions. Drop by and see what you think juegosdecacino
The app version is just perfect. I can play anywhere and the rewards keep coming in. Download jiligemsapp and see for yourself.
Fast access and no annoying pop-ups. It makes the whole gaming experience so much more enjoyable. Just use the piala88login and you are good to go.
I’ve been trying a few different sites lately and this one really stands out. The interface is smooth and the payouts are surprisingly fast. Definitely recommend checking out lottusbet if you want a reliable spot.
The login process is seamless and I never have any issues with my account access. It is refreshing to find a site that actually works properly. Visit phpcomelogin for a hassle-free experience.
The login process is super quick and the bonuses for new members are actually worth it. Love the vibe here at jilibet020login