This commit is contained in:
2026-03-26 12:10:21 +01:00
parent 1f4970c17c
commit d4d76db890
877 changed files with 631941 additions and 26195 deletions

View File

@@ -1,61 +1,7 @@
packages:
api: !include connection/api.yaml
ota: !include connection/ota.yaml
wifi: !include connection/wifi.yaml
sensor: !include connection/wifi-sensor.yaml
# Enable Home Assistant API
api:
encryption:
key: ${api_password}
ota:
- platform: esphome
id: my_ota
password: ${ota_password}
wifi:
networks:
- ssid: ${wifi_ssid}
password: ${wifi_password}
manual_ip:
static_ip: ${ip}
gateway: ${gateway}
subnet: ${subnet}
dns1: 192.169.2.15
dns2: 1.1.1.1
- ssid: ${wifi_ssid2}
password: ${wifi_password2}
#use_address: 192.168.2.235 #when changing fixed IP
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: ${device_name}
password: ${wifi_password}
captive_portal:
sensor:
- platform: wifi_signal
name: "WiFi Signal "
update_interval: 10s
text_sensor:
- platform: wifi_info
ip_address:
name: IP Address
icon: mdi:wifi-strength-2
id: ipaddr
ssid:
name: "Connected SSID"
id: ssid
icon: mdi:wifi-strength-2
entity_category: diagnostic
bssid:
name: "Connected BSSID"
id: bssid
icon: mdi:wifi-strength-2
entity_category: diagnostic
mac_address:
name: "WiFi Mac Address"
id: macaddress
icon: mdi:wifi-strength-2
entity_category: diagnostic
captive_portal: